[ovs-dev] [PATCH v2 1/2] dpif-netdev: Expand the meter capacity using cmap

Ben Pfaff blp at ovn.org
Tue Mar 24 05:11:04 UTC 2020


On Tue, Mar 24, 2020 at 09:25:41AM +0800, Tonghao Zhang wrote:
> On Mon, Mar 16, 2020 at 12:06 PM Tonghao Zhang <xiangxia.m.yue at gmail.com> wrote:
> >
> > On Mon, Mar 16, 2020 at 11:07 AM Yanqin Wei <Yanqin.Wei at arm.com> wrote:
> > >
> > > Hi Xiangxia,
> > >
> > > The meter id is allocated by id_pool,  which can always return the lowest available id.
> > Yes, I added 70000+ meters, and it works fine.
> > > There is a light scalable data struct which supports direct address lookup. It can achieve several times performance improvement than cmap_find. And it has not copy memory when expanding.
> > > https://patchwork.ozlabs.org/patch/1253447/
> > >
> > > I suggest using this light data struct for >65535 meter instance. Would you like to take a look at it?
> > Yes, and I also wait Ilya to review, and offer a suggestion.
> Hi maintainers,
> Will you have a plan to help me to review those patches, thanks.

I know that I skipped over this because I was waiting for v3 using
idpool.


More information about the dev mailing list