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.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
2. UNIX for Dummies Questions & Answers
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
3. UNIX for Dummies Questions & Answers
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
4. AIX
how do you get the paging space reduced without rebooting the machine ? the os is aix (2 Replies)
Discussion started by: aaronh
2 Replies
5. UNIX for Dummies Questions & Answers
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
6. Solaris
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
7. Solaris
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
8. UNIX for Dummies Questions & Answers
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
9. Linux
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
10. Solaris
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
LEARN ABOUT HPUX
swapmem_on
swapmem_on(5) OBSOLETE swapmem_on(5)
NAME
swapmem_on - OBSOLETE kernel tunable parameter
DESCRIPTION
The tunable is obsolete. Processes will always be allowed to use pseudo-swap space if it is available.
In previous versions of HP-UX, system configuration required sufficient physical swap space for the maximum possible number of processes on
the system. This is because HP-UX reserves swap space for a process when it is created, to ensure that a running process never needs to be
killed due to insufficient swap.
This was difficult, however, for systems needing gigabytes of swap space with gigabytes of physical memory, and those with workloads where
the entire load would always be in core. This tunable was created to allow system swap space to be less than core memory. To accomplish
this, a portion of physical memory is set aside as "pseudo-swap" space. While actual swap space is still available, processes still
reserve all the swap they will need at fork or execute time from the physical device or file system swap. Once this swap is completely
used, new processes do not reserve swap, and each page which would have been swapped to the physical device or file system is instead
locked in memory and counted as part of the pseudo-swap space.
WARNINGS
Installation of optional kernel software, from HP or other vendors, may cause changes to tunable parameter values. After installation,
some tunable parameters may no longer be at the default or recommended values. For information about the effects of installation on tun-
able values, consult the documentation for the kernel software being installed. For information about optional kernel software that was
factory installed on your system, see at
AUTHOR
was developed by HP.
Tunable Kernel Parameters swapmem_on(5)