samba performance on uclinux embedded system

David Collier-Brown -- Customer Engineering David.Collier-Brown at Sun.COM
Mon Apr 14 15:49:32 GMT 2003


hong joy wrote:
> Hello,
> Did anyone do some work on improving the samba
> read/write performance?
> We've got a board attached with an IDE hadisk, running
> samba 2.0.7 on uClinux(NOMMU) OS, the IDE throughput:
> 10.5Mbps,ethernet speed: 16Mbps,Samba throughput(copy
> file from WINDOWS PC to host board ): 600KByte/s,CPU
> working at 120MHz, system SDRAM 16Mbyte.
> Could anyone help to figure out where the bottleneck
> is and how to tune it?
> Thanks a lot!
> Happy hacking...

  Even assuming a 10,000-rpm disk, you'll bottleneck on
disk I/O: a single disk head with the normal Unix
elevator algorithm (ext2 or 3 fs) will peak out at
about 800 KB/S, because the total sequential-read
throughput can't be acheived, courtesy of all the
seeking about.  I'd reccomend about a 6-wide stripe
or better.

--dave



> 
> hn
> 
> 
> _________________________________________________________
> Do You Yahoo!? 
> ÑÅ»¢Í¨ÍøÂçKTV, ËæʱËæµØÃâ·Ñ¿¨À­OK~~
> http://rd.yahoo.com/mail_cn/tag/?http://cn.messenger.yahoo.com//chat/index.html
> 


-- 
David Collier-Brown,           | Always do right. This will gratify
Sun Microsystems DCMO          | some people and astonish the rest.
Toronto, Ontario               |
(905) 415-2849 or x52849       | davecb at canada.sun.com




More information about the samba-technical mailing list