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. dom0 is SLES10SP1 with a gigabit network connection. Any suggestions or tests I could run? Thanks, James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Mon, Sep 22, 2008 at 8:46 PM, James Pifer <jep@obrien-pifer.com> 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. > > dom0 is SLES10SP1 with a gigabit network connection. > > Any suggestions or tests I could run? >iperf and netperf> Thanks, > James > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >-- Todd Deshane http://todddeshane.net check out our book: http://runningxen.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Michael Monnerie
2008-Sep-23 17:04 UTC
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 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> 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. >Thanks to everyone. iperf filled my needs quite well. It was accurate enough on every system I tried, and successfully found my issue. Confirmed by my router/switch guy, one of my xen servers is stuck at 10meg full duplex...ugh....which explains the slowness. Thanks, James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users