Determing size of swap space


 
Thread Tools Search this Thread
Operating Systems HP-UX Determing size of swap space
# 1  
Old 08-27-2012
Determing size of swap space

Hi Experts,

Need your advise in determining the size of swap space in of the new HP-Ux server.

Server is having 32G of physical memory.

Ideally what amout of physical memory should be allocated as a swap space?

Following document from HP suggests to have minimum swap space equivalent to physical memory on the system.

http://bizsupport1.austin.hp.com/bc/.../c02281492.pdf

I am confused if it will suffice or I need to more swap space,kindly advise.

Thanks in Advance!!
# 2  
Old 08-27-2012
Quote:
Originally Posted by sai_2507
Ideally what amout of physical memory should be allocated as a swap space?
There is no definitive answer. The amount of swap space you need depends on many factors beyond the size of the installed RAM. In any case, too large a swap doesn't hurt, too little can have very adverse effects.
# 3  
Old 08-27-2012
There was a time when you used to multipy by 2 or 3 (HPUX9-HPUX10...) then came the lowcost of RAM with servers supporting a lot and so some configuration went on with loads of RAM but then we saw issues like "How come I get < no more memory to load...> when I have 16GB of RAM and we seem to use only 12?> etc... Im glad to see HP changed it point of vue to swapsize=RAMsize, but it is only to not see anymore the previous in support...
As jlliagre explains, only you can answer for we dont know what you are running, nor how much disks space you have nor the type (yes it has its importance...). For performance I suggest if you were to create 32 GB swap device to create 4 of equal size...(load balancing...)
Tell us more what you are trying to achieve, we give you our point of vue, tuning is the art or compromize (which is the best for you?) knowing what you need to achieve is the way to go, you can finish like me 10 years ago having tuned a K360 with only 2GB RAM to run 6 oracle instances (of three diff versions...) with a sybase, and ftp server 24/24 and approx 600 users concurrent... without any performance issues...
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

/tmp size is less whereas size allocated to swap is more

Hi, the /tmp size is less whereas the size allocated to swap is quite big. how to increase the size of /tmp - #: swap -l swapfile dev swaplo blocks free /dev/md/dsk/d20 85,20 8 273096 273096 #: swap -s total: 46875128k bytes allocated + 2347188k reserved =... (2 Replies)
Discussion started by: psb74
2 Replies

2. Linux

How to reclaim the space which i used to increse the swap space on Xen,

Hi, i have done a blunder here, i increased the swap space on Xen5.6 server machine using below steps :- 1056 dd if=/dev/zero of=/root/myswapfile bs=1M count=1024 1057 ls -l /root/myswapfile 1058 chmod 600 /root/myswapfile 1059 mkswap /root/myswapfile 1060 swapon /root/myswapfile ... (1 Reply)
Discussion started by: apm
1 Replies

3. UNIX for Dummies Questions & Answers

vmstat and paging ... how to interpret and get currently swap space size

Hi, OS = Solaris 5.10 I need some guidance on interpreting vmstat to confirm whether my server is swapping or not. Can anyone please advise whether the column to check on the vmstat output is the pi column, does higher pi values means the server is swapping or am having swapping issues? ... (1 Reply)
Discussion started by: newbie_01
1 Replies

4. Solaris

Swap Space

Could someone please explain how you know how much swap space you have on your system. See below: # swap -s total: 8225048k bytes allocated + 4863488k reserved = 13088536k used, 4008032k available # swap -l swapfile dev swaplo blocks free /dev/dsk/c3t0d0s1 32,25 16... (2 Replies)
Discussion started by: jamba1
2 Replies

5. Solaris

swap size, total disk space

Hi experts, In my solaris system when i run the command df -h i got the below response.I have some confusion which i want to share with you guys.1)there are two SWAP file system shows are they same or different?2)if i want to count the total disk space should i take both the swap space or only... (2 Replies)
Discussion started by: rafiassam
2 Replies

6. UNIX for Dummies Questions & Answers

Swap space used???

Plz I need to know how much swap mem free and used i have. I'm using Compaq Tru64 UNIX V5.1A (rev 1885) Thanx (1 Reply)
Discussion started by: Lestat
1 Replies

7. AIX

swap space / paging space

how do you get the paging space reduced without rebooting the machine ? the os is aix (2 Replies)
Discussion started by: aaronh
2 Replies

8. UNIX for Dummies Questions & Answers

pageing space vs swap space

Hello, I would like to know if there is any difference between the pageing space and the swap space. Thank you in advance. (1 Reply)
Discussion started by: VeroL
1 Replies

9. UNIX for Dummies Questions & Answers

Size of swap

Hy all, i've a little problem with the size of the swap. I've an old solaris machine, with 4Go, and swap is taking 500Mo for only 1% used at any time. So : how can i change this size without problems ????? (ok it may be a stupid question, but it's a real problem when you lose about 1 or 2... (3 Replies)
Discussion started by: Olivier
3 Replies

10. UNIX for Dummies Questions & Answers

SWAP SPACE

All, I am using SOLARIS 7. I have formated my hard drive to consist of only 150MB of swap space. This isn't enough considering I am running Oracle. How do I create additional swap space? Please list sources or commands. PS mkswap doesn't work on my machine. ( I have swap and... (5 Replies)
Discussion started by: SmartJuniorUnix
5 Replies
Login or Register to Ask a Question