- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - OpenVMS
- >
- CPU usage
-
-
Categories
- Topics
- Hybrid IT with Cloud
- Mobile & IoT
- IT for Data & Analytics
- Transformation
- Strategy and Technology
- Products
- Cloud
- Integrated Systems
- Networking
- Servers and Operating Systems
- Services
- Storage
- Company
- Events
- Partner Solutions and Certifications
- Welcome
- Welcome
- Announcements
- Tips and Tricks
- Feedback
-
Blogs
- Alliances
- Around the Storage Block
- Behind the scenes @ Labs
- Converged Data Center Infrastructure
- Digital Transformation
- Grounded in the Cloud
- HPE Careers
- HPE Storage Tech Insiders
- Infrastructure Insights
- Inspiring Progress
- Internet of Things (IoT)
- My Learning Certification
- Networking
- OEM Solutions
- Servers: The Right Compute
- Telecom IQ
- Transforming IT
-
Quick Links
- Community
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Contact
- Email us
- Tell us what you think
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Enterprise.nxt
- Marketplace
- Aruba Airheads Community
-
Categories
-
Forums
-
Blogs
-
InformationEnglish
CPU usage
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-06-2007 12:11 AM
12-06-2007 12:11 AM
CPU usage
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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-06-2007 01:12 AM
12-06-2007 01:12 AM
Re: CPU usage
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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-06-2007 01:54 AM
12-06-2007 01:54 AM
Re: CPU usage
Re: CPU usage
Nothing to worry about.
It might help a little in keeping affinity.
fwiw,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-06-2007 04:34 AM
12-06-2007 04:34 AM
Re: CPU usage
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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-06-2007 07:01 PM
12-06-2007 07:01 PM
Re: CPU usage
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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-07-2007 07:10 AM
12-07-2007 07:10 AM
Re: CPU usage
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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-07-2007 08:43 AM
12-07-2007 08:43 AM
Re: CPU usage
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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-07-2007 08:50 AM
12-07-2007 08:50 AM
Re: CPU usage
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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-07-2007 09:16 AM
12-07-2007 09:16 AM
Re: CPU usage
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.
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2018 Hewlett Packard Enterprise Development LP