Netmap: Failed to run multi-thread using pkt-gen

2014-10-07 Thread Yue Zhuo
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

Re: Netmap: Failed to run multi-thread using pkt-gen

2014-10-07 Thread Luigi Rizzo
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

Re: Netmap: Failed to run multi-thread using pkt-gen

2014-10-07 Thread Yue Zhuo
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