09-11-2014
Quote:
Originally Posted by
MadeInGermany
swap -s is confusing because it displays swapped KB plus swappable RAM KB.
It displays virtual memory statistics. These statistics are unrelated at all with the swap area. They would exist even with no swap area at all. Unless there is no swap area, all virtual memory is swappable (more precisely paginatable if such word exists).
Quote:
According to swap -l, nothing is swapped out; the 20972720 blocks/2 = 10486360 KB = 10 GB are free.
Depends on how you define free. 240 MB out of these 10 GB are not free, being reserved.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
When i re-updated my system i set my swap at 500 MB. I have 256 in ram and have never even gone into the 250 mb of swap that i had originally configured. How do I reduce the swap? (3 Replies)
Discussion started by: macdonto
3 Replies
2. UNIX for Dummies Questions & Answers
Is it really so that if swap will be located in the begining of hard drive, than it will work faster? (1 Reply)
Discussion started by: Ty3
1 Replies
3. Solaris
When i try to type swap -l ,nothing come out but blinking.
May i know what is the problem and solutions ?
thanks (6 Replies)
Discussion started by: Farbegas
6 Replies
4. Solaris
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
5. HP-UX
I have a HP-UX B.11.23 server with 16 gb of memory 84 gb of swap configured. I am being pushed to define more swap to try and get more Tuxedo domains to start. At what point do we have too much swap for the amount of memory? Thanks in advance. (11 Replies)
Discussion started by: scotbuff
11 Replies
6. Red Hat
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
7. HP-UX
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... (6 Replies)
Discussion started by: lamoul
6 Replies
8. Solaris
Solaris experts,
Am struggling, and wondering for the past more than one week that, how to calculate the total available and used memory/swap space.
Finally installed and used top & got some understanding, but while cross-checking, there are mismatches.
Main Memory
top o/p - 2GB... (7 Replies)
Discussion started by: thegeek
7 Replies
9. Red Hat
Hi,
I have added a new disk to production server. How to make it visible to os and how to configure it. I also want to add some space from that disk to swap space. Please help me out. (1 Reply)
Discussion started by: chetansingh23
1 Replies
10. Solaris
Hi,
Can somebody please help here, since iam just a beginner.
According to my book knowledge.
the Avalilable memory calculated by swap -l (includes only swap) should be small as compared to swap -s value(includes Virtual memory=swap +physical).
but this is quite opposite in my case.
swap... (6 Replies)
Discussion started by: Laxxi
6 Replies
LEARN ABOUT HPUX
remote_nfs_swap
remote_nfs_swap(5) File Formats Manual remote_nfs_swap(5)
NAME
remote_nfs_swap - enable swapping across NFS
VALUES
Default
Allowed values
DESCRIPTION
This tunable controls adding a NFS filesystem for use as swap. If is set to only local filesystems and devices can be used for swap. If
it is set to both local and networked file systems can be used for swap.
Historically, this tunable was used in NFS clusters that are no longer supported, but this capability has not yet been removed.
Who Is Expected to Change This Tunable?
Anyone.
Restrictions on Changing
Changes to this tunable take effect on the next boot.
When Should the Tunable Be Turned On?
Almost never. As previously mentioned, this tunable was designed for systems which are not in use today. Only systems with extremely
robust NFS capabilities should even consider using NFS for swap.
What Are the Side Effects of Turning the Tunable On?
If the value is set to and a NFS partition is added as swap, then some kernel memory will be set aside for NFS transactions to the swap
file system. The kernel will then use the NFS swap partition just the same as a local file system. If the NFS capabilities of the system
are not robust, this could lead to extremely long swap times (both swap in and swap out), and possibly a loss of memory because all the
reserved memory and more could be used by NFS (just when memory pressure is high) causing the need for swap.
When Should the Tunable Be Turned Off?
Unless you are positive that the NFS system can handle the load of being used as swap, and does not have a local file system or disk drive
to spare, this tunable should be set to
What Are the Side Effects of Turning the Tunable Off?
Any previously defined NFS swap filesystems will no longer be allowed. Kernel memory will not be reserved for NFS transactions due to
swap.
What Other Tunables Should Be Changed at the Same Time?
None.
WARNINGS
All HP-UX kernel tunable parameters are release specific. This parameter may be removed or have its meaning changed in future releases of
HP-UX.
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 remote_nfs_swap(5)