On 16-09-07 05:42 AM, Saeed Mahameed wrote: > Previously we rang XDP SQ doorbell on every forwarded XDP packet. > > Here we introduce a xmit more like mechanism that will queue up more > than one packet into SQ (up to RX napi budget) w/o notifying the hardware. > > Once RX napi budget is consumed and we exit napi RX loop, we will > flush (doorbell) all XDP looped packets in case there are such. > > XDP forward packet rate: > > Comparing XDP with and w/o xmit more (bulk transmit): > > Streams XDP TX XDP TX (xmit more) > --------------------------------------------------- > 1 4.90Mpps 7.50Mpps > 2 9.50Mpps 14.8Mpps > 4 16.5Mpps 25.1Mpps > 8 21.5Mpps 27.5Mpps* > 16 24.1Mpps 27.5Mpps* >
Hi Saeed, How many cores are you using with these numbers? Just a single core? Or are streams being RSS'd across cores somehow. > *It seems we hit a wall of 27.5Mpps, for 8 and 16 streams, > we will be working on the analysis and will publish the conclusions > later. > Thanks, John