Samba and ASYNC i/o...

Discussion in 'Cisco/Linksys Network Storage Devices' started by gusotto, Oct 24, 2009.

  1. gusotto

    gusotto Addicted to LI Member

    I just download jac4 based on the current firmware and compiled it nicely...
    But on snooping around Samba, I looked at the default smb.conf files under the mipsel/target and none of the files have the asyncrhonous IO turned on..

    I do not have the jac4 installed, can someone with it
    do a test on enabling async io, add these lines to the global part of your smb.conf :

    aio read size = 1
    aio write size =1

    and restart samba...

    This I think would improve performance... :)

  2. gusotto

    gusotto Addicted to LI Member

    last famous words... to put the matter to rest, the nas200 wont go past 5mb/s throughput. I recompiled Samba with -O3 and Async IO and it would not budge...
    Taken the premise that Samba has to give a comparable perfomance to FTP (as mentioned in some books/notes) I could not get bftpd to go past 5mb/s on ftp (also recompiled with -03)

    So, there are 3 possible bottlenecks, Disk, network or CPU.
    As mentioned in other posts before, looks like the CPU is the bottleneck.
    On the Samba O'reily book, they mention on some comparisons that a pentium 133 would go around 5.6 MB per sec, so looks like this is it...

    The only way to change this is to get the native compiler for the RDC R3210-G or move to "most popular 32 bit RTOS" as mentioned in their specs...

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice