[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150515000647.GA13821@gondor.apana.org.au>
Date: Fri, 15 May 2015 08:06:48 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Eric Dumazet <eric.dumazet@...il.com>
Cc: David Miller <davem@...emloft.net>, Thomas Graf <tgraf@...g.ch>,
netdev <netdev@...r.kernel.org>
Subject: Re: netlink: Disable insertions/removals during rehash
On Thu, May 14, 2015 at 07:37:56AM -0700, Eric Dumazet wrote:
>
> This solves the corruption thanks Herbert.
Great.
> But wasn't rhashtable meant to be faster ? ;)
Is it, that's news to me :)
> Current tree is still slower than 3.15 :(
>
> $ ./getaddrinfo_many.sh
> TPS: 123152.70936 Seconds Elapsed: 0 Current time: Thu May 14 07:36:52 PDT 2015
> TPS: 123304.562269 Seconds Elapsed: 1 Current time: Thu May 14 07:36:53 PDT 2015
> TPS: 123915.737299 Seconds Elapsed: 2 Current time: Thu May 14 07:36:54 PDT 2015
> TPS: 123456.790123 Seconds Elapsed: 3 Current time: Thu May 14 07:36:55 PDT 2015
> TPS: 124843.945069 Seconds Elapsed: 4 Current time: Thu May 14 07:36:56 PDT 2015
> TPS: 122850.12285 Seconds Elapsed: 4 Current time: Thu May 14 07:36:56 PDT 2015
> TPS: 123001.230012 Seconds Elapsed: 5 Current time: Thu May 14 07:36:57 PDT 2015
> TPS: 123001.230012 Seconds Elapsed: 6 Current time: Thu May 14 07:36:58 PDT 2015
> TPS: 122549.019608 Seconds Elapsed: 7 Current time: Thu May 14 07:36:59 PDT 2015
> TPS: 123762.376238 Seconds Elapsed: 8 Current time: Thu May 14 07:37:00 PDT 2015
> TPS: 123304.562269 Seconds Elapsed: 9 Current time: Thu May 14 07:37:01 PDT 2015
> TPS: 123152.70936 Seconds Elapsed: 9 Current time: Thu May 14 07:37:01 PDT 2015
> TPS: 123001.230012 Seconds Elapsed: 10 Current time: Thu May 14 07:37:02 PDT 2015
OK I'll try to see if we can make this faster.
Thanks,
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists