Re: [Samba] Tuning the performance of Samba over LAN network to improve I/O performance

2009-08-09 Thread Rob Shinn
On Wed, Aug 05, 2009 at 05:46:19PM -0700, Jeremy Allison wrote: On Wed, Aug 05, 2009 at 07:34:51PM -0500, Himanshu Thapar wrote: Thank youOkay..can you explain how can I go about with hdparm or guide me to an appropriate link. Also how will this help me in diagnosing the current

Re: [Samba] Tuning the performance of Samba over LAN network to improve I/O performance

2009-08-06 Thread Helmut Hullen
Hallo, Himanshu, Du meintest am 05.08.09: The approximate average numbers I am getting over LAN are: Write: around 23Mbits/sec Read: around 33Mbits/sec Try netio for checking the possible transfer rate: http://arktur.de/Wiki/Zusatzprogramme:netio Viele Gruesse! Helmut -- To

Re: [Samba] Tuning the performance of Samba over LAN network to improve I/O performance

2009-08-06 Thread Helmut Hullen
Hallo, Jeremy, Du meintest am 05.08.09: For the numbers I am gettingWriting averages around 23Mbytes/sec and Reading averages around 33Mbytes/sec. I am aiming for 30 plus for writing and around 40 for reading. Both seem to be reasonable. True, but first use hdparm to see what your raw

Re: [Samba] Tuning the performance of Samba over LAN network to improve I/O performance

2009-08-06 Thread Miguel Medalha
And if he uses PCI network cards then there's a PCI bus limit to about 33 MByte/s. Even with Gigabit cards. What leads you to say that? All the documentation I know gives 32 bit PCI a theoretical bandwidth of *133.33* MByte/s, sometimes a 127.2 practical one. You can Google PCI

[Samba] Tuning the performance of Samba over LAN network to improve I/O performance

2009-08-05 Thread Himanshu Thapar
Hello friends, I am trying to test NAS I/O performance over a network and trying to see the numbers for write and read speed. I have successfully configured and ran a lot of tests. However the numbers have not increased, I have reached a bottleneck. I tried playing around with the smb.conf file

Re: [Samba] Tuning the performance of Samba over LAN network to improve I/O performance

2009-08-05 Thread Jeremy Allison
On Wed, Aug 05, 2009 at 06:42:07PM -0500, Himanshu Thapar wrote: I tried playing around with the smb.conf file including all possible variations like, socket options = TCP_NODELAY SO_RCVBUF=(tried values like 8192, 65535, 131070) SO_SNDBUF=(tried 8192, 65535, 131070) Remove these. You

Re: [Samba] Tuning the performance of Samba over LAN network to improve I/O performance

2009-08-05 Thread Miguel Medalha
The approximate average numbers I am getting over LAN are: Write: around 23Mbits/sec Read: around 33Mbits/sec Do you really mean Megabits? Or MegaBytes? 33 Megabits (about 4 MB/sec) would be VERY abnormal! Do you have use sendfile = yes in your smb.conf? It can be a global option or

Re: [Samba] Tuning the performance of Samba over LAN network to improve I/O performance

2009-08-05 Thread Jeremy Allison
On Wed, Aug 05, 2009 at 07:11:54PM -0500, Himanshu Thapar wrote: For the numbers I am gettingWriting averages around 23Mbytes/sec and Reading averages around 33Mbytes/sec. I am aiming for 30 plus for writing and around 40 for reading. Both seem to be reasonable. True, but first use hdparm

Re: [Samba] Tuning the performance of Samba over LAN network to improve I/O performance

2009-08-05 Thread Jeremy Allison
On Wed, Aug 05, 2009 at 07:34:51PM -0500, Himanshu Thapar wrote: Thank youOkay..can you explain how can I go about with hdparm or guide me to an appropriate link. Also how will this help me in diagnosing the current problem? Sorry, you need to learn to use hdparm before you can do any

Re: [Samba] Tuning the performance of Samba over LAN network to improve I/O performance

2009-08-05 Thread Miguel Medalha
How can I go about configuring my LAN hardware to use Jumbo Frames? That would be a too long conversation and now I don't have the necessary energy. You can Google for Linux Jumbo Frames. You must identify your LAN card and see its specifications. Also, you need to be sure that your