[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1338562627.2760.1526.camel@edumazet-glaptop>
Date: Fri, 01 Jun 2012 16:57:07 +0200
From: Eric Dumazet <eric.dumazet@...il.com>
To: Steven Whitehouse <swhiteho@...hat.com>
Cc: linux-kernel@...r.kernel.org, cluster-devel@...hat.com,
Al Viro <viro@...iv.linux.org.uk>, nstraz@...hat.com
Subject: Re: seq_file: Use larger buffer to reduce time traversing lists
On Fri, 2012-06-01 at 15:18 +0100, Steven Whitehouse wrote:
> 0m0.374s
>
> So even with the current tcp scheme this appears to speed things up by
> nearly 3x. Also that was with only 28000 entries in the file,
Initial speedup was 100x, not 3x.
Of course using a 32KB buffer instead of 4KB will help.
And If someones need 100.000 active unix sockets and fast /proc/net/udp
file as well, patch is welcome. If I have time I can do it eventually.
Really, kmalloc(2 MB) is not going to happen, even using __GFP_NOWARN
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists