- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Lesser evil - paging or buffer cache miss?
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
06-20-2003 09:37 PM
06-20-2003 09:37 PM
Lesser evil - paging or buffer cache miss?
However, I believed (rightly or wrongly) that PAGEOUTs were far worse than a cache miss.
What do you think?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2003 10:14 PM
06-20-2003 10:14 PM
Re: Lesser evil - paging or buffer cache miss?
(
Hi Dan,
There are atleast 5 posts on the same subject. I hope this thread will survive the cleaning.
The answer is 'it depends'. What do you have on the system?
If it oracle database, then there is no point in keeping more than 300-400MB of buffer cache. Oracle does it own buffering. And moreover if your system does a lot of synchronous writes, your buffer cache will be useful for only read-aheads. If your disk system also has it's own cache, then I wouldn't be much worried about cache misses on the system. I will keep an eye on sar and sar -d ( or iostat) and see if the system is waiting on IO.
On the other hand, paging out is dangerous. With cache misses, there is a chance of system being impeded. But with pageouts, we are sure that the execution times will increase as the pagedout pages will have to be paged in again. The next level is swapouts/deactivations and let us not go there.
)
Also, it will be helpful if you can post the outputs of the following when your system is busy
swapinfo -mat
sar 5 12
sar -d 5 12
sar -b 5 12
sar -q 5 12
vmstat 5 5
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2003 03:05 AM
06-21-2003 03:05 AM
Re: Lesser evil - paging or buffer cache miss?
When a running process can't complete its work and is deactivated via swapping its real bad. Its worse if the swapped process's state changes from running to wait or sleep, for example its waiting on I/O.
The only way you stop pageouts is by reducing the load on the server (* killing processes *) or by adding more physical memory.
Regarding "...decreasing an over-sized buffer cache (11.0) may resolve paging but ..."
I don't know how much physical memory you'll gain but on paper it seems worthy. How did you conclude the 'over-sized buffer cache' on HP-UX 11.00?
Measure cache with 'sar -b 5 5'
Change with 'dbc_min' and 'dbc_max'.
What are your 'dbc_min' and 'dbc_max'?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2003 11:29 AM
06-21-2003 11:29 AM
Re: Lesser evil - paging or buffer cache miss?
Be careful that pageouts are not for memory mapped files but for actual processes. This can be deduced when the buffer cache is not at the lowest setting and still there is some paging. Or look to see that only interactive processes are in the swapped state (ps -efl | sort -rn).
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2003 01:43 PM
06-21-2003 01:43 PM
Re: Lesser evil - paging or buffer cache miss?
Surprisingly, there is even a downside when the buffer cache gets so big even with no memory pressure. The time required to search the buffer cache can exceed the time required to do a physical I/O operation - especially in the case where like virtually all modern disks there is on-board cache on the disk (or disk array) itself. For 11.11, most boxes peak out somewhere around 800-1200 MB of cache and 11.0 is typically half of that - your mileage will vary.
These are the kinds of questions that a good cheap sandbox is made to answer. There is no substitute for doing these measurements yourself.