All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Lendacky <tahm@linux.vnet.ibm.com>
To: "Michael S. Tsirkin" <mst@redhat.com>
Cc: kvm@vger.kernel.org
Subject: Re: Network performance with small packets - continued
Date: Wed, 9 Mar 2011 10:17:06 -0600	[thread overview]
Message-ID: <201103091017.07095.tahm@linux.vnet.ibm.com> (raw)
In-Reply-To: <20110309071744.GA26270@redhat.com>

On Wednesday, March 09, 2011 01:17:44 am Michael S. Tsirkin wrote:
> On Mon, Mar 07, 2011 at 04:31:41PM -0600, Tom Lendacky wrote:
> > I used the uperf tool to do this after verifying the results against
> > netperf. Uperf allows the specification of the number of connections as
> > a parameter in an XML file as opposed to launching, in this case, 100
> > separate instances of netperf.
> 
> Could you post the XML on the list please?

Environment variables are used to specify some of the values:
  uperf_instances=100
  uperf_dest=192.168.100.28
  uperf_duration=300
  uperf_tx_msgsize=256
  uperf_rx_msgsize=256

You can also change from threads to processes by specifying nprocs instead of 
nthreads in the group element.  I found this out later so all of my runs are 
using threads. Using processes will give you some improved peformance but I 
need to be consistent with my runs and stay with threads for now.

<?xml version="1.0"?>
<profile name="TCP_RR">
  <group nthreads="$uperf_instances">
        <transaction iterations="1">
            <flowop type="connect" options="remotehost=$uperf_dest 
protocol=tcp"/>
        </transaction>
        <transaction duration="$uperf_duration">
            <flowop type="write" options="size=$uperf_tx_msgsize"/>
            <flowop type="read"  options="size=$uperf_rx_msgsize"/>
        </transaction>
        <transaction iterations="1">
            <flowop type="disconnect" />
        </transaction>
  </group>
</profile>

      reply	other threads:[~2011-03-09 16:17 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-07 22:31 Network performance with small packets - continued Tom Lendacky
2011-03-09  2:34 ` Chigurupati, Chaks
2011-03-09  7:15 ` Michael S. Tsirkin
2011-03-09 15:45   ` Shirley Ma
2011-03-09 16:10     ` Michael S. Tsirkin
2011-03-09 16:25       ` Shirley Ma
2011-03-09 16:32         ` Michael S. Tsirkin
2011-03-09 16:38           ` Shirley Ma
2011-03-09 16:09   ` Tom Lendacky
2011-03-09 16:21     ` Shirley Ma
2011-03-09 16:28     ` Michael S. Tsirkin
2011-03-09 16:51     ` Shirley Ma
2011-03-09 17:16       ` Michael S. Tsirkin
2011-03-09 18:16         ` Shirley Ma
2011-03-09 22:51     ` Tom Lendacky
2011-03-09 20:11   ` Tom Lendacky
2011-03-09 21:56     ` Michael S. Tsirkin
2011-03-09 23:25       ` Tom Lendacky
2011-03-10  6:54         ` Michael S. Tsirkin
2011-03-10 15:23           ` Tom Lendacky
2011-03-10 15:34             ` Michael S. Tsirkin
2011-03-10 17:16               ` Tom Lendacky
2011-03-18 15:38                 ` Tom Lendacky
2011-03-10  0:59       ` Shirley Ma
2011-03-10  2:30         ` Rick Jones
2011-03-09 22:45     ` Shirley Ma
2011-03-09 22:57       ` Tom Lendacky
2011-03-09  7:15 ` Michael S. Tsirkin
2011-03-09  7:17 ` Michael S. Tsirkin
2011-03-09 16:17   ` Tom Lendacky [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201103091017.07095.tahm@linux.vnet.ibm.com \
    --to=tahm@linux.vnet.ibm.com \
    --cc=kvm@vger.kernel.org \
    --cc=mst@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.