Go Back   Linux Forums by TotalPenguin! Get linux Help! > Linux > Linux Hardware

Linux Hardware All about Hardware Post your questions here about Hardware Issues and Linux

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-27-2008, 05:29 PM
TotalPenguin's Avatar
Administrator
 
Join Date: May 2007
Posts: 414
TotalPenguin will become famous soon enoughTotalPenguin will become famous soon enough
Default Swap Partition? Why?

Why do we need swap space? What is it used for?
__________________
Business Directory
Technology Blog
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 02-28-2008, 05:38 PM
Tor Tor is offline
Senior Member
 
Join Date: Oct 2007
Posts: 364
Tor is on a distinguished road
Default

It is used as memory, the same as RAM. Only it is slower so the OS moves memory storage to it that isn't used frequently or fast.
Reply With Quote
  #3 (permalink)  
Old 02-29-2008, 01:04 PM
Senior Member
 
Join Date: Jan 2007
Posts: 133
Wanch is on a distinguished road
Default

It is to add more memory to your machine. Even Windows has it although it is a swap file and much slower. Using a swap file you can't defrag your entire partition.
Reply With Quote
  #4 (permalink)  
Old 03-03-2008, 07:06 PM
Senior Member
 
Join Date: Feb 2008
Posts: 106
Justice M will become famous soon enough
Default

Isn't it also used for dual-booting operating systems? I think I've heard of this term when a friend of mine used Windows Vista and dual-booted Ubuntu Linux on his machine.
Reply With Quote
  #5 (permalink)  
Old 03-22-2008, 11:59 AM
TotalPenguin's Avatar
Administrator
 
Join Date: May 2007
Posts: 414
TotalPenguin will become famous soon enoughTotalPenguin will become famous soon enough
Default

Well it is not used for dual booting, even if you install Ubuntu alone on a machine as far as I know it will still need a SWAP partition.
__________________
Business Directory
Technology Blog
Reply With Quote

Sponsored Links
  #6 (permalink)  
Old 03-25-2008, 03:48 PM
Member
 
Join Date: Jan 2008
Posts: 75
LinuxBomber is on a distinguished road
Default

So the bigger the SWAP partition the better the performance?

And why is a swap file slower than a swap partition?
Reply With Quote
  #7 (permalink)  
Old 03-27-2008, 05:59 PM
Junior Member
 
Join Date: Jan 2008
Posts: 28
Beryl is on a distinguished road
Default

Do all Linux distros need this?
Reply With Quote
  #8 (permalink)  
Old 03-28-2008, 09:30 PM
TotalPenguin's Avatar
Administrator
 
Join Date: May 2007
Posts: 414
TotalPenguin will become famous soon enoughTotalPenguin will become famous soon enough
Default

I think that depends from the kernel, but I think that a swap partition or a swap file is always required, but it seems like linux uses swap partition not files.
__________________
Business Directory
Technology Blog
Reply With Quote
  #9 (permalink)  
Old 06-18-2008, 02:53 PM
Member
 
Join Date: Jun 2008
Posts: 67
EugenS is on a distinguished road
Default

What's the difference, in terms of performance, between a swap partition and a swap file? Why would a partition be faster than a file?
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Add more swap space? Tor Linux Hardware 8 06-21-2008 09:08 PM
Label a Linux Swap Partition erik Linux Hardware 1 10-11-2007 11:25 PM
Copy hard disk or partition image to another system using a network and netcat (nc) kernel Linux News 0 08-13-2007 10:46 AM


All times are GMT. The time now is 11:37 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.