- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Resource usage by drivers
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2004 09:27 PM
тАО11-08-2004 09:27 PM
Resource usage by drivers
How/where can I find that info ? SDA ?
Have one (Duvel) on me
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2004 10:28 PM
тАО11-08-2004 10:28 PM
Re: Resource usage by drivers
http://vmspython.dyndns.org/cgiplus-bin/pythoncolor?script=/demosrc/modes.py
sample output
http://vmspython.dyndns.org/demosrc/modes_result.txt
In fact, it plays with the number of Cpu ticks for a process (in the pcb)
pcb$l_kernel_counter
pcb$l_exec_counter
pcb$l_super_counter
pcb$l_user_counter
and for the I/O see
http://vmspython.dyndns.org/demosrc/procio_result.txt
and
http://vmspython.dyndns.org/cgiplus-bin/pythoncolor?script=/demosrc/procio.py
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2004 10:40 PM
тАО11-08-2004 10:40 PM
Re: Resource usage by drivers
Nice but this is for interrupt stack usage by processes. AMDS and MSCP (and others) don't have a process. How can you find the usage per driver ?
As far as I understand it, it is simply accounted in the interrupt stack without further details. Is it ?
Btw : are drivers without usage by a process such as AMDS also possible on Unix/Windows ?
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2004 10:51 PM
тАО11-08-2004 10:51 PM
Re: Resource usage by drivers
As you said: "drivers have no processes".
And since on Alpha there isn't an interrupt stack anymore (AFAIK), whenever a driver routine needs to do something, the code is executed on the kernel stack of the process that is CURrent (or in absence thereof, on a "system" kernel stack).
So I don't think you can find out how much of your CPU is eaten by driver routines.
Maybe some of our friends at engineering can shed some light on this.
Greetz,
Kris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2004 11:00 PM
тАО11-08-2004 11:00 PM
Re: Resource usage by drivers
there are no statistics kept inside OpenVMS about 'which driver' consumes how much CPU. CPU statistics are only kept regarding processes and overall CPU modes.
IO statistics are typically kept per device (operations count in UCB) and in some other places (e.g. to be displayed by MONI MSCP).
Some of the performacne data collectors have 'system PC sampling' functionality, which would tell you, where the CPU time will be spent (by execlet/driver and IPL).
More recents versions of OpenVMS (V7.3-2) include (unsupported !) SDA extensions (PCS$SDA = PC sampling and IO$SDA = IO statistics), which may provide some additional data.
So what is the problem ?
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2004 11:09 PM
тАО11-08-2004 11:09 PM
Re: Resource usage by drivers
No problem, just thinking about monitoring the interruptstack.
So, if I understand correctly, some drivers keep counters (like MSCP) that can be monitored by dedicated software (monitor mscp). Other drivers don't keep the counters and so there are no statistics available.
Last hope : any statistics on the non-process interrupt stack as a whole ?
Kris,
What do you mean with "And since on Alpha there isn't an interrupt stack anymore" ?
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2004 11:54 PM
тАО11-08-2004 11:54 PM
Re: Resource usage by drivers
I quote from an old ref.guide (Alpha AXP Architecture Concepts, EY-K725E-SG.0003, p. 7-3):
"There are four processor stacks in OpenVMS: kernel, executive, supervisor, user
...
There is no separate interrupt stack or system-wide stack as there was in the VAX architecture."
And AFAIK, when interrupts are to be serviced, they are serviced using the kernel stack of the process being CURrent at that moment, but with IPL raised (from memory, from the Internals courses).
Greetz,
Kris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2004 11:57 PM
тАО11-08-2004 11:57 PM
Re: Resource usage by drivers
unlike on VAX, there is no 'interrupt stack' on Alpha. Interrupts are serviced on the kernel stack of the current process.
The INT bit (bit 2 in PS) is set, to indicate that the system is executing in interrupt mode, so that when the timer routine runs, it sees that the code is running in interrupt mode and can increment the appropriate 'mode' counter.
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2004 02:32 AM
тАО11-09-2004 02:32 AM
Re: Resource usage by drivers
But most important : it's in DECps/performace advisor.
adv coll sys /begin=/end=/out=wim1.lis
adv coll rep /out=wim2.lis wim1.lis
You can see which process is doing what but also get an overview of which driver was doing how much.
Wim