Sponsored Content
Special Forums Hardware Filesystems, Disks and Memory Question About Drive Partition Post 15434 by LivinFree on Thursday 14th of February 2002 02:41:44 AM
Old 02-14-2002
Too much swap will result in wasted disk space.

Most systems that are properly configured, running fairly stable software should not swap all that much. I used systems with small amounts of RAM, and I still barely used any swap. Also, swap is slow... Avoid it as much as possible.

As mentioned above, a good rule of thumb for Linux swap is twice the size of your RAM - just in case.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Partition Hard drive

Hello everyone. I am new to Linux so hope some one could help me here. I have a 30 Gb HD and windows Xp is my O/S, HD is not partitioned,but I want to Partitioned it, so I could Install Knoppix(Linux)on one of the partitioned one, how could I do this? OR should I erase every thing and then... (1 Reply)
Discussion started by: amir
1 Replies

2. Filesystems, Disks and Memory

Dead partition on drive

We are still using solaris 1 with sunos 4.1.4 because nobody here knows Unix. My colleague did a backup (dump) to the wrong place (/dev/sd0h) and we lost this part of the drive. The information is still on tape but we cannot repartition the /dev/sd0h. fsck keeps on about the "wrong SUPER BLOCK"... (2 Replies)
Discussion started by: Tom Bekaert
2 Replies

3. AIX

Hard Drive Question

Good day, I have an rs/6000 server, model 7044-270. I bought a 2nd hard drive for it but im not sure its the right one. (fru:H13060) As you surely know, the 7044-270 hard drives are put in some sort of tray/carrier. There is a cable that will interface the HDD with the tray/carrier so the... (0 Replies)
Discussion started by: Netghost
0 Replies

4. AIX

Mounting Tape Drive from different partition

Dear all, I have a AIX server with logical 3 partitions and the server is connecting a tape drive. the first partition can successfully making a system backup to the tape but how can i fail to mount the tape to second and thrid partition. would anyone can help me to deal with it? what command... (3 Replies)
Discussion started by: rickhlwong
3 Replies

5. UNIX for Advanced & Expert Users

partition question

Hi I have an exam question which is below and I am looking for answer of this question: I would appreciate your help. * You are the systems administrator of a mail server that services approximately 3,000 users. 2,000 users access their email via a POP-3 service, while the remaining 1,000... (0 Replies)
Discussion started by: tjay83
0 Replies

6. Solaris

Solaris 10: Problems booting off mirror drive -- Error 22: No such partition

Solaris 10 5/08 on Ultra 40 M2 It boots fine off primary disk but having issues booting off the mirror disk. I get this error when booting off mirror disk: Booting 'Solaris 10 ... Mirror disk' root (hd1,0,a) Error 22: No such partition Press any key to continue... Any... (7 Replies)
Discussion started by: etc
7 Replies

7. Solaris

NFS- share drive question

Ok. Here is the situation, I have server A which need to access /tmp folder of server B. Can I mount NFS share (/tmp) from client (serverA)?please let me know (3 Replies)
Discussion started by: sam101
3 Replies

8. OS X (Apple)

How to access a NTFS partition on hard drive through Terminal in OSX ?

Hi , I have a Mac OS X Lion mac book pro. I have a hard drive which I have partitioned in two (a) OSX Partition - Mac OS Extended Journaled format. Mount point: / (b) Data Partition - Windows NT Filesystem format. Mount point: /Volumes/Data I need to access the NTFS partition (I have a... (6 Replies)
Discussion started by: neil.k
6 Replies

9. Shell Programming and Scripting

Partition script output question

Hello Everyone! I have a file called “cells” with 3 set of #'s, roughly 400+ lines. My current tool "movrcs" grabs the “cells” file, and creates one huge “mov_rcs” script which is a problem. I want the tool to grab 20 lines of the "cells" file at a time, and create separate script files for... (3 Replies)
Discussion started by: birdboyee
3 Replies

10. UNIX for Dummies Questions & Answers

How to scrub directory only if on own partition/drive?

Hi all, I've been working on a script to run a disk wipe (using Jim Garlick's scrub tool) on the filesystem in Xerox production printer RIPs. Easy enough if there's just one partition, but I need to cater for the possibility of multiple drives/partitions, and either ZFS or UFS (don't know if... (2 Replies)
Discussion started by: DavidDawesFXA
2 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 05:43 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy