From: Sergey Senozhatsky <sergey.senozhatsky at gmail.com>
To: powertop@lists.01.org
Subject: Re: [Powertop] Query: Weird Output values: Percentage over 100%
Date: Tue, 04 Sep 2012 15:37:45 +0300 [thread overview]
Message-ID: <20120904123745.GA2993@swordfish> (raw)
In-Reply-To: 5045AE2A.7000302@samsung.com
[-- Attachment #1: Type: text/plain, Size: 788 bytes --]
On (09/04/12 11:30), Igor Zhbanov wrote:
> Arjan van de Ven wrote:
>
> >shouldn't... the buffers are quite large....
>
> By the way, I just curious, why events processing are limited to 5000?
> I mean the PowerTOP has f half-megabyte buffer for each type of events
> but wishes to process only 5000 even if data is there?
>
> void perf_event::process(void *cookie)
> {
> ...
> while (pc->data_tail != pc->data_head && i++ < 5000) {
> ...
>
> In the case of many cores sched:switch will be fired at least CONFIG_HZ * nr_cpus
> times per second (as I understand), and that could easily be larger than 5000.
> Especially when we measuring for several seconds.
>
good spot.
Also interested if we will fit all perf samples on (e.g.) loaded 64 core system.
-ss
next reply other threads:[~2012-09-04 12:37 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-04 12:37 Sergey Senozhatsky [this message]
-- strict thread matches above, loose matches on Subject: below --
2012-09-04 7:30 [Powertop] Query: Weird Output values: Percentage over 100% Igor Zhbanov
2012-09-03 18:05 Arjan van de Ven
2012-09-03 17:57 Sergey Senozhatsky
2012-09-03 17:37 Arjan van de Ven
2012-09-03 17:20 Sergey Senozhatsky
2012-09-03 6:54 viresh kumar
2012-08-29 8:09 viresh kumar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120904123745.GA2993@swordfish \
--to=powertop@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.