Page 1 of 2 12 LastLast
Results 1 to 10 of 19

Thread: 11.4 slow CIFS reading

  1. #1

    Default 11.4 slow CIFS reading

    Hi all.

    1. 11.4 x64.
    2. Solaris SMB server.
    3. Gigabit LAN
    4. mounted shares from that server (fstab entries)

    write speed: 80-90-100 MB/s
    read speed extremely slow: 3-4-5 MB/s (really funny - our administrator shoked, but i'm not fun, i need fast lan for work)

    But when i reboot to windows 7 - i have 60-70-80 MB/s in both directions. Read and Write - nice.

    What happened? kernel updated and all last updates is applied (exclude kopete-because i use old kopete with animated tray icon).

    I have to tried many tunes like: "noatime" "directio" and also in /etc/modprobe.d - put conf file with:
    options cifs CIFSMaxBufSize=130048

    speed is up to 12-13 MB/sec but anyway .. That is not 100-80 MB/sec..

    Help! I need work with graphics! Is many gigs of large files there ! ))
    thanks for attention
    The mouse click's skills is not a most important skills in our short life

  2. #2

    Default Re: 11.4 slow CIFS reading

    hm.
    nobody?

    i have seen same thing here:

    SAMBA -- Slow performance with cifs client

    what ideas ?
    my fstab:
    //server/project /server/project cifs credentials=/root/.smbcred,file_mode=0777,dir_mode=0777 0 0

    kernel:


    rpm -qa|grep kernel
    kernel-desktop-2.6.37.1-1.2.2.x86_64
    kernel-desktop-devel-2.6.37.1-1.2.2.x86_64
    kernel-source-2.6.37.1-1.2.2.noarch
    kernel-devel-2.6.37.1-1.2.2.noarch

    cifs
    rpm -qa|grep cifs
    cifs-utils-4.6-3.6.1.x86_64

    write speed to share = 100 MB/s
    read speed from share = 6 MB/s

    after reboot to windows = 80 MB/s ot both directions.
    What wrong with cifs ? This is a kernel problem ?
    The mouse click's skills is not a most important skills in our short life

  3. #3

    Default Re: 11.4 slow CIFS reading

    i try to update cifs-utils and samba-client:

    rpm -qa|grep cifs
    cifs-utils-4.9-8.1.x86_64
    rpm -qa|grep samba
    yast2-samba-client-2.20.2-3.1.noarch
    samba-client-3.5.8-2.5.x86_64
    samba-client-32bit-3.5.7-1.17.1.x86_64
    yast2-samba-server-2.20.2-3.1.noarch

    result is same.
    The mouse click's skills is not a most important skills in our short life

  4. #4

    Default Re: 11.4 slow CIFS reading

    ... and some fantastik screenshots about linux advantages in 2011:

    Copying from disk->to disk:



    copying file (openSUSE 11.4 DVD iso image) From openSUSE 11.4 box to Server (cifs share):


    getting same file from server to local:


    same file with NFS:
    http://i.imgur.com/917ki.jpg

    i think this can help and i very hope to some feedback
    The mouse click's skills is not a most important skills in our short life

  5. #5

    Default Re: 11.4 slow CIFS reading

    some test with smbclient:

    smb: \test_****\> get openSUSE-11.4-DVD-x86_64.iso /home/roman/ttt.iso
    getting file \test_****\openSUSE-11.4-DVD-x86_64.iso of size 4614782976 as /home/roman/ttt.iso (71025.3 KiloBytes/sec) (average 71025.3 KiloBytes/sec)

    smbclient work with 70 MB/sec speed.
    What problem with cifs ? How can i get that speed on cifs ?
    The mouse click's skills is not a most important skills in our short life

  6. #6

    Default Re: 11.4 slow CIFS reading

    update kernel to 2.6.37.6-0.5-desktop - don't solve problem.

    Why no any answers? This is look like real bug. How i can solve that ? i need work with a good lan, but i have really slow reading speed
    The mouse click's skills is not a most important skills in our short life

  7. #7
    Join Date
    Nov 2009
    Location
    ND, USA
    Posts
    1,131

    Default Re: 11.4 slow CIFS reading

    On Tue June 7 2011 07:36 am, live fx wrote:

    >
    > update kernel to 2.6.37.6-0.5-desktop - don't solve problem.
    >
    > Why no any answers? This is look like real bug. How i can solve that ?
    > i need work with a good lan, but i have really slow reading speed
    >
    >

    live fx;

    Have you tried a network capture with something like WireShark to compare the
    CIFS mount with smbclient and Windows 7?
    --
    P. V.
    "We're all in this together, I'm pulling for you." Red Green

  8. #8

    Default Re: 11.4 slow CIFS reading

    Have you tried a network capture with something like WireShark to compare the
    CIFS mount with smbclient and Windows 7?
    No, i have not try that. But what can i see in wireshark traffic ? I see the logic -

    1. when i reboot to windows - files transfer ok in both directions
    2. windows 7 on another computers work with server nice
    3. NFS mount from my Linux work nice (but i don't use it because wrong security settings on server-side) - (this is about LAN device driver - looks like all ok with driver)
    4. smbclient files transfer between my computer and Server - work nice (and this again is about LAN device driver - all ok with driver)
    5. CIFS mount - writing - excellent speed.
    6. CIFS mount - reading - is ugly slow.

    All this things looks like cifs.ko module, or something wrong in kernel.
    i have updated kernels and cifs-utils and smbclient rpm-s, but all results is the same.

    1. What can i do with sniffer like wireshark ? (of course - i'm on work, and i can tune linux not all time) - what i can to see in TCP headers ? How can i use it ?
    2. Primary question: How can i mount share with smbclient ? This is possible ? I have not SMBFS fs support in system.
    3. How can i mount this share ? (NFS is wrong way - i can't change server security parms, and i don't want start debating about that)

    I feel myself very strange, because in 2011 year, i need analyze old as s**t CIFS protocol, instead of just working with graphics as all others. This is a time killing. And our Server is not windows server - but Solaris. All systems - windows 7, XP and OSX work nice with it. Only linux is killing time for tuning and recompiling, instead of just work. As always.

    ====
    venzkep, sorry, but what i need to catch from traffic? And where i can find guide with....With steps about analyze CIFS protocol problems using wireshark?
    The mouse click's skills is not a most important skills in our short life

  9. #9
    Join Date
    Nov 2009
    Location
    ND, USA
    Posts
    1,131

    Default Re: 11.4 slow CIFS reading

    On Wed June 8 2011 12:06 am, live fx wrote:

    >
    >> Have you tried a network capture with something like WireShark to
    >> compare the
    >> CIFS mount with smbclient and Windows 7?

    >
    > No, i have not try that. But what can i see in wireshark traffic ? I
    > see the logic -
    >
    > 1. when i reboot to windows - files transfer ok in both directions
    > 2. windows 7 on another computers work with server nice
    > 3. NFS mount from my Linux work nice (but i don't use it because wrong
    > security settings on server-side) - (this is about LAN device driver -
    > looks like all ok with driver)
    > 4. smbclient files transfer between my computer and Server - work nice
    > (and this again is about LAN device driver - all ok with driver)
    > 5. CIFS mount - writing - excellent speed.
    > 6. CIFS mount - reading - is ugly slow.
    >
    > All this things looks like cifs.ko module, or something wrong in
    > kernel.
    > i have updated kernels and cifs-utils and smbclient rpm-s, but all
    > results is the same.
    >
    > 1. What can i do with sniffer like wireshark ? (of course - i'm on
    > work, and i can tune linux not all time) - what i can to see in TCP
    > headers ? How can i use it ?
    > 2. Primary question: How can i mount share with smbclient ? This is
    > possible ? I have not SMBFS fs support in system.
    > 3. How can i mount this share ? (NFS is wrong way - i can't change
    > server security parms, and i don't want start debating about that)
    >
    > I feel myself very strange, because in 2011 year, i need analyze old as
    > s**t CIFS protocol, instead of just working with graphics as all others.
    > This is a time killing. And our Server is not windows server - but
    > Solaris. All systems - windows 7, XP and OSX work nice with it. Only
    > linux is killing time for tuning and recompiling, instead of just work.
    > As always.
    >
    > ====
    > *venzkep*, sorry, but what i need to catch from traffic? And where i
    > can find guide with....With steps about analyze CIFS protocol problems
    > using wireshark?
    >

    live fx;

    I'm not sure just what you'll find. Smaller frames? Resent packets? Un
    needed traffic? Something is different between the different methods. What
    happens in a browser if you use:
    Code:
    smb://<servername>/<sharename>
    --
    P. V.
    "We're all in this together, I'm pulling for you." Red Green

  10. #10
    Join Date
    Dec 2009
    Location
    Moldova
    Posts
    130

    Default Re: 11.4 slow CIFS reading

    I had in the past (not with 11.4) similar problem with realtek net device and it was solved with updating drivers for it from their offcial site.

Page 1 of 2 12 LastLast

Posting Permissions

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