Page 4 of 4 FirstFirst ... 234
Results 31 to 35 of 35

Thread: Very poor Samba/CIFS performance :(

  1. #31
    Join Date
    Apr 2009
    Beans
    60
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Very poor Samba/CIFS performance :(

    Quote Originally Posted by LordNodens View Post
    Using CIFSMaxBufSize=130048 and directio/rsize=130048 options did help in some cases. For example if I try to extract a MKV with MakeMKV the speed rises to 60MB/sec. But if I try to copy a file from Nautilus speed remains at 8-10 MB/sec. That's strange.
    Hi, how do you set CIFSMaxBufSize=130048?
    I created cifs.conf with this in /etc/modprobe.d/
    rebooted
    when I do mount -t cifs .... -o ... ,rsize=130048
    and then cat /proc/mounts
    I still see rsize of 16384

    //update ok, i found syntaxis mistake, should be
    options cifs CIFSMaxBufSize=130048
    Last edited by solnyshok; July 9th, 2011 at 08:31 AM.

  2. #32
    Join Date
    Apr 2011
    Location
    Greece
    Beans
    23
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Very poor Samba/CIFS performance :(

    This is what I use for mounting in fstab:

    //.../... /.../... cifs directio,rsize=130048,guest,uid=1000,iocharset=utf 8,codepage=unicode,unicode 0 0


    Then I created a file named cifs.conf in /etc/modprobe.d/ which has the following: options cifs CIFSMaxBufSize=130048

  3. #33
    Join Date
    Feb 2005
    Location
    Melbourne, Australia
    Beans
    13,452
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Very poor Samba/CIFS performance :(

    Quote Originally Posted by LordNodens View Post
    ...........
    Then I created a file named cifs.conf in /etc/modprobe.d/ which has the following: options cifs CIFSMaxBufSize=130048
    This also improved the performance on shares on my 10.04 system from < 500 Kb/s to > 15 Mb/s.
    Regards, David.
    Please use the Forum search and Wiki search for immediate help
    Please mark your thread as Solved when appropriate.
    New to technical forums?: How To Ask Questions The Smart Way

  4. #34
    Join Date
    Apr 2008
    Beans
    450
    Distro
    Kubuntu 10.04 Lucid Lynx

    Re: Very poor Samba/CIFS performance :(

    I did some testing with cifs in precise, and I noticed cifs performance is considerably better than it was in lucid.

    some TR benchmarks from a dm-raid share into /dev/null - tested without MAXBUFSIZE:

    60 MB/s using mc and a cifs mountpoint
    70 MB/s using cp and a cifs mountpoint
    45 MB/s using Nautilus and a cifs mountpoint
    30 MB/s using Nautilus with its own samba client implementation

    Nautilus still needs some improvement, I have yet to check how dolphin is handling things with the smb// protocol.

    But let's assume they finally fixed cifs issues from one LTS to the other.

  5. #35
    Join Date
    Aug 2009
    Location
    United States
    Beans
    150
    Distro
    Ubuntu Development Release

    Re: Very poor Samba/CIFS performance :(


Page 4 of 4 FirstFirst ... 234

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •