Re: [suse-sles-e] Samab Performance Tuning

From: Johan Kielbaey (aquajtk-sles0601_at_yahoo.com)
Date: Wed Jul 04 2007 - 19:28:15 CEST


Date: Wed, 4 Jul 2007 10:28:15 -0700 (PDT)
From: Johan Kielbaey <aquajtk-sles0601@yahoo.com>
Message-ID: <796663.11657.qm@web36808.mail.mud.yahoo.com>
Subject: Re: [suse-sles-e] Samab Performance Tuning

Hello James,

There are many factors that have an impact an the network speed.

The result you obtain with iperf is pretty much the maximum you'll get from a gigabit network, unless you implementing link aggregation.

Scp encrypts your file prior to being send over the network. This is a very cpu intensive operation, which slows down your transfer. In a single cpu (single core) system this effect can even be worse as your single core has to take care of the encryption and interrupt handling of the NIC at the same time.

For your test with the smbclient, the bottleneck was most likely the hard disk in your desktop. 1Gbps = +/- 100MB/sec. You already need a good disk system with SCSI disks or RAID configuration to obtain that speed. A good test to measure disk speed is hdparm.

# hdparm -t /dev/sdc

/dev/sdc:
 Timing buffered disk reads: 184 MB in 3.02 seconds = 60.88 MB/sec

How did you measure transfer speed on the windows systems? The speed of WinXP seems average for a 100Mbit (= +/- 10MB/sec) connection. Vista should indeed be faster.

The link below contains some info on tuning samba.
http://www.oreilly.com/catalog/samba/chapter/book/appb_01.html

Rgds,
Johan

----- Original Message ----
From: James Crow <james@ultratans.com>
To: suse-sles-e@suse.com
Sent: Tuesday, July 3, 2007 3:35:36 PM
Subject: [suse-sles-e] Samab Performance Tuning

Greetings all,

We recently upgraded our LAN to gigabit speed. When using iperf to test
the network connection between my Ubuntu desktop and a SLES10 server I
get 939 Mbit/sec.

Scp gives me about 16 MByte/sec copying a 1.6 GB file. I would expect
Samba to be faster.

Gnome (nautilus) network browser gives me about 3.5 MByte/sec. This is a
little harder to determine because I have top use a stop watch to time
the copy.

smbclient gives me about 47 MB/sec.

Windows XP Pro (100 Mbit link) gives me about 8 MByte/sec.

Windows Vista (1000 Mbit link) gives me about 8 MByte/sec.

I know that Samba is capable of decent speeds as seen by smbclient. How
do I get those kind of speeds from Windows clients? Specifically Windows
Vista.

Amy ideas?

Thanks,
James

---------------------------------------------------------------------
To unsubscribe, e-mail: suse-sles-e-unsubscribe@suse.com
For additional commands, e-mail: suse-sles-e-help@suse.com



This archive was generated by hypermail 2.1.7 : Wed Jul 04 2007 - 21:32:02 CEST