- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: dbc_max_pct and device swap
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
10-03-2003 02:24 AM
10-03-2003 02:24 AM
It seems that our HP-UX 11 is swapping.
# swapinfo -tam
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 1024 230 794 22% 0 - 1 /dev/vg00/lvol2
reserve - 794 -794
memory 465 418 47 90%
total 1489 1442 47 97% - 0 -
Can I decrease the device swapping after reducing dbc_max_pct ?
I have a DBMS running with a lot of cache memory allocated. Instead of reducing cache memory, maybe reducing dbc_max_pct is a workaround for reducing the swapping activity.
Thanks in advance,
Franky
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2003 02:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2003 02:35 AM
10-03-2003 02:35 AM
Re: dbc_max_pct and device swap
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=227661
On a short term there is no more RAM available which leaves me either to
- reduce the DBMS cache
or to
- reduce OS buffer cache
In the discussion thread mentioned we came to the conclusion that
- reducing the swapping activity by reducing
the dbms cache
will result in better performance
- than allocating a lot of dbms cache resulting in more swapping.
There is apparently another way and that's reducing OS buffer cache which leaves me a large amount of DBMS cache allocated and yet a decrease in swapping activity.
Right ?
Franky
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2003 02:39 AM
10-03-2003 02:39 AM
Re: dbc_max_pct and device swap
What is dbc_max_pct set to now? The normal rule of thumb is to set it to 300-400MB. However, with the limited amount of memory available to you, that's going to not be much less than 50% anyway. I'm afraid there is not much tuning you can do to relieve your memory pressure. You need to go out and purchase some more RAM or accept the performance you have now.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2003 02:40 AM
10-03-2003 02:40 AM
Re: dbc_max_pct and device swap
lvcreate -L #### -n swap -C y -r n /dev/vg##
NOTE: -L = mb
swapon -f -p 1 /dev/vg##/swap
'swapon' may not complain if maxswapchucnks is OK. If it doesn't like maxswapchuncks then it will tell you.
maxswapchunks = total swap / 1024 * swchunk
sysdef | grep -i maxswapchuncks
sysdef | grep -i swchunck
/etc/fstab
/dev/vg##/swap ... swap pri=1 0 1
Note:
A) swap is contiguous
B) swap should be mirrored
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2003 02:47 AM
10-03-2003 02:47 AM
Re: dbc_max_pct and device swap
FYI : dbc_max_pct is now set to 25% with 640 MB RAM .
Regards,
Franky