lkml.org 
[lkml]   [2015]   [Dec]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCHSET 00/16] perf top: Add multi-thread support (v1)

    * Namhyung Kim <namhyung@kernel.org> wrote:

    > Hello,
    >
    > This patchset if an attempt to support multi-threading in perf top.
    > In fact, perf top already run on two threads - a worker thread and a
    > display thread. However processing all samples with a single thread
    > in a large machine can have scalability problems.
    >
    > This patchset extends it to have multiple worker threads to process
    > samples concurrently. Users can control the number of threads using
    > --num-thread option. And there's a collector thread for passing hist
    > entries from worker threads to the display thread.

    Could you please make the number of threads default to the number of CPUs?

    Since perf top is doing one perf event per CPU anyway, that's a pretty natural
    model.

    ( I think 'perf record' should use per CPU threads as well to receive events, to
    address the 'IO overload' problems with -g recording on larger CPU counts. )

    Thanks,

    Ingo


    \
     
     \ /
      Last update: 2015-12-10 09:41    [W:2.724 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site