- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Performance Issue
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
Forums
Discussions
Discussions
Discussions
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
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
09-04-2002 08:03 AM
09-04-2002 08:03 AM
I know it is a difficult one :)
I have a CPU bottleneck in my machine. There is no memory pressure neither I/O. The machine executes a lot of scripts per second (that's the reason for that high nice value). The system CPU time is high (50-60%). How could I reduce this time?
I have seen in Glance in the CPU report (that I send you) that the vfault average is 21.7; is it normal? could it be reduced?
Thank you very much in advance.
Regards.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2002 09:35 AM
09-04-2002 09:35 AM
SolutionIf you have no memory, paging, or disk I/O issues then you need to find a way to execute your scripts faster.
What kind of scripts are they? By far the biggest waste of CPU time on most machines is poor coding.
So look at the scripts and see if there is anything you can do to decrease the work involved.
If they are interpreted scripts, thinking about writing them in a compiled language, such as C.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2002 09:43 AM
09-04-2002 09:43 AM
Re: Performance Issue
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2002 10:35 AM
09-04-2002 10:35 AM
Re: Performance Issue
Another approach would be to rewrite the scripts in C. There would be less image activations.
HTH
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2002 10:43 AM
09-04-2002 10:43 AM
Re: Performance Issue
Secondly, if EMS is running, STOP it - its a PIG
Shutdown any unnecessary services, like NFS if you aren't using it!
Check your kernel parameters! MAKE SURE
timeslice is a 10 and not a 1 (ONE) !!!!!!!!!!
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2002 10:55 AM
09-04-2002 10:55 AM
Re: Performance Issue
you could re-code your scripts to use "threads" instead of processes, you could try to use the sticky-bit on their codefiles, your could try to increase the kernel parameter "timeslice" (only by 1 or 2!).
But the "pageouts" do irritate me; there seems to be an memory bottleneck sometimes, perhaps when all those scripts are running concurrently? Stop all the services/daemons/processes you do not need.
Have thought about using "MWA" (HP OpenView MeasureWare Agent) to detect what really is going on? The "instant on" trial license should be sufficient...
Just my $0.02,
Wodisch