- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Swap parameters
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
01-09-2001 12:29 AM
01-09-2001 12:29 AM
Then I checked those parameters... I found that the swchunk value is 6144 but the help tells it would be an integer power of two, i.e., the possible values would be 2048,4096,8192,16384,...
I find nothing in "HP-UX Memory Management White Paper (Part II)" about this issue.
Is that true ? Is my swchunck value wrong ?
If it is wrong and needs an integer power of 2, what value is used now on my system ?
Does it impact my system performance ?
Thanx in advance
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2001 02:32 AM
01-09-2001 02:32 AM
Re: Swap parameters
swchunk defaults to 2048 and can be adjusted to 16384.
The value you're using now seems a bit weird...
You should probably adjust it to 8192.
Total swap space is defined by:
swchunk * maxswapchunks * DEV_BSIZE
where DEV_BSIZE is 1024 bytes.
Here is a document that may help you in adjusting all kernel parameters:
http://docs.hp.com/hpux/onlinedocs/os/KCparams.OverviewAll.html
Best regards,
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2001 02:40 AM
01-09-2001 02:40 AM
Re: Swap parameters
http://www.docs.hp.com//hpux/onlinedocs/os/KCparam.SwChunk.html
Minimum : 2048
Maximum : 16384
Default : 2048
Check the url above for further info.
Regards
Darrel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2001 06:11 AM
01-09-2001 06:11 AM
SolutionYes, the value of 'swchunk' should be a power of two. 'swchunk' defines the "chunk" size, or minimum unit involved in swap activity. Thus, 'swchunk' is the smallest unit of allocation of device or filesystem swap. 'swchunk's are divided into DEV_BSIZE bytes. Since DEV_BSIZE is a fixed constant of 1024 bytes which cannot be changed, 'swchunk' must be a multiple of 1024 -- a power-of-two.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2001 12:52 AM
01-17-2001 12:52 AM
Re: Swap parameters
Only change maxswapchunks, which is what the message really suggests doing.