1826008 Members
2998 Online
109690 Solutions
New Discussion

Re: about swapinfo!

 
leyearn
Regular Advisor

about swapinfo!

now there is some description about swapinfo:

Kb FREE The amount of space that can be used for future paging. Usually this is the difference between
Kb AVAIL and Kb USED. There could be a difference if some portion of a device paging area
is unusable, perhaps because the size of the paging area is not a multiple of the allocation
chunk size, or because the tunable parameter maxswapchunks is not set high enough.
but I can't understand the "chunk size"
what's the meaning of the "chunk size"?
4 REPLIES 4
Michael Tully
Honored Contributor

Re: about swapinfo!

The chunk size is actually 2Mb.

There is a complete document on this.
/usr/share/doc/mem_mgt.txt

Also have a look at the kernel pages for 'maxswapchunks' and 'swchunk'

http://www.docs.hp.com/hpux/onlinedocs/939/KCParms/KCparam.MaxSwapChunks.html
Anyone for a Mutiny ?
Karvendhan M
Frequent Advisor

Re: about swapinfo!


I guess "chunk size" is the one unit to r/w to swap area.


see the kernel parameter help on sam.



http://www.ussg.iu.edu/hp/hpux-tune.html#maxswapchunks


~ Kars
Khalid A. Al-Tayaran
Valued Contributor

Re: about swapinfo!


Hi,

Imagine a chenk as an allocation unit. When the system allocates a chunk it allocates a number of byte in memory that corresponds to that chunk.

What is the application that your are using that requires a maxswapchunks value?? Oracle/SAP/MQ Series ?? Read the software manuals to determine the right kernel paramaters...

Use swapinfo -tam to get the swap size in megs..

leyearn
Regular Advisor

Re: about swapinfo!

to Khalid
allocating a chunk means the system will allocate a number of memory?