Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Sep 2013 05:37:48 +0200
From:      Luigi Rizzo <rizzo@iet.unipi.it>
To:        hiren panchasara <hiren.panchasara@gmail.com>
Cc:        "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>
Subject:   Re: netmap: understanding pkg-gen.c
Message-ID:  <CA%2BhQ2%2BjYyoxpLEoz0kHm8Hikfgf8Fke-o_ctkO3fKBdGqEz7wQ@mail.gmail.com>
In-Reply-To: <CALCpEUHj_Mke_njM0NwzCUa1f_pXZdCy3_aaqJtKz5NUJUU8Mg@mail.gmail.com>
References:  <CALCpEUHj_Mke_njM0NwzCUa1f_pXZdCy3_aaqJtKz5NUJUU8Mg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Sep 25, 2013 at 5:32 AM, hiren panchasara
<hiren.panchasara@gmail.com> wrote:
> I am new to netmap so thought of confirming my understanding.
>
...
>
> On this box, I have 2 interfaces igb0 (10.73.149.28) and ix1 (10.73.149.17)
> and this is how I am using this binary:
>
> -bash-4.2$ sudo ./pkt-gen -i ix1 -f tx -n 100000000 -c 8 -p 8 -d
> 10.73.149.17 -s 10.73.149.28
...

> I can only specify -p (threads) upto 8 because it cannot be more than the
> hw.ix.num_queues=8, is that correct?

correct. it's either 1 or the total number of queues.
And you can almost surely get line rate with a single thread.

cheers
luigi



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BhQ2%2BjYyoxpLEoz0kHm8Hikfgf8Fke-o_ctkO3fKBdGqEz7wQ>