lkml.org 
[lkml]   [2018]   [Nov]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH RFC] hist lookups
From
From: Jiri Olsa <jolsa@redhat.com>
Date: Thu, 8 Nov 2018 08:13:03 +0100

> we could separated fork/mmaps to separate dummy event map, or just
> parse them out in the read thread and create special queue for them
> and drop just samples in case we are behind

What you say at the end here is basically what I am proposing.

Perf dequeues events from mmap ring as fast as possible.

Perf has two internal queues, high priority and low priority.

High priority events are never dropped.

Low priority events are dropped on overload, oldest first.

\
 
 \ /
  Last update: 2018-11-09 02:07    [W:0.077 / U:1.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site