[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100723130125.787c7ddb@nehalam>
Date: Fri, 23 Jul 2010 13:01:25 -0700
From: Stephen Hemminger <shemminger@...tta.com>
To: David Miller <davem@...emloft.net>
Cc: sphink@...il.com, netdev@...r.kernel.org,
stephen.hemminger@...tta.com
Subject: Re: ss -p is much too slow
On Fri, 23 Jul 2010 12:48:19 -0700 (PDT)
David Miller <davem@...emloft.net> wrote:
> From: David Miller <davem@...emloft.net>
> Date: Mon, 28 Jun 2010 16:21:39 -0700 (PDT)
>
> > ss: Avoid quadradic complexity with '-p'
> >
> > Scan the process list of open sockets once, and store in a hash
> > table to be used by subsequent find_user() calls.
> >
> > Reported-by: Steve Fink <sphink@...il.com>
> > Signed-off-by: David S. Miller <davem@...emloft.net>
>
> Stephen, please apply this, it fixes the quadratic behavior and
> has been sitting for a month.
>
> It's in patchwork, just check your todo list.
>
I saw it but wanted to work out a more general solution,
will apply it next week if mine doesn't work.
--
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