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

Re: [Xen-users] How to check/test network performance?



On Montag, 22. September 2008 James Pifer wrote:
> What's the best way to check the network performance of a domU? I have
> a bunch of pv linux servers, mostly SLES10SP1. When using scp for
> doing copying to and from other machines, either xen or non-xen, I
> typically see only about 1.2 MB/s. It seems very slow. Otherwise
> performance seems fine.

scp uses encryption (over ssh), and for this reason is very CPU 
intensive and not the best to test network performance.

> Any suggestions or tests I could run?

As was said, iperf and netperf, but they are benchmarks. If you prefer 
real world tools, you can setup rsyncd on one machine (configure 
/etc/rsyncd.conf and do /etc/init.d/rsyncd start) and from a remote 
machine do
rsync -aPv * {rsyncserver.domain.name}::{rsyncd-section-name}/
and rsync even displays how quick this is. You can also create a big 
file on the server, e.g.
dd if=/dev/zero of=bigfile.dd bs=1024k count=1000
and then copy this from the client:
rsync -aPv * {rsyncserver}::{rsyncd-section-name}/bigfile.dd /tmp

You can also use "iptraf" to watch the network traffic while you do your 
testing, it displays live performance values.

mfg zmi
-- 
// Michael Monnerie, Ing.BSc    -----      http://it-management.at
// Tel: 0660 / 415 65 31                      .network.your.ideas.
// PGP Key:         "curl -s http://zmi.at/zmi.asc | gpg --import"
// Fingerprint: AC19 F9D5 36ED CD8A EF38  500E CE14 91F7 1C12 09B4
// Keyserver: www.keyserver.net                   Key-ID: 1C1209B4

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.