RFC - GRO Flowlookup Optimisation
胡嘉瑜
hujiayu.hu at foxmail.com
Wed Nov 22 16:14:02 CET 2023
Hi Kumara,
It is a good idea. You can send the code and I will help to review.
Thanks,
Jiayu
发自我的iPhone
------------------ Original ------------------
From: kumaraparameshwaran rathinavel <kumaraparamesh92 at gmail.com>
Date: Wed,Nov 22,2023 2:01 PM
To: dev <dev at dpdk.org>, hujiayu.hu <hujiayu.hu at foxmail.com>
Subject: Re: RFC - GRO Flowlookup Optimisation
Hi Folks,
The current GRO code uses an unoptimised version of flow lookup where each flow in the table is iterated over during the flow matching process. For a rte_gro_reassemble_burst in lightweight mode this would not cause much of an impact. But with rte_gro_reassemble which is done with a timeout interval, this causes higher CPU utilisation during throughput tests. The proposal here is to use a Hash based flowtable which could make use of the rte_hash table implementation in DPDK. There could be a hash table for each of the GRO types. The lookup function and the key could be different for each one of the types. If there is a consensus that this could have a better performance impact I would work on an initial patch set. Please let me know your thoughts.
Thanks,
Kumara.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/dev/attachments/20231122/e87af5f7/attachment.htm>
More information about the dev
mailing list