pkt-gen tells I have 6 queues.

Yue

On Tue, Oct 7, 2014 at 10:41 AM, Luigi Rizzo <ri...@iet.unipi.it> wrote:

> how many queues do you have ?
> you need to run with as many threads as there are queues.
> If hyperthreading is on you are likely to have 12 virtual cores,
> and depending on the OS the driver might limit the number to 8
> (this is what happens on FreeBSD).
>
> pkt-gen with a single thread should tell you how many queues
> are available
>
> cheers
> luigi
>
>
> On Tue, Oct 7, 2014 at 5:29 PM, Yue Zhuo <zyue1...@tamu.edu> wrote:
>
>> Hi there,
>>
>> I was testing the newest netmap on a dual-port x520-T2 adapter using a
>> 6-core machine.
>>
>> However, I always get error in* nm_txsync_prologue *for n - 1 threads when
>> I try to use n threads (n > 1), which indicates the cur pointer points to
>> a
>> wrong place. At last, only one thread works correctly.
>>
>> Here is how I send packets: ./pkt-gen -i ix0 -f tx -c 6 -p 6
>>
>> Any ideas about the issue?
>>
>>
>> Thanks,
>>
>> Yue
>> _______________________________________________
>> freebsd-net@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-net
>> To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"
>>
>
>
>
> --
> -----------------------------------------+-------------------------------
>  Prof. Luigi RIZZO, ri...@iet.unipi.it  . Dip. di Ing. dell'Informazione
>  http://www.iet.unipi.it/~luigi/        . Universita` di Pisa
>  TEL      +39-050-2211611               . via Diotisalvi 2
>  Mobile   +39-338-6809875               . 56122 PISA (Italy)
> -----------------------------------------+-------------------------------
>
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to