Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: network speed



On Mon, Jul 20, 2009 at 12:23:58PM +0100, Matthias Scheler wrote:
> On Sun, Jul 19, 2009 at 11:19:44PM +0100, Patrick Welche wrote:
> > I am getting 20 MiB/s according to:
> > 
> >   dd if=/dev/rwd0f bs=1m | progress -l 78144512k dd of=/attic/rwd0f.raw 
> > bs=1m
> > 
> > where /attic is nfs -T mounted
> 
> Can you please use "ttcp" or "netio" (both in "pkgsrc/benchmarks") to
> measure the raw network speed? This should make it easier to determine
> where the bottleneck is on your setup.

[enabled tso4 on client wm0]

Indeed - the network seems to be not too bad:
- dd 1.5GB partition into 3GB RAM tmpfs
- ttcp -r -s on server
- ttcp -t < partition on client
- ttcp with all default tcp values (buflen=8192, nbuf=2048)
  gives 79215.19, 78265.47, 80459.38 KB/sec so roughly 620 megabit/s ?
  (udp less fortunate at 46773.54, 46820.03, 47666.70 KB/sec so 370 megabit/s)

Just to check
server:/attic   /attic  nfs     rw,tcp  0       0
in fstab is correct?

(These aren't averages, just single tries:)
dd if=1.5GB_file_in_tmpfs bs=1m of=/dev/null is 248 MiB/s according to progress
                          bs=8k of=/dev/null is 142 MiB/s
                          bs=2m of=/attic/fo is  21 MiB/s
                          bs=1m of=/attic/fo is  23 MiB/s
                          bs=512k of=/attic/fo   19 MiB/s
                          bs=8k of=/attic/fo is  17 MiB/s
Transfer usually starts quickly and then settles down...

Am I expecting too much?

Cheers,

Patrick


Home | Main Index | Thread Index | Old Index