[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150318095516.GA22634@gondor.apana.org.au>
Date: Wed, 18 Mar 2015 20:55:16 +1100
From: Herbert Xu <herbert@...dor.apana.org.au>
To: "'tgraf@...g.ch'" <tgraf@...g.ch>
Cc: David Laight <David.Laight@...LAB.COM>,
David Miller <davem@...emloft.net>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
Eric Dumazet <eric.dumazet@...il.com>
Subject: Re: [v1 PATCH 1/14] rhashtable: Remove shift from bucket_table
On Wed, Mar 18, 2015 at 09:51:02AM +0000, 'tgraf@...g.ch' wrote:
>
> I'm running it like this:
> for i in $(seq 1 27); do \
> echo $i: && ./jhash $((2**$i)) | uniq -D | uniq -c \
uniq -D doesn't do what you think it does:
$ { echo a; echo b; echo a; } | uniq -D
$
So you should use sort | uniq -c
Cheers,
--
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