09-16-2009
The "twice as much swap as ram" rule of thumb comes from the good 'ol days when you never, ever had enough RAM and always burdened your system to the breaking point. The performance cost of waiting for swap is much higher than it used to be since CPU and RAM have sped up much faster than disk seeking; you'd need a RAID for multiple gigs of swap to be useful now. I never give more than a gig of swap for single-disk systems, usually just 512M.
That sounds like a good system to install Linux on.
Old enough to be cheap, powerful enough to be useful. We used one for 3 years for everything you want plus file storage, DVD burning, and a hefty live database on top of that, often at the same time. A PIII can do a lot if you don't put Windows on it...
Last edited by Corona688; 09-16-2009 at 03:18 PM..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
first of all, sorry about my english...I´m a spanish newbie to this marvelous OS and i have just a couple of doubts...u know? :-)
1) how big should my swap partition be if i installed debian 2.2r3 or FreeBSD 4.x on a AMD k7 1400Mhz with 512Mb of Random Access Memory?
i heard that those OS... (1 Reply)
Discussion started by: I[X]ION
1 Replies
2. UNIX for Dummies Questions & Answers
How big do I set the swap partition when i'm setting up my hard drive to install RedHat. (Using Partition Magic)
thanks!
primal (2 Replies)
Discussion started by: primal
2 Replies
3. 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
4. UNIX for Dummies Questions & Answers
I run a dual boot WinXP/Red Hat 8 system on my laptop. Since my hard drive is inherently small(laptop) I am trying to creat a swap partition for keeping mutually used files such as music/video etc... I have created a 2.5GB Fat32 partition with Partition Magic Pro and have windows recognizing the... (2 Replies)
Discussion started by: djtrippin
2 Replies
5. Linux
What does a swap partition do exactly? I was messing arround with a linux machine at my school and i deleted the swap partition using fdisk and then rebooted the machine and it worked fine and wrote a swap partition back in...lol. Is it a nessary part of the OS to use that partition? (7 Replies)
Discussion started by: byblyk
7 Replies
6. Linux
Dear Folks
Is there anyway to give a UUID to a swap partition? mkswap on CentOS 5 (util-linux-2.13-0.45.el5_1.1) appears to override this option ;-(
# swapoff -a
# mkswap -L swap1 /dev/sda3
Setting up swapspace version 1, size = 4293591 kB
LABEL=swap1, no uuid
And there's no... (3 Replies)
Discussion started by: Santi
3 Replies
7. Solaris
Dear All
Anyone can help me what is the problem of swap partition? swap partition is showing mounted in df -h command output.
Regards
prakash (1 Reply)
Discussion started by: pshelke
1 Replies
8. Filesystems, Disks and Memory
Hi,
running mount, I get the following, no part1 swap
as part1 swap has been created
and is listed below.
System works fine anyway.
As I cannot unmount part1, what is a standard procedure to make part1 on.
Jack
=============
..
$ free
total used free shared buffers cached
Mem:... (2 Replies)
Discussion started by: jack2
2 Replies
9. HP-UX
Hey Guys.
Let show our disk-mapping structure on HP-UX B11.11
with df :
# df
/home (/dev/vg00/lvol5 ): 18979652 blocks 1224395 i
/opt (/dev/vg00/lvol4 ): 120276192 blocks 1894100 i
/var (/dev/vg00/lvol6 ): 19380328 blocks ... (3 Replies)
Discussion started by: aggadtech08
3 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
info(4) Kernel Interfaces Manual info(4)
NAME
info - diskless client configuration information file
DESCRIPTION
The file is a POSIX shell sourceable file which contains parameter definitions used at boot time. Typically, it will be an empty file and
default values will be used for all parameters. Following is the list of parameters which can be defined in the file:
Specifies the IP address of the client's private root server. If this is not
specified, the client's private root server defaults to the boot server.
Specifies the pathname to the client's private root on the private root
server. If this is not specified, the client's private root path defaults to
Specifies the NFS mount options to mount the client's private root from
the private root server. If this is not specified, the mount options default to
Specifies the NFS mount options to mount the client's
directory from the boot server. If this is not specified, the mount options default to
Specifies whether NFS should be configured as primary swap. (NOTE: In
order to swap to NFS, a diskless kernel must be configured with tunable parameter set to 1.) If a diskless
machine has a local swap disk and swap to NFS is not desired, the parameter should be set to the value of 1
and the diskless kernel should be configured without setting to 1. If this parameter is not specified in
the file and the kernel tunable parameter is set to 1, then NFS will be configured as primary swap.
If not set, this parameter defaults to a value of 1, and results in the
removal of all swapfiles above the configured swap minimum (swap is specified in the client's when a disk-
less client boots. This ensures that extraneous swapfiles at boot time are removed, thus freeing disk
space. If is set to 0 in the file, removal of extra swapfiles is disabled. This may result in faster boot
times due to the time savings in creating additional swap files.
The file resides in the same directory as the client's kernel () on the boot server and is retrieved at boot time using command. By
default, when a diskless client is created, an empty file is placed in the client's kernel directory. This ensures that all parameters
revert to their default values (see above). If the file is not present, this is an error.
EXAMPLES
An example file is shown below:
FILES
info(4)