lkml.org 
[lkml]   [2012]   [Jan]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2] proc: speedup /proc/stat handling
From
Date
Le mardi 24 janvier 2012 à 16:12 -0800, Andrew Morton a écrit :

> Did you measure the improvement from this patch?

Unfortunately I can not reboot the server where I noticed this
performance problem.

On the smaller one, performance improvement is about 20%, because the
second run of show_stat() can use data present in cpu cache.

On big machines, I guess the 128 bytes per possible cpu reservation can
avoid the second run. (since a typical cpuXXX line is smaller than 128
bytes)



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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