Sponsored Content
Full Discussion: swap -l
Operating Systems Solaris swap -l Post 302145332 by porter on Wednesday 14th of November 2007 12:47:36 AM
Old 11-14-2007
Did you run it as root?

Did it hang? Or return without printing anything?

What was the return code?

No header list of columns?

Have you managed to upgrade your system so that the version of swap you managed to use does not match the kernel?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Swap

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

About swap

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

/tmp as swap

So with solaris 10 are people not using the old /tmp as a regular UFS filesystem and making /tmp part of swap or tmpfs... what are peoples thoughts on this? (5 Replies)
Discussion started by: csaunders
5 Replies

4. 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

5. HP-UX

How much Swap is too much?

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

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

7. HP-UX

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... (6 Replies)
Discussion started by: lamoul
6 Replies

8. Red Hat

swap

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

9. Solaris

swap

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

10. 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
swchunk(5)							File Formats Manual							swchunk(5)

NAME
swchunk - swap chunk size in 1 KB blocks VALUES
Default Allowed values blocks blocks DESCRIPTION
Swap space in the kernel is managed using 'chunks' of physical device space. These chunks contain one or more (usually more) pages of mem- ory, but provide another layer of indexing (similar to inodes in file systems) to keep the global swap table relatively small, as opposed to a large table indexed by swap page. controls the size in physical disk blocks (which are defined as 1 KB) for each chunk. The total bytes of swap space manageable by the sys- tem is * 1 KB * 2,147,483,648 (the system maximum number of swap chunks in the swap table). Note that the minimum (or default) value of therefore allows 4,096 TB of swap space. The way to think of is not as the size of the I/O transactions in the swap system (in disk blocks), but as the number of blocks that will be placed on one swap device (or file system) before moving to the next device (assuming all priorities are equal). This spreads the swap space over any devices and is called swap interleaving. Swap interleaving spreads out the swap over many devices and reduces the possibil- ity of one single device becoming a bottleneck for the entire system when swap usage is heavy. Who is Expected to Change This Tunable? This tunable should only be modified by those with a complete knowledge of both kernel behavior and underlying device hardware. Restrictions on Changing Changes to this tunable take effect at the next reboot. When Should the Value of This Tunable Be Raised? If the system owner wishes to add more swap to the system, but the additional swap chunks needed are unavailable, raising this tunable will work around the problem. By increasing the size of each chunk, fewer total chunks are needed. What Are the Side Effects of Raising the Value? The second level of the swap table (used to track pages within a chunk) will increase, resulting in more memory used by the kernel. If is being increased to allow for mapping of a larger swap space, increased memory usage by the kernel to track the swap space is unavoidable. This means that more swap is allocated to each device (or file system) using the round-robin interleaving scheme when all priorities are equal. Increasing when the number of chunks needed to represent the system swap space is less than 2,147,483,648 could hinder system per- formance by creating unneeded I/O bottlenecks. For example, two pages that were in different chunks using the smaller value which were previously on different swap devices and thus accessible independently of one another (with no read head or controller issues) are now on the same device and cannot be read concurrently, resulting in a longer access time for the second page. When Should the Value of This Tunable Be Lowered? If the amount of swap space mappable by the system is much larger than the total amount of swap space which is attached (or going to be attached) to the system, which is calculable by multiplying 2,147,483,648 * 1 KB, then kernel memory usage can be reduced by lowering to fit the actual swap space. What Are the Side Effects of Lowering the Value? It may have to be raised back if more swap is added to the system and there is not enough room in the swap table to allow for the increased space. If this is not the case, then there is a finer grain of interleaving on the system (assuming there is more than one swap device) that can provide a performance gain under heavy swap usage. What Other Tunable Values Should Be Changed at the Same Time? A change to is independent of any other tunables. 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 swchunk(5)
All times are GMT -4. The time now is 04:22 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy