WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] How to check/test network performance?
From: Michael Monnerie <michael.monnerie@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 23 Sep 2008 19:04:40 +0200
Delivery-date: Tue, 23 Sep 2008 10:05:21 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1222116382.32638.50.camel@xxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: it-management http://it-management.at
References: <1222116382.32638.50.camel@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.10.1 (Linux/2.6.26.5-ZMI; KDE/4.1.2; x86_64; ; )
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
<Prev in Thread] Current Thread [Next in Thread>