Factbites
 Where results make sense
About us   |   Why use us?   |   Reviews   |   PR   |   Contact us  

Topic: Swap partition


  
  The Swap Partition
Deciding the amount of RAM that will be swapped out based on the size of swap space causes "all" pages to be swapped out immediately after they are used and the machine spends all its time moving pages in and out of memory and never gets anything done.
The need for swap is much more dictated by the demands of the processes that consume memory.
You are better off to take the space from the root partition and live in cramped disk space than to fall short of swap space.
people.debian.org /~psg/ddg/node81.html   (517 words)

  
 Virtual memory - Wikipedia, the free encyclopedia
This in turn is often combined with memory swapping (also known as anonymous memory paging), whereby memory pages stored in primary storage are written to secondary storage (often to a swap file or swap partition), thus freeing faster primary storage for other processes to use.
CPU register use is generally handled by the compiler (and if preemptive multitasking is in use swapped by the operating system on context switches) and this isn't a huge burden as they are small in number and data doesn't generally stay in them very long.
Also, by using a separate swap partition, it can be guaranteed that the swap region is at the fastest location of the disk.
en.wikipedia.org /wiki/Swap_partition   (2944 words)

  
 Linux Partition HOWTO: Partitioning requirements
Your boot partition ought to be a primary partition, not a logical partition.
With ext2, partitioning decisions should be governed by backup considerations and to avoid external fragmentation from different file lifetimes.
If you have swap space in the middle of a disk between a constantly busy home partition and an almost unused archive partition, you would be better of if your swap were in the middle of the home partition for even shorter head movements.
surfer.nmr.mgh.harvard.edu /partition/partition-4.html   (1468 words)

  
 Linux.com - Partitioning requirements
In any case a partition should be small enough that its daily delta (all modified files) fits onto one backup medium (choose incremental backup and expect to change backup media for the weekly/monthly full dump - no unattended operation possible).
Even though a given amount of swap is sufficient for its operations, the server might come under transient heavy loads which cause it to page out at a high rate.
If you have swap space in the middle of a disk between a constantly busy home partition and an almost unused archive partition, you would be better of if your swap were near the home partition for even shorter head movements.
www.linux.com /howtos/Partition/requirements.shtml   (1488 words)

  
 Installing Debian GNU/Linux 3.0 For Intel x86 - Partitioning for Debian
The partitions on each disk are represented by appending a decimal number to the disk name: ``sda1'' and ``sda2'' represent the first and second partitions of the first SCSI disk drive in your system.
Remember that the extended partition, that is, the primary partition holding the logical partitions, is not usable by itself.
About the only reason to mount a partition without initializing it at this point would be to mount a partition upon which you have already performed some part of the installation process using this same set of installation floppies.
www.debian.org /releases/woody/i386/ch-partitioning.en.html   (3497 words)

  
 Linuxbroker - Partition.html   (Site not responding. Last check: 2007-10-09)
A partition is a contiguous set of blocks on a drive that are treated as an independant disk.
A partition table (the creation of which is the topic of this HOWTO) is an index that relates sections of the hard drive to partitions.
Especially in the case of large partitions, it is safe to set the reserved space to the minimum, which is one percent.
howtos.linuxbroker.com /howtoreader.php?file=Partition.html   (6232 words)

  
 Disk partitioning - Wikipedia, the free encyclopedia
Partitions may be customized to different requirements, for example, allowing for read-only partitions to protect data - if one partition is damaged, none of the other file systems are affected, and the drive's data may still be salvageable.
An extended partition is secondary to the primary partition(s).
A /home partition is useful for desktop uses as it allows a clean reinstall (or a fresh install of another Linux distribution) while leaving data intact.
en.wikipedia.org /wiki/Partition_(computing)   (886 words)

  
 Linuxbroker - Swap-Space.html   (Site not responding. Last check: 2007-10-09)
There are several methods for sharing swap spaces, the one described in this document is probably the most complicated one but is the only one I have encountered that allows maximum performance for both environments without the risk of trashing a disk partition.
Since the swap file is on the root partition and the Linux Kernel refuses to proceed until it mounts the root file system, you are safely assured that the swap file will always be successfully activated.
The problem is that Linux uses a partition as a swap space and Windows uses a file as a swap space.
howtos.linuxbroker.com /howtoreader.php?file=Swap-Space.html   (5383 words)

  
 Linux Partition HOWTO: Setting Up Swap Space
There might be times when you've run out of swap space and it is not practical to repartition a drive or add a new one.
More than one swap partition can be used on the same system.
Notice that these three partitions are on separate drives, which is ideal in terms of speed enhancement.
www.lissot.net /partition/partition-08.html   (285 words)

  
 Swap partition size - Short-Media Forums
ext2 is the linux standard ex3 works fine, but swap partition has its own format, im not sure of what it is tho...
I think 8GB of swap space on such a system seems excessive for a desktop node, but on a server I wouldn't even shirk at giving it twice that in swap.
Swap, as Rob said, is partition type 82 and is done with mkswap.
www.short-media.com /forum/showthread.php?p=180104   (676 words)

  
 Maximum swappage
The fourth swap partition, sdd2, will be used only after the first three partitions have been exhausted.
The swap partitions will be used from highest priority to lowest priority, meaning that a partition with a priority of x will only be used only if all partitions with a priority greater than x are already full.
This allows you to not only parallelize swap, but also prioritize access so that the partitions on the fastest drives (or regions of the drives) are used first.
www-106.ibm.com /developerworks/library/l-swaptip2.html   (974 words)

  
 RAID-1, Part 2 | Linux Journal
If one of the mirrored swap partitions goes bad, the kernel automatically will fail over to the other, and your system should keep running until you can fix the disk problem.
To ensure that the root partition data will be available if one of the disks fails, you could use a daily cron job to rsync, or by some other method, sync the first disk's root partition's contents to the root partition on the second disk.
The extra partition should be at least as large as the biggest RAID device you wish backup.
www.linuxjournal.com /article/5898   (2098 words)

  
 Partitioning requirements
Your boot partition ought to be a primary partition, not a logical partition.
After 2.4, 32 swap areas are "officially" possible.
You would be even better off, if you had your swap on another otherwise unused disk, though.
www.tldp.org /HOWTO/Partition/requirements.html   (1424 words)

  
 Notes/Warnings/Tips on Dedicated OS X Swap File Partition and /etc/fstab:
Swap Cop Swapfile Utility: I've not used it personally, but there's a freeware utility for moving/changing the swapfile location available at http://homepage.mac.com/jschrier/.
I saw only a 84MB swap file created (visible in OS 9.1 on the swap partition) but apparently this is normal.
Yesterday's news had a reader report on improved performance with a dedicated swap file partition in OS X. Two readers replied to that post with a note about an issue to be aware of based on a post in the darwin mail list.
www.xlr8yourmac.com /OSX/OS_x_swapfile_notes.html   (1347 words)

  
 Welcome to JustLinux: Wanna learn Linux?
Linux will allow you to use a file for your swap space, but this is by far an inferior solution to setting aside a partition on one of your hard disk drives.
Setting aside a partition is preferable; there will be nothing on that partition save for the swapped information, eliminating the possibility of fragments.
With Partition Magic (as I would have been with fips or DiskDruid), I was able to resize one of my extant NTFS partitions, and set aside about 150 megs for use as my swap partition.
www.justlinux.com /nhf/Filesystems/Building_a_Swap_Partition.html   (1274 words)

  
 swap partition - LinuxQuestions.org
Windows XP uses a swap file i.e pagefile.sys and linux normally uses a swap partition.
Swap and memory utilization are quite different in linux.
With Mandrake since you are creating the partitions ahead of time you will need to select expert mode and then select the partition for the mount point and swap as desired.
www.linuxquestions.org /questions/showthread.php?t=197379   (2353 words)

  
 Linux.com - Linux Swap Space Mini-HOWTO: The Procedure
Turn off swapping by editing the /etc/fstab file and commenting the line that describes your swap partition.
Using fdisk under Linux, delete the swap partition in order to create free space on the disk.
If you cannot create the partition (probably because DOS FDISK says that all the space in extended partition is allocated to the logical drive), you can use fdisk or cfdisk under Linux to create the partition.
www.linux.com /howtos/Swap-Space-6.shtml   (2000 words)

  
 Mike's Mac OS X Management Software and Tips: Moving Swapfiles to Another Partition
Because of this, mount's query to fstab failed to mount the swap disk.
In particular, I can't seem to solve the "Swap 1" problem with the troubleshooting methods I've described -- the swap partition simply isn't getting mounted before virtual memory is activated.
Be sure to dismount "swap 1", remove /Volumes/swap and /Volumes/swap 1, and recreate /Volumes/swap before restarting after trying a general or explicit mount call in the /etc/rc script.
www.bombich.com /mactips/swap.html   (1105 words)

  
 Problem installing YaST, SWAP partition - LinuxQuestions.org
Once you have set up a larger swap partition, you may still switch to graphical mode.
If you have a swap partition and the installer doesn't automatically pick it up, you may need to say "swapon /dev/hda2" (or whatever partition).
/dev/hda1 is the first partition on the first hard drive, /dev/hda2 is the second, /dev/hda3 is the third and /dev/hda4 is the fourth.
www.linuxquestions.org /questions/showthread.php?t=260355   (1303 words)

  
 MacAddict Forums / Swap File/Partition Madness
You probably don't need to worry about a seperate swap partition unless your machine is significantly performance-challenged to begin with.
Anyway, Jaguar changed the path to my swap partition and reset it back to my OS X partition, and I haven't had the stones to change it back.
I'd already set up a small partition for swap, and had used it for a while until whatever OS X upgrade re-wrote my fstab, etc. moving my vm back to my OS X partition.
www.macaddict.com /forums/post/87652   (1234 words)

  
 RAID-0 (fakeraid) and /swap partition   (Site not responding. Last check: 2007-10-09)
Create a partition on each disk for swap, then add both swap parititons with the same priority.
This might be slower than a partition based swap, due to file system fragmentation, etc...
I think the kernel keeps a map of the disk sectors on which the swap file resides, so I don't think it will increase the number of disk accesses...
kerneltrap.org /node/7095   (560 words)

  
 cryptoswap   (Site not responding. Last check: 2007-10-09)
The cryptoswap package supports building an encrypted swap partition when a system boots.
This may be necessary on systems that use encrypted filesystems because plaintext secrets may be written to disk when memory is swapped to disk.
This is a good solution for systems with a lot of memory and/or (encrypted) swap.
www.flyn.org /projects/cryptoswap/index.html   (304 words)

  
 Linux: Partitioning requirements - Linux Partition   (Site not responding. Last check: 2007-10-09)
, your boot partition must be contained within the first 1024 cylinders of the drive.
With ext2, partitioning decisions should be governed by backup considerations and to avoid external fragmentation (
A very old rule of thumb in the days of the PDP and the Vax was that the size of the
www.linuxforum.com /linux-partition/partition-4.html   (1487 words)

  
 BigAdmin - Submitted Tech Tip: Managing swap in the Solaris OS
to raw disk partitions and to file systems, and it also uses physical RAM as a
to a raw partition, as compared to a file system, because a raw partition doesn't involve the overhead of the file system.
Identify a free disk partition on your system.
www.sun.com /bigadmin/content/submitted/manage_swap.html?feed=RSS   (677 words)

  
 Linux Swap Space Mini-HOWTO
This Linux Mini-HOWTO describes how to share your Linux swap partition with Windows.
As we saw, Linux and Windows can share their swap spaces.
Linux knows about two styles of swap areas, the old style and the new style.
www.cs.wisc.edu /niagara/data/lindoc/Swap-Space.xml   (5284 words)

Try your search on: Qwika (all wikis)

Factbites
  About us   |   Why use us?   |   Reviews   |   Press   |   Contact us  
Copyright © 2005-2007 www.factbites.com Usage implies agreement with terms.