lkml.org 
[lkml]   [2017]   [Nov]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] x86: use cpufreq_quick_get() for /proc/cpuinfo "cpu MHz" again
    On Tue, 14 Nov 2017, Linus Torvalds wrote:

    > On Tue, Nov 14, 2017 at 2:47 PM, Rafael J. Wysocki <rjw@rjwysocki.net> wrote:
    > >
    > > So what about the one below? It works for me as expected.
    >
    > Can somebody with 100+ cores test this? Ingo? You had a 160 core
    > machine that took forever, didn't you..

    On a 144 CPUs machine:

    time cat /proc/cpuinfo >/dev/null

    Current head:

    real 0m0.003s
    user 0m0.000s
    sys 0m0.002s

    Current head + Raphaels patch:

    real 0m0.029s
    user 0m0.000s
    sys 0m0.010s

    So that patch is actually slower.

    Thanks,

    tglx

    \
     
     \ /
      Last update: 2017-11-15 00:54    [W:4.617 / U:0.268 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site