Swap device file and swap sapce


 
Thread Tools Search this Thread
Operating Systems HP-UX Swap device file and swap sapce
# 1  
Old 03-01-2010
Swap device file and swap sapce

Hi

I have an integrity machine rx7620 and rx8640 running hp-ux 11.31. I'm planning to fine tune the system:

- I would like to know when does the memory swap space spill over to the device swap space?
- And how much % of memory swap utilization should be specified (swap space device file) based on the memory that is on system. Are there any formula to it?

Thanks in advance.
# 2  
Old 03-02-2010
Its more a question of how much memory (RAM) you have installed in the server...
So more you have memory less swap you will need... just remember HP-UX is a "virtual memory" OS, you need to know what will be the maximum memory load (apps + buffers etc...) in order to not get the message " no more memory"...
# 3  
Old 03-02-2010
I can't access it from work here but I think this is the link to a guide on HP-UX's memory management. Hard work but everything you need to know is in here...

http://docs.google.com/View?docid=dc7s6mzr_56cgsg9g
# 4  
Old 03-02-2010
could somweone explain the output for me about this swapinfo -tam of my hp-ux box running HP-UX ottux005 B.11.31 U ia64 2350683027 unlimited-user license.

Code:
root@rcton:/home/root$ swapinfo -tam
             Mb      Mb      Mb   PCT  START/      Mb
TYPE      AVAIL    USED    FREE  USED   LIMIT RESERVE  PRI  NAME
dev        8192       0    8192    0%       0       -    1  /dev/vg00/lvol2
reserve       -    8192   -8192
memory    37875   34479    3396   91%
total     46067   42671    3396   93%       -       0    -


Last edited by Scott; 03-02-2010 at 06:19 PM.. Reason: Code tags please...
# 5  
Old 03-02-2010
To reiterate vbe's question. How much memory is fitted on your system? Could it be 64 Gb ?

The figures in the "total" row from "swapinfo" suggest that you are very close to running out of swap space. With these numbers approaching 50 Gb this is clearly a big system. Running with 3 Gb free is risky.

First inclination is to donate a 72 Gb disc to swap, monitor, and then stop to think.
# 6  
Old 03-03-2010
yes, it's ia 64 bit rx7620 with 40g of ram
# 7  
Old 03-04-2010
I'd say adding 2 more swap lvols of same size (8192 -to balance the load if ever it uses swap) will solve your coming issue (no more memory although you have plenty...) that will let you load an extra 15 GB of application/programs (you know like a new greedy oracle instance...). If you want to be safe add another one... that make 32 GB of swap (seen as VM...)
Now the new ones you add as said previously for performance should all be the same size and in different Volume groups.
Your system by the look of things favours pseudoswap rather than device so it will continue to work the same way... only adding that extra allows the system to have far more memory to address...
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Solaris 10 swap device and filesystem

Hi all, Q1) Due to application requirement, i am required to have more swap space. Currently my swap is on a partition with 32GB. I have another partition with 100GB, but it already has a UFS filesystem on it. Can i just swap -d /dev/dsk/current32gb and swap -a /dev/dsk/ufs100gb ? Will... (17 Replies)
Discussion started by: javanoob
17 Replies

2. Solaris

Explain the output of swap -s and swap -l

Hi Solaris Folks :), I need to calculate the swap usage on solaris server, please let me understand the output of below swap -s and swap -l commands. $swap -s total: 1774912k bytes allocated + 240616k reserved = 2015528k used, 14542512k available $swap -l swapfile dev swaplo... (6 Replies)
Discussion started by: seenuvasan1985
6 Replies

3. OS X (Apple)

No eol in swap file

I was editing a file with vi and crashed so when I opened the file again I had the .swp file to deal with. I made the wrong choice trying to recover my file and wound up with a file with no eol (end of line) characters. I have forgotten the code to substitute and don't want to make an even... (2 Replies)
Discussion started by: gale
2 Replies

4. Red Hat

swap not defined as swap

free -m : 1023 total swap space created default partition /dev/sdb1 50M using fdisk. i did write the changes. #mkswap /dev/sdb1 #swapon /dev/sdb1 free -m : 1078 total swap space this shows that the swap is on Question : i did not change the type LINUX SWAP (82) in fdisk. so why is... (5 Replies)
Discussion started by: dplinux
5 Replies

5. Solaris

Swap sapce Adding ..??

How to add the Swap space... i know this procedure but it doesn/t work. swap -l to see the swap space (swap -s) Creak swap file mkdir 100m swap.file add the swap file swap -a swap.file... but it not work ..!! (9 Replies)
Discussion started by: udayn
9 Replies

6. Solaris

Swap config - Mirror swap or not?

Hello and thanks in advance. I have a Sun box with raid 1 on the O/S disks using solaris svm. I want to unmirror my swap partition, and add the slice on the second disk as an additional swap device. This would give me twice as much swap space. I have been warned not to do this by some... (3 Replies)
Discussion started by: BG_JrAdmin
3 Replies

7. Solaris

swap file not present

Hello all, We are running a 2 gig Solaris10 system. The only application that's running on the system is ours which allocates 850MB through malloc at one shot. For some reason this malloc keeps failing saying "Resource Temporarily Unavilable" After some investigation, found that it goes... (7 Replies)
Discussion started by: Naanu
7 Replies

8. UNIX for Dummies Questions & Answers

File name swap

I'm trying to write a shell script that accepts two file extensions as command line arguments and renames all files with the first extension within the current working directory to have the second extension instead. The script should print out error messages as is appropriate if there is any... (1 Reply)
Discussion started by: asianmike
1 Replies

9. UNIX for Advanced & Expert Users

Swap Device & Unix Disk Buffer

Does anyone know if when the Swap Device / Page file in unix is carrying out Page / Swap In's and Page / Swap outs, does it go through the Unix Disk Cache ( I am presuming raw partitions are not being used ) ? Therefore if there is paging activity on a system ( measured by sar -p, sar -g and... (0 Replies)
Discussion started by: jimthompson
0 Replies

10. UNIX for Dummies Questions & Answers

Swap file

I just started working with AIX and need a little help. Is there a command to find the size of the swap file. (1 Reply)
Discussion started by: paule
1 Replies
Login or Register to Ask a Question

Featured Tech Videos