- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: swapper constantly at 4-5 % 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
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
05-31-2005 04:40 AM
05-31-2005 04:40 AM
swapper constantly at 4-5 % usage
Swap space is at 5% useage, with 30 gb available. vmstat is showing no paging occurring.
kmtune|grep dbc
dbc_max_pct 20 - 20
dbc_min_pct 5 - 5
Load averages: 0.15, 0.14, 0.13
190 processes: 166 sleeping, 23 running, 1 zombie
Cpu states:
CPU LOAD USER NICE SYS IDLE BLOCK SWAIT INTR SSYS
avg 0.15 0.0% 0.0% 1.0% 99.0% 0.0% 0.0% 0.0% 0.0%
Memory: 1603148K (951272K) real, 2215960K (1495452K) virtual, 8995956K free Page# 1/15
CPU TTY PID USERNAME PRI NI SIZE RES STATE TIME %WCPU %CPU COMMAND
2 ? 0 root 127 20 32K 0K sleep 2660:20 4.25 4.24 swapper
1 ? 3 root 128 20 32K 32K sleep 5075:17 3.83 3.82 statdaemon
I have another server with half the resources and 11 oracle databases installed. Swapper is around 1%, with swap space at 42% used on this server.
Is this strange?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2005 04:48 AM
05-31-2005 04:48 AM
Re: swapper constantly at 4-5 % usage
Do you get any swap outs (a number that you need to worry about. e.g. say 10 or so)??
What does swapinfo -tam looks like??
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2005 04:58 AM
05-31-2005 04:58 AM
Re: swapper constantly at 4-5 % usage
Is it possible that these Oracle instances - or any other applications on the system - are using MRGs (Memory Resource Groups)?
If so they have their own physmem_pages and subsequent minfree/desfree/lotsfree values & the sched() (known as swapper) process would have to handle it's memory management just as if it was it's own system.
See the Memory Management Whitepaper for a detailed explanation - here:
http://docs.hp.com/en/1218/mem_mgt.html
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2005 05:02 AM
05-31-2005 05:02 AM
Re: swapper constantly at 4-5 % usage
dbc_max_pct 20 - 20
Change it to 10 or even 7 or 8.
That will drop memory use and reduce the amount of double buffering with oracle's cache.
It will also reduce the size and serverity of changes in the cpu expensive process of changing the size of this cache.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2005 05:14 AM
05-31-2005 05:14 AM
Re: swapper constantly at 4-5 % usage
The complaint is that the swapper process is using 4% t0 5% CPU on this machine constantly.
That does seem high to me. You might check for any applicable patches for the swapper process.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2005 05:34 AM
05-31-2005 05:34 AM
Re: swapper constantly at 4-5 % usage
I understood the question.
If the user had processes (or groups of processes) like a specific Oracle SID or even another application on this server set up to use MRGs then swapper would have to handle it just as it handles a "normal" system.
And quotung from the whitepaper
With Memory Resource Groups, vhand and sched behave almost as if each MRG were completely separate, with its own individual pager and swapper. (The actual implementation is a bit more complex, as it must account for processes and memory moving between MRGs, the ability for one MRG to borrow memory from another, memory use that can't be assigned to any single process (or any MRG), and the need to maintain global memory availability as well as individual MRG memory availability.)
\Endquote
Well then old swapper could be a very busy beaver. And that could certainly explain why he is w/o any "actual" paging out. Although you'll note that swap usage is at 5% so one has to assume that there is at least *some* paging going on.
My 2 cents,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2005 06:57 AM
05-31-2005 06:57 AM
Re: swapper constantly at 4-5 % usage
There are no other applications installed on the server.
Swap space is not the problem. 5% usage seems quite reasonable for a system that is not doing anything but running the Oracle processes. Most of the answers have misunderstood the question.