Hi, all! Recently, I have been interested in DPDK and run its distributor example. But I found I could never get the result that more than four logic cores work as workers simultaneously, even though I gave enough. The print messages (one example) were as follows:
RX Thread: Port 0 Pktsin : 1.19 Port 1 Pktsin : 0.00 - Received: 1.19 - Returned: 0.00 - Enqueued: 1.19 - Dropped: 0.00 Distributor thread: - In: 1.19 - Returned: 1.19 - Sent: 1.19 - Dropped 0.00 TX thread: - Dequeued: 1.19 Port 0 Pktsout: 0.00 Port 1 Pktsout: 1.19 - Transmitted: 1.19 - Dropped: 0.00 Worker 00 Pkts: 0.30. Bursts(1-8): 281470 6531 931 274 30 0 0 10 Worker 01 Pkts: 0.00. Bursts(1-8): 0 0 0 0 0 0 0 0 Worker 02 Pkts: 0.30. Bursts(1-8): 256381 9373 4551 1856 331 81 26 15 Worker 03 Pkts: 0.00. Bursts(1-8): 0 0 0 0 0 0 0 0 Worker 04 Pkts: 0.30. Bursts(1-8): 792357 6362 928 348 66 30 8 13 Worker 05 Pkts: 0.30. Bursts(1-8): 269760 6487 3304 1092 200 66 18 14 Worker 06 Pkts: 0.00. Bursts(1-8): 0 0 0 0 0 0 0 0 Worker 07 Pkts: 0.00. Bursts(1-8): 0 0 0 0 0 0 0 0 I ran the distributor example of DPDK 17.08 on CentOS 7. I used another Ubuntu 16.04 installed with the MoonGen to send packets with different tx rates to CentOS. Anybody knows what I might have missed? Thanks in advance! -- Yours Sincerely, * Lin He*