lkml.org 
[lkml]   [2020]   [Oct]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v1 00/15] Introduce threaded trace streaming for basic perf record operation

    * Alexey Budankov <alexey.budankov@linux.intel.com> wrote:

    >
    > Patch set provides threaded trace streaming for base perf record
    > operation. Provided streaming mode (--threads) mitigates profiling
    > data losses and resolves scalability issues of serial and asynchronous
    > (--aio) trace streaming modes on multicore server systems. The patch
    > set is based on the prototype [1], [2] and the most closely relates
    > to mode 3) "mode that creates thread for every monitored memory map".
    >
    > The threaded mode executes one-to-one mapping of trace streaming threads
    > to mapped data buffers and streaming into per-CPU trace files located
    > at data directory. The data buffers and threads are affined to NUMA
    > nodes and monitored CPUs according to system topology. --cpu option
    > can be used to specify exact CPUs to be monitored.

    Yay! This should really be the default trace capture model everywhere
    possible.

    Can we do this for perf top too? It's really struggling with lots of cores.

    If on a 64-core system I run just a moderately higher frequency 'perf top'
    of 1 kHz:

    perf top -e cycles -F 1000

    perf stays stuck forever in 'Collecting samples...', and I also get a lot
    of:

    [548112.871089] Uhhuh. NMI received for unknown reason 31 on CPU 25.
    [548112.871089] Do you have a strange power saving mode enabled?

    Thanks,

    Ingo

    \
     
     \ /
      Last update: 2020-10-14 19:28    [W:4.268 / U:0.540 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site