Re: [PATCH] examples/l3fwd: fix Tx performance deteriorate

2024-11-25 Thread Jie Hai
Hi, konstantin.ananyev, That sounds better, will send V2。 Thanks, Jie Hai In commit: examples/l3fwd: add option to set Rx burst size you introduced new global uint32_t nb_pkt_per_burst; Why not to use it for both (rx and tx) paths? Or if necessary introduce another one for tx, so we'll have:

Re: [PATCH] examples/l3fwd: fix Tx performance deteriorate

2024-11-25 Thread Stephen Hemminger
On Fri, 22 Nov 2024 15:13:36 +0800 Jie Hai wrote: > The application send packets only when the buffer is full, or the > buffer is empty and the number of packets to be sent extends half > of the buffer. > > The change of MAX_PKT_BURST increases TX buffer size, while the > default size of local c

RE: [PATCH] examples/l3fwd: fix Tx performance deteriorate

2024-11-22 Thread Konstantin Ananyev
> The application send packets only when the buffer is full, or the > buffer is empty and the number of packets to be sent extends half > of the buffer. > > The change of MAX_PKT_BURST increases TX buffer size, while the > default size of local cache on each lcore is 256, which not greater > th

[PATCH] examples/l3fwd: fix Tx performance deteriorate

2024-11-22 Thread Jie Hai
The application send packets only when the buffer is full, or the buffer is empty and the number of packets to be sent extends half of the buffer. The change of MAX_PKT_BURST increases TX buffer size, while the default size of local cache on each lcore is 256, which not greater than the limit of t

Re: [PATCH] examples/l3fwd: fix Tx performance deteriorate

2024-11-22 Thread lihuisong (C)
LGTM, good job. Acked-by: Huisong Li 在 2024/11/22 15:13, Jie Hai 写道: The application send packets only when the buffer is full, or the buffer is empty and the number of packets to be sent extends half of the buffer. The change of MAX_PKT_BURST increases TX buffer size, while the default size o