- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: CPU usage
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
тАО12-06-2007 12:11 AM
тАО12-06-2007 12:11 AM
CPU usage
I found that the CPU usage is mainly on CPU1 (around 20% idle) but the CPU0 is around (80% idle).
I have not make any pre-setting such as process,etc.
Could anyone knows that any factors can affect the CPU balancing?
Thanks & Regards,
Sentosa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2007 01:12 AM
тАО12-06-2007 01:12 AM
Re: CPU usage
Processes can request that they have affinity to a specific set of processors.
Are you having performance problems, or did you just notice this in the output of something like
$ monitor/modes/cpu
If that's where you noticed it, what modes are the time being spent in (user, interrupt, mpsync, etc).
Prior to fastpath support, there was more of a possibility that one processor would be busy in Interrupt mode doing parts of I/O processing, but with 7.3-2 most of the commonly used drivers have the ability to do post processing on any CPU, so that shouldn't be as much of an issue.
If you have more than just a passing interest, there is a complete chapter on Scheduling in the book "OpenVMS Alpha Internals - Scheduling and Process Control Version 7.0" Perhaps you can find a copy at a library or on ebay; it is a Digital Press book that is not part of the standard documentaion, Copyright 1997; not online and may be out of print.
Jon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2007 01:54 AM
тАО12-06-2007 01:54 AM
Re: CPU usage
Nothing to worry about.
It might help a little in keeping affinity.
fwiw,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2007 04:34 AM
тАО12-06-2007 04:34 AM
Re: CPU usage
Cmos stands for Christian Moser, a (former?) member of OpenVNMS Engineering. Not the type of type of processor ;)
OpenVMS Developer & System Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-06-2007 07:01 PM
тАО12-06-2007 07:01 PM
Re: CPU usage
I don't think it is necessarily an issue that one CPU is working harder than the other, because I think VMS takes care it it on its own.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2007 07:10 AM
тАО12-07-2007 07:10 AM
Re: CPU usage
In light of your topic:
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1181881
Too bad we can not give you -12 points for the prior reply.
Please READ the question and prior replies before wasting your time, and ours, with a speculative, confusing and erroneous answer.
>> I think VMS will use the first CPU up until it is close to full utilization and then it will start offloading some computation to the second CPU
- What does 'first' mean in your country? Low number?
- Sentosa indicates the opposite is observed. Have you checked recently?
- What is off-loading? Check Jon's solid reply.
There is no such notion as off-loading in OpenVMS.
If a process becomes computable then the OpenVMS scheduler will look for a free cpu to schedule it. 'Roughly speaking' It will first look for the last CPU where that process ran, and if that's busy it'll look for the first free cpu starting from high to low. With Hyperthreading enabled, the busyness for a co-thread is also taken into consideration.
If all CPUs are busy then priorities are used to decide wheather to pre-empt an other process or not.
"until it is almost fully utilized"
It's either busy or it is not.
There is no such thing as 'having been busy a lot lately' in the OpenVMS scheduler.
"If you notice MONITOR output, for multiple CPUs, you get more than 100% computing capacity. E.g, for 2 CPUs you get 200%, etc."
Looks like Sentosa knows that, and knows even more, as the per-cpu load is known.
This per-CPU breakdown can be obtained from $MONI MODE/CPU as Jon indicateed (with minor typo), but I particulary like T4 data + TlViz to visualize this.
Cheers,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2007 08:43 AM
тАО12-07-2007 08:43 AM
Re: CPU usage
I can't help you for wasting so much of your time on my asnwer. But I guess in your country, you have all kinds of time to waste. I did go back and reread the question and see that I answered it wrong. But you didn't answer his question either. Actually, I don't care one way or another. There's clearly enough CPU power to go around. And besides, MONITOR is just a snapshot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2007 08:50 AM
тАО12-07-2007 08:50 AM
Re: CPU usage
A suggestion. While OpenVMS is, by default, case-blind, perhaps the post in this thread concerning scheduling genesis (and it exegesis) is more appropriately "CMos". The semi-conductor technology is "CMOS".
- Bob Gezelter, http://www.rlgsc.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-07-2007 09:16 AM
тАО12-07-2007 09:16 AM
Re: CPU usage
Without affinity settings, if the scheduler module runs and finds an idle CPU at the same time that it has a COM process, it changes it from COM to CUR on the idle CPU. Then (because a schedule event has just occurred), it runs AGAIN. If there is still an idle CPU and a COM process, the same transition occurs but for the next idle CPU and so on.
I can look at a SHOW SYSTEM and see the CPU associated with every CUR process, and I sometimes do see more than one CUR (counting myself) on my four-CPU Alphas.
To see what is happening as described, I believe you would have to have a very thin COM queue.