- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Kernel Parms - maxswapchunks ??
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-24-2001 07:57 AM
01-24-2001 07:57 AM
Kernel Parms - maxswapchunks ??
I created a swap area with a size of 1024.
Currect kernel parameters are:
maxswapchunks 512
swchunk 2048
DEV_BSIZE ???
Q1: How do I find the value of DEV_BSIZE?
Q2: What size should maxswapchucks be?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2001 08:06 AM
01-24-2001 08:06 AM
Re: Kernel Parms - maxswapchunks ??
DEV_BSIZE is fixed at 1024 and is not configurable.
'swchunk' defaults to 2048 and generally should not be changed. 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.
'maxswapchunks' defines the maximum number of chunks of swap space allowed on the system.
Thus, the maxiumum number of bytes of swapspace is given by:
bytes of swap = maxswapchunks * swchunk * DEV_BSIZE
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2001 08:12 AM
01-24-2001 08:12 AM
Re: Kernel Parms - maxswapchunks ??
As your swap space is 1024K
and swapchunks is defined as 2048, a maxswapchunks value of 512 is enough to access all your swap space as 512*2K=1024K.
If you're planning to add more swap in the future, you could increase maxswapchunks to 2048 as this would allow for 4Gb swap.
Best regards,
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2001 01:25 AM
01-25-2001 01:25 AM
Re: Kernel Parms - maxswapchunks ??
Formul to calculate the size of maxswapchunks :
(max swap space in bytes)=maxswapchunksXswchunckXDEV_BSIZE
DEV_BSIZE is fixed at 1024
Regards
HK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2001 02:21 AM
01-25-2001 02:21 AM
Re: Kernel Parms - maxswapchunks ??
http://docs.hp.com/hpux/onlinedocs/os/KCparams.OverviewAll.html
I hope this helps
Federico