pcp
[Top] [All Lists]

Re: [pcp] proc/interrupts parsing fix for large CPU counts

To: Mark Goodwin <goodwinos@xxxxxxxxx>
Subject: Re: [pcp] proc/interrupts parsing fix for large CPU counts
From: nathans@xxxxxxxxxx
Date: Mon, 31 Jan 2011 20:09:57 +1100 (EST)
Cc: pcp@xxxxxxxxxxx
In-reply-to: <558067144.67881296464829445.JavaMail.root@xxxxxxxxxxxxxxxxxxxxxx>
Sender: nscott@xxxxxxxxxx
----- "Mark Goodwin" <goodwinos@xxxxxxxxx> wrote:

> I'm not 100% sure, but I think the "SYS" entries in /proc/interrupts
> might have been something I added to SGI only kernels many years
> ago. This was an SGI-only patch for per-cpu system call counters.
> (IIRC, the patch was never posted because it needed changes on every
> arch).

Yep, looks right ...

$ pminfo -tT kernel.all.syscall

kernel.all.syscall [total system calls counter from /proc/interrupts]
Help:
This provides a counter (normally converted to a count/second)
of the total number of system calls executed across all CPUs.

A kernel patch is required for the instrumentation to use this metric
(contact markgw@xxxxxxx).


Good thing noone contacted you, else you would've had to scramble to
implement a new patch.  :)

> Nathan and I just checked a few kernels, including as far back as
> the RHEL4 2.6.9 kernel and there's no sign of any SYS entries in
> /proc/interrupts, so unless someone else pipes up, I think this is
> probably dead code and we can nuke it.


cheers.

-- 
Nathan

<Prev in Thread] Current Thread [Next in Thread>