[linux-cifs-client] cifs performance on linux 2.4 ?

Steven Scholz steven.scholz at imc-berlin.de
Wed Aug 23 11:53:07 GMT 2006


Hi,

I just tried the very, very old cifs-1.20c-2.4.tar.gz on an embedded ppc_8xx
board with linux-2.4.20 running at 80MHz. After mounting a Windows XP share
using

mount -t cifs //10.0.2.10/test /mnt/cifs -o user=scholz,unc=//10.0.2.10/test

the famous Bonnie benchmark showed:

~ # bonnie -d /mnt/cifs -s 100
Bonnie 1.4: File '/mnt/cifs/Bonnie.173', size: 104857600, Chunck: 4096
Writing with putc()...         done:     40 kB/s   6.7 %CPU
Rewriting...                   done:     41 kB/s   3.0 %CPU
Writing intelligently...       done:     42 kB/s   1.5 %CPU
Reading with getc()...         done:     74 kB/s  13.1 %CPU
Reading intelligently...       done:     82 kB/s   3.3 %CPU

I would expect it to be slow (compared with big x86 computers). But 40kB/s
seems to be ridiculous! The ethernet of the MPC8xx cpu should be capable of
30Mbps.

For comparison the results of an ARM9 based board run linux-2.6.14 at 160MHz:
Writing with putc()...         done:    746 kB/s  80.1 %CPU
Rewriting...                   done:   2264 kB/s  19.6 %CPU
Writing intelligently...       done:   2505 kB/s  21.4 %CPU
Reading with getc()...         done:    873 kB/s  86.6 %CPU
Reading intelligently...       done:   4852 kB/s  25.3 %CPU

Any idea what could be the problem? Is there any improvement possible with
using the new backported stuff from SVN?

Thanks!

-- 
Steven



More information about the linux-cifs-client mailing list