lkml.org 
[lkml]   [2012]   [Jun]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: seq_file: Use larger buffer to reduce time traversing lists
From
Date
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





\
 
 \ /
  Last update: 2012-06-01 17:21    [from the cache]
©2003-2011 Jasper Spaans