- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Dealing with big number of system calls
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
тАО04-03-2000 06:33 PM
тАО04-03-2000 06:33 PM
Dealing with big number of system calls
I have a third-party application which was written not optimally. Actually it
make a big number of system calls to read data.
And the symptoms are as follows:
Ten users use this application in active mode (when it calculates something) -
then approximately 12 processes in run queue (2 CPU system).
Glance shows approx. 38000 sys calls/sec (GBL_SYSCALL_RATE parameter)
In the same time disk activity shows 10000 logical reads/sec (4 MB/sec) for the
most usable disk with only 80-90 physical reads (200 KB/sec).
And my question is: can something be done in this situation, except for the new
CPU buying?
Do filesystem settings help it?
And the second question - are there any obstacles for adding not 2 but 1
processor, that is - is a presence of 3 CPUs less correct than 4 CPUs or not?
Thank You.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2000 01:46 AM
тАО04-04-2000 01:46 AM
Re: Dealing with big number of system calls
system calls. You could try spreading the filesystem across multiple disks -
if there is more than one filesystem being accessed, put each filesystem on a
different disk (or spread them as much as the number of disks allows). You
could also try striping (placing each logical volume in stripes across multiple
disks).
As far as adding a 3rd CPU, there is nothing wrong with it. The # of CPUs
isn't restricted to an even number or power of 2 or anything like that. I've
got a box with 3 CPUs and one with 5 and they both run just fine.
HTH
-Evan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-19-2007 09:09 AM
тАО01-19-2007 09:09 AM
Re: Dealing with big number of system calls
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-19-2007 02:27 PM
тАО01-19-2007 02:27 PM
Re: Dealing with big number of system calls
80 - 90 physical IO/second is more likely to be more that 200KB/second but still low.
What are the usr:sys:idle ratios?
Little idle left, so you are cpu bound?
Short of fixing the 3rd party application, more CPUs are possibly needed. There are no tuning knobs for the application? Bigger IOs? larger internal cache?
It can certainly be appropriate to have an odd number of CPUs. But if you are going to order something and open the box and take the downtime then adding a pair and really making a difference in potential performance might be more effective. If your software has a per cpu license (Oracle?) then you coudl add it in and not use it (for now).
Also be sure to add more memory as you add CPU power. That is likely to be needed.
Now adding memory often needs to be done in pairs or even quads to fil 'banks' and get balanced interleaving. For CPUs that is not the case in designs I am familiar with.
You did not mention the box, some systems come with 2 CPUs per board/cell/chips giving you no choice.
Good luck,
Hein van den Heuvel
HvdH Performance Consulting.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-19-2007 02:30 PM
тАО01-19-2007 02:30 PM
Re: Dealing with big number of system calls
I did a submit, but do not see my or other replies. The index shows 2 replies. Odd.]
38,000 sys calls/sec may be reasonable, with 10,000 reads / sec, and some timer and lock calls probably. 4mb/sec is not much. small IOs? What tool did you use to see that?
80 - 90 physical IO/second is more likely to be more that 200KB/second but still low.
What are the usr:sys:idle ratios?
Little idle left, so you are cpu bound?
Short of fixing the 3rd party application, more CPUs are possibly needed. There are no tuning knobs for the application? Bigger IOs? larger internal cache?
It can certainly be appropriate to have an odd number of CPUs. But if you are going to order something and open the box and take the downtime then adding a pair and really making a difference in potential performance might be more effective. If your software has a per cpu license (Oracle?) then you coudl add it in and not use it (for now).
Also be sure to add more memory as you add CPU power. That is likely to be needed.
Now adding memory often needs to be done in pairs or even quads to fil 'banks' and get balanced interleaving. For CPUs that is not the case in designs I am familiar with.
You did not mention the box, some systems come with 2 CPUs per board/cell/chips giving you no choice.
Good luck,
Hein van den Heuvel
HvdH Performance Consulting.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-19-2007 02:49 PM
тАО01-19-2007 02:49 PM
Re: Dealing with big number of system calls
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-19-2007 04:47 PM
тАО01-19-2007 04:47 PM
Re: Dealing with big number of system calls
~cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2007 01:27 PM
тАО01-20-2007 01:27 PM
Re: Dealing with big number of system calls
More processors will help. The quantity that you can add is very dependent on what computer you have. However, with 12 in the run queue, a better number might be to add 4 or even 6 processors. The idea here is process the cache in parallel to help with the poor programming.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-29-2022 12:39 AM - last edited on тАО11-11-2022 03:25 AM by Sunitha_Mod
тАО09-29-2022 12:39 AM - last edited on тАО11-11-2022 03:25 AM by Sunitha_Mod