Re: [PATCH] vhost-user: optimize stats counters performance

2024-09-19 Thread Maxime Coquelin
On 8/2/24 16:32, Morten Brørup wrote: Optimized the performance of updating the statistics counters by reducing the number of branches. Ordered the packet size comparisons according to the probability with typical internet traffic mix. Signed-off-by: Morten Brørup --- lib/vhost/virtio_net

Re: [PATCH] vhost-user: optimize stats counters performance

2024-09-10 Thread Maxime Coquelin
On 8/2/24 16:32, Morten Brørup wrote: Optimized the performance of updating the statistics counters by reducing the number of branches. Ordered the packet size comparisons according to the probability with typical internet traffic mix. Signed-off-by: Morten Brørup --- lib/vhost/virtio_net

Re: [PATCH] vhost-user: optimize stats counters performance

2024-08-06 Thread Chenbo Xia
> On Aug 2, 2024, at 22:32, Morten Brørup wrote: > > External email: Use caution opening links or attachments > > > Optimized the performance of updating the statistics counters by reducing > the number of branches. > > Ordered the packet size comparisons according to the probability with >

[PATCH] vhost-user: optimize stats counters performance

2024-08-02 Thread Morten Brørup
Optimized the performance of updating the statistics counters by reducing the number of branches. Ordered the packet size comparisons according to the probability with typical internet traffic mix. Signed-off-by: Morten Brørup --- lib/vhost/virtio_net.c | 40 ++--