[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170925.203349.1305228974374102355.davem@davemloft.net>
Date: Mon, 25 Sep 2017 20:33:49 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org, stephen@...workplumber.org
Subject: Re: [PATCH net-next] sch_netem: faster rb tree removal
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Sat, 23 Sep 2017 11:07:28 -0700
> From: Eric Dumazet <edumazet@...gle.com>
>
> While running TCP tests involving netem storing millions of packets,
> I had the idea to speed up tfifo_reset() and did experiments.
>
> I tried the rbtree_postorder_for_each_entry_safe() method that is
> used in skb_rbtree_purge() but discovered it was slower than the
> current tfifo_reset() method.
>
> I measured time taken to release skbs with three occupation levels :
> 10^4, 10^5 and 10^6 skbs with three methods :
...
> Results :
...
> I will also change skb_rbtree_purge() in a second patch.
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Applied, thanks Eric.
Powered by blists - more mailing lists