From: Maxim Uvarov <muvarov@ru.mvista.com>
To: William Lee Irwin III <wli@holomorphy.com>
Cc: Pavel Machek <pavel@ucw.cz>,
linux-kernel@vger.kernel.org, davidsen@tmr.com,
randy.dunlap@oracle.com, dada1@cosmosbay.com,
Valdis.Kletnieks@vt.edu, jesper.juhl@gmail.com
Subject: Re: Performance Stats: Kernel patch
Date: Mon, 16 Apr 2007 13:24:04 +0400 [thread overview]
Message-ID: <462340B4.2000300@ru.mvista.com> (raw)
In-Reply-To: <20070416010424.GG2986@holomorphy.com>
William Lee Irwin III wrote:
>On Sun 2007-04-15 03:21:57, William Lee Irwin III wrote:
>
>
>>>nvcsw and nivcsw are conventional variable names for these quantities.
>>>
>>>
>
>On Sun, Apr 15, 2007 at 08:10:24PM +0000, Pavel Machek wrote:
>
>
>>I can't decipher them and would not want users see them in /proc.
>>Would nonvoluntary_ctxt_switch be that much worse?
>>
>>
>
>I'm not too attached to a particular name. I just think that the
>traditional counter names should pass readability/etc. criteria on
>account of the very strong historical precedent. I'd consider more
>verbose affairs for the sake of putative legibility as equivalent
>in quality. Maybe that means others voting for the more verbose
>names should result in an aggregate decision in favor of verbosity.
>
>
>-- wli
>
>
The standard /proc output is:
root@192.168.3.2:~# cat /proc/$$/status
Name: bash
State: S (sleeping)
SleepAVG: 88%
Tgid: 836
Pid: 836
PPid: 1
TracerPid: 0
Uid: 0 0 0 0
Gid: 0 0 0 0
FDSize: 256
Groups: 0 1 2 4
VmPeak: 2360 kB
VmSize: 2360 kB
VmLck: 0 kB
VmHWM: 1400 kB
VmRSS: 1400 kB
VmData: 196 kB
VmStk: 88 kB
VmExe: 564 kB
VmLib: 1412 kB
VmPTE: 12 kB
Threads: 1
SigQ: 0/1024
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000010000
SigIgn: 0000000000384004
SigCgt: 000000004b813efb
CapInh: 0000000000000000
CapPrm: 00000000fffffeff
CapEff: 00000000fffffeff
I can't say that "Nvcsw" and "Nivcsw" is something less verbose as
output above.
It is more usual so it is more clear for you. But if you need this counters
you should know what are they and how to use them.
As for me "nonvoluntary_ctxt_switch" and "voluntary_ctxt_switch" is more
verbose,
and it is not big deal to change names. But I think that information about
this counters and verbose name should be in user space tools, like ps.
next prev parent reply other threads:[~2007-04-16 9:24 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-09 14:22 Performance Stats: Kernel patch Maxim Uvarov
2007-04-10 8:21 ` Eric Dumazet
2007-04-11 11:59 ` Maxim Uvarov
2007-04-11 12:26 ` Eric Dumazet
2007-04-11 13:15 ` Maxim Uvarov
2007-04-11 14:15 ` Eric Dumazet
2007-04-11 15:33 ` Bill Davidsen
2007-04-11 15:57 ` Maxim Uvarov
2007-04-11 15:53 ` Maxim Uvarov
2007-04-11 19:22 ` Eric Dumazet
2007-04-12 13:46 ` Maxim Uvarov
2007-04-15 9:47 ` Pavel Machek
2007-04-15 10:21 ` William Lee Irwin III
2007-04-15 20:10 ` Pavel Machek
2007-04-16 1:04 ` William Lee Irwin III
2007-04-16 9:24 ` Maxim Uvarov [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-04-03 12:54 Maxim Uvarov
2007-04-03 23:01 ` Valdis.Kletnieks
2007-04-04 13:15 ` Maxim Uvarov
2007-04-04 13:46 ` Eric Dumazet
2007-04-04 16:52 ` Maxim Uvarov
2007-04-04 18:04 ` Eric Dumazet
2007-04-04 21:54 ` Valdis.Kletnieks
2007-04-04 13:59 ` Jesper Juhl
2007-04-04 21:50 ` Valdis.Kletnieks
2007-04-04 22:03 ` Randy Dunlap
2007-04-06 21:50 ` Bill Davidsen
2007-04-08 16:58 ` Pavel Machek
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=462340B4.2000300@ru.mvista.com \
--to=muvarov@ru.mvista.com \
--cc=Valdis.Kletnieks@vt.edu \
--cc=dada1@cosmosbay.com \
--cc=davidsen@tmr.com \
--cc=jesper.juhl@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=pavel@ucw.cz \
--cc=randy.dunlap@oracle.com \
--cc=wli@holomorphy.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox