Hi, I'm running samba server on board and client is windows 7. I did below steps for performance tests. + format /dev/sda1 with ext4 + mount the drive in server as mentioned in [media] path of /etc/samba/smb.conf + created a root password $ smbpasswd -a root + 1Gb ethernet interface from board. + map the driver in windows + did a 4gb robocopy + read got 13MBps and write got 105MBps Could any one suggest me any inputs why read got too slow, do I need to look at any config options in /etc/samba/smb.conf thanks! -- Jagan.
On Wed, Nov 19, 2014 at 12:49:06PM +0530, Jagan Teki wrote:> Hi, > > I'm running samba server on board and client is windows 7. > > I did below steps for performance tests. > + format /dev/sda1 with ext4 > + mount the drive in server as mentioned in [media] path of /etc/samba/smb.conf > + created a root password > $ smbpasswd -a root > + 1Gb ethernet interface from board. > + map the driver in windows > + did a 4gb robocopy > + read got 13MBps and write got 105MBps > > Could any one suggest me any inputs why read got too slow, do I need to look > at any config options in /etc/samba/smb.confCan you post your smb.conf? Thanks, Volker -- SerNet GmbH, Bahnhofsallee 1b, 37081 G?ttingen phone: +49-551-370000-0, fax: +49-551-370000-9 AG G?ttingen, HRB 2816, GF: Dr. Johannes Loxen http://www.sernet.de, mailto:kontakt at sernet.de
What mainboard is this? aka a bit more info on the hardware. It is a nas mainboard or something like that. Im getting 115Mb/s read and write from a windows 7. ( asrock E350 AMD board ) 1Gb interface does not mean it can reach the max speed, cpu is also important in this, so for that we need more hardware info. I did a few of these : http://www.sysprobs.com/windows-7-network-slow 1 is the most important. 2 stops auto update, so dont do that. 3) possible, what you want. 4) not really needed. 5) what you want. 6) This can be a point to check, make sure you have the latest NIC drivers. and no changes at samba side for me. ( only the defaults from install ) I get these speeds with : ( tested, and what is see in windows ) samba 3.6.6 ( Debian samba ) stand server 115MB/s samba 4.1.6 ( Ubuntu samba ) stand server 108MB/s samba 4.1.13 ( Ubuntu sernet samba ) AD DC server 112MB/s Louis>-----Oorspronkelijk bericht----- >Van: jagannadh.teki at gmail.com >[mailto:samba-bounces at lists.samba.org] Namens Jagan Teki >Verzonden: woensdag 19 november 2014 8:19 >Aan: samba at lists.samba.org >Onderwerp: [Samba] Tunning samba for better read performance > >Hi, > >I'm running samba server on board and client is windows 7. > >I did below steps for performance tests. >+ format /dev/sda1 with ext4 >+ mount the drive in server as mentioned in [media] path of >/etc/samba/smb.conf >+ created a root password > $ smbpasswd -a root >+ 1Gb ethernet interface from board. >+ map the driver in windows >+ did a 4gb robocopy >+ read got 13MBps and write got 105MBps > >Could any one suggest me any inputs why read got too slow, do >I need to look >at any config options in /etc/samba/smb.conf > >thanks! >-- >Jagan. >-- >To unsubscribe from this list go to the following URL and read the >instructions: https://lists.samba.org/mailman/options/samba > >
Hello Jagan, Perhaps change the NIC driver parameters on windows 7, Goto Control Panel -> Network and Share Center -> Ethernet (1Gb ethernet interface on board) -> Properties -> Configure -> Advanced, and try followings: 1. Flow control: Disabled 2. Interrupt moderation: Disabled. Or other options. BTW, could you post the on-board Ethernet information, for example Intel I217-LM or Realtek Family GbE, etc, thanks. -- Regards, Jones 2014-11-19 15:19 GMT+08:00 Jagan Teki <jagannadh.teki at gmail.com>:> Hi, > > I'm running samba server on board and client is windows 7. > > I did below steps for performance tests. > + format /dev/sda1 with ext4 > + mount the drive in server as mentioned in [media] path of > /etc/samba/smb.conf > + created a root password > $ smbpasswd -a root > + 1Gb ethernet interface from board. > + map the driver in windows > + did a 4gb robocopy > + read got 13MBps and write got 105MBps > > Could any one suggest me any inputs why read got too slow, do I need to > look > at any config options in /etc/samba/smb.conf > > thanks! > -- > Jagan. > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >