Esato

Forum > General discussions > Non mobile discussion > What is linux swap partition ?

Author What is linux swap partition ?
luvsanro
P1
Joined: Jan 22, 2004
Posts: 156
From: SAN
PM, WWW
Posted: 2005-11-05 16:22
Reply with quoteEdit/Delete This PostPrint this post
I am preparing for installatin of red hat linux. I m creatin a partition [Ext3] using partition magic but it is askin bout a swap partition ? Dnt know wat is the purpose of that ? Plz tel
[size=85]Play Mass Effect | PhotoGraphy | SCRIPTS | [url=http://www.devilsan.com/1/p
Cycovision
P990
Joined: Nov 30, 2003
Posts: > 500
From: England
PM, WWW
Posted: 2005-11-05 16:30
Reply with quoteEdit/Delete This PostPrint this post
The swap partition is the portion of the hard drive that linux uses as virtual memory when it runs out of physical memory. It's similar to the windows swap file only instead of using an actual file, linux uses a partition on the hard drive instead.

The partition size should typically be twice as much as the amount of memory that your computer has. So, for example, if your computer has 512Mb of ram, you should create a swap partition of at least 1024Mb.
sailaab
S700
Joined: May 19, 2005
Posts: > 500
From: India
PM
Posted: 2005-11-05 16:40
Reply with quoteEdit/Delete This PostPrint this post
Dunno about Linux per se.. But a Swap Partition (Or Swap File) is some kinda Rescue mechanism an OS has. Basically a 'swap' area is not available for user. In times one needs an emergency Repair/ Format- this dud space gets used. If one has lavish disk space- keep it at 10% (otherwise 5%) of formatted disk capacity. However, I've also seen Swap area of just 500Mbytes. Sorry, not much help. But Google for 'swap file' & loads of it would be there..

This message was posted from a S700

Cycovision
P990
Joined: Nov 30, 2003
Posts: > 500
From: England
PM, WWW
Posted: 2005-11-05 16:55
Reply with quoteEdit/Delete This PostPrint this post
@sailaab

You're thinking of a recovery partition, not a swap partiton / file

The swap file / partition is used when the OS runs out of RAM memory. It starts using the hard drive as memory instead until RAM memory is freed up again.

_________________
'He who laughs last, laughs longest. Or didn't get the joke...'

[ This Message was edited by: Cycovision on 2005-11-05 15:57 ]
Johnex
P990
Joined: Nov 26, 2002
Posts: > 500
From: Stockholm/Sweden
PM, WWW
Posted: 2005-11-05 17:11
Reply with quoteEdit/Delete This PostPrint this post
Cyco is right, it is a virtual memory partition.

This message was posted from a Z1010

sailaab
S700
Joined: May 19, 2005
Posts: > 500
From: India
PM
Posted: 2005-11-05 17:19
Reply with quoteEdit/Delete This PostPrint this post
Tsch Tsch ! I slept too much this afternoon. @Cyco- You are right.. Whatever a drowsy man can do ! Guess I got too mixed up.

This message was posted from a S700

Access the forum with a mobile phone via esato.mobi