Go Back   TechArena Community > Software > Operating Systems
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Why do i need a SWAP partition for linux?

Operating Systems


Reply
 
Thread Tools Search this Thread
  #1  
Old 17-11-2009
Member
 
Join Date: Oct 2009
Posts: 11
Why do i need a SWAP partition for linux?
  

Hello friends. I am hardcore windows user, and i amd planning to try Ubuntu linux. But i'm afraid of trying any linux because i don't know how to partition and what partitions are needed and which are optional. Can anyone explain me Why do i need a SWAP partition for linux? Why do i need a /home partition etc. I don't know what is necessary and what is not. Please help...

Reply With Quote
  #2  
Old 17-11-2009
Member
 
Join Date: Jan 2009
Posts: 1,738
Re: Why do i need a SWAP partition for linux?

Swap Partitions are not always necessary. Swap partitions are necessary for the computers which have less physical memory. A Swap parition acts like a temporary storage which is used when all the physical memory is in use and no space for further data and programs execution. A computer with higher physical memory does not always require a swap partition as in that case the swap partition may never be used and the space would be wasted.
Reply With Quote
  #3  
Old 17-11-2009
Member
 
Join Date: May 2008
Posts: 4,080
Re: Why do i need a SWAP partition for linux?

The concept of swap is same as the concept of Paging in Windows, just the name is different and the technique, but both are achieved with similar logic. In windows : Paging is an important part of virtual memory implementation in most contemporary general-purpose operating systems, allowing them to use disk storage for data that does not fit into physical memory which is RAM. Paging is usually implemented as architecture-specific code built into the kernel of the operating system.
Reply With Quote
  #4  
Old 17-11-2009
Member
 
Join Date: May 2008
Posts: 2,674
Re: Why do i need a SWAP partition for linux?

Basically, It is better if you use Swap partition, because it may not be needed all the time, but it would be helpful when the machine is consuming too much memory and a lot of process is in execution. At this time if the computer is continuously used, the physical memory is likely to be filled and in such situation the swap partition can be used which will eventually help your computer from freezing. The swap partition can be used as much as you want but the recommendation says that the SWAP partition should be 1.5 or two times of the Physical Memory [RAM]. Hope this is useful...
Reply With Quote
Reply

  TechArena Community > Software > Operating Systems
Tags: , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Why do i need a SWAP partition for linux?"
Thread Thread Starter Forum Replies Last Post
Sharing the CentOS 5.5 Swap partition with any other Linux OS Pawna Operating Systems 5 04-05-2011 10:51 AM
Where to put swap partition in Linux foraman Operating Systems 4 02-01-2011 06:47 AM
RAID10 SWAP partition and boot NathanDS Hardware Peripherals 4 15-09-2010 11:42 AM
Create SWAP partition in CentOS Amy Adams Operating Systems 4 21-04-2010 04:56 PM
Removing Linux Swap partition from iMac MaCiNToSHeR Operating Systems 3 24-10-2009 12:25 PM


All times are GMT +5.5. The time now is 12:37 AM.