[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1327469372.14373.31.camel@edumazet-laptop>
Date: Wed, 25 Jan 2012 06:29:32 +0100
From: Eric Dumazet <eric.dumazet@...il.com>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>,
Glauber Costa <glommer@...allels.com>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Ingo Molnar <mingo@...e.hu>, linux-kernel@...r.kernel.org,
Russell King - ARM Linux <linux@....linux.org.uk>,
Paul Tuner <pjt@...gle.com>
Subject: Re: [PATCH v2] proc: speedup /proc/stat handling
Le mardi 24 janvier 2012 à 17:27 -0800, Andrew Morton a écrit :
> I had a fiddle on an 8-way x86_64 machine. I'm unable to demonstrate
> any improvement for either of
>
> time (for i in $(seq 1000); do; cat /proc/self/stat > /dev/null; done)
> time (for i in $(seq 1000); do; cat /proc/1/stat > /dev/null; done)
>
> oh well.
What size is /proc/stat ?
wc -c /proc/stat
If under 4096, there is no problem with existing code.
I had the problem on a 16-way machine.
--
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