[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-net
Subject:    Re: netmap: understanding pkg-gen.c
From:       Luigi Rizzo <rizzo () iet ! unipi ! it>
Date:       2013-09-25 3:37:48
Message-ID: CA+hQ2+jYyoxpLEoz0kHm8Hikfgf8Fke-o_ctkO3fKBdGqEz7wQ () mail ! gmail ! com
[Download RAW message or body]

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
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic