-   Linux - Newbie (
-   -   need for swap partition? (

samik_ban 07-31-2003 02:32 AM

need for swap partition?
what is the need of swap partition in far as i know every os uses the hard disk for swapping pages then why do i require a separate swap partition for linux.

JZL240I-U 07-31-2003 03:42 AM

A partition is on the hard disk, it's just a compartiment or logical drive, which would get a drive letter of it's own under windows ... so for all practical purposes it is a hard drive.

jharris 07-31-2003 03:58 AM

As I understand it the swap partition gives a performance advantage over having a swap file on a normal partition as you don't have the extra file system layer that need processing between read/writes. The swap partition is the filesystem if you see what I mean.

Welcome to LinuxQuestions!



koyi 07-31-2003 11:49 AM

Sorry for the interruption but I have a simple question regarding swap partition, too. If I am to install 2 distros on the same machine, is one swap partition enough for me or do I have to make 2 of them?

jharris 07-31-2003 11:54 AM

They can share the swap partition without any problem.



Bolivar 07-31-2003 11:57 AM

the swap file is used as "ram" once your ram is full
on most newer systems this isnt an issue with linux
its more of an issue with windows due too the poor memory management
the swap file came in handy back in the day when ram was really expensive
debian for example will allow you to procede with the install without a swap
the distro i use i set my swap so small its really of no use
but at a gig of ram ill never fill it up

koyi 07-31-2003 12:07 PM

Thanks :)

darin3200 07-31-2003 12:26 PM

I only have 512 mb and I never used more then 300.

All times are GMT -5. The time now is 11:40 AM.