Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-01-2003, 11:30 PM   #1
Registered: Jun 2003
Location: Montréal, Québec
Distribution: red hat 9
Posts: 84

Rep: Reputation: 15
Question Swap ???


What is swap memory?

This "Swap" have an effect on performance?
Old 07-02-2003, 12:30 AM   #2
Registered: May 2003
Location: S.W. Ohio
Distribution: Ubuntu, OS X
Posts: 760

Rep: Reputation: 30
Type in 'top' at the command line and it will show the processes runing, memory, and swap. It could have an effect on your system. Depend on what you are running, and on your system specs.
Old 07-02-2003, 12:34 AM   #3
Registered: Jun 2003
Location: Montréal, Québec
Distribution: red hat 9
Posts: 84

Original Poster
Rep: Reputation: 15

My swap space = 0 mb how i can activate swap?
Old 07-02-2003, 01:27 AM   #4
Registered: Jun 2003
Location: Montréal, Québec
Distribution: red hat 9
Posts: 84

Original Poster
Rep: Reputation: 15
i have created a swap partition but after the linux installtion

i have booted with win xp then i have lunched partition magic 8.0 then i create a linux swap partition but now im in linux and it's dosnt seem to works because in the configuration panel , Swap = Not availaible , total swap memory = 0 mb

but i have created the swap partition (550 mb on a other hdd , primary not logical)

i have not mounted the hdd because the hdd is for linux swap, so if i mount the hdd the swap will work or not?

I have 392 mb of ram and my hdd is always loading and now with no window open , no program running , i have 40 mb of 392mb free
Old 07-02-2003, 02:43 AM   #5
Senior Member
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Hm. If you've only got 40 free out of 392 it's either because it's cached and you actually would have it available if you needed it for something else, or you're running too many processes, if it's really being used.

You need to issue the 'swapon' command. And if you have only set aside the space, but not formatted it, you need to do 'mkswap' first. I think that's all you *have* to do but, if you want it to be automatic, you need to edit fstab to include the swapspace. You *may* need to do it anyway.
Old 07-02-2003, 02:50 AM   #6
LQ Guru
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
First you need to run mkswap on the new partition first. Then type swapon /dev/hda9. /dev/hda9 is just an example. Find out your swap partition by using fdisk or cfdisk.

LINUX uses memory differently (more efficiently) than Windows. LINUX can do with out swap for light operations. My computer has 512 megabytes of memory and it never goes to swap (over 1 gigabyte after totaling of four 256 megabyte partitions).


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux swap / solaris not appearing as swap in Ubuntu? Erik_the_Red Linux - Newbie 1 07-30-2005 12:57 PM
Swap os2 Linux - General 1 03-18-2005 08:21 PM
How to unmount actual swap and mount a new(bigger) swap space? isaac Linux - Newbie 1 06-06-2004 01:23 AM
Difference between Swap Virtrual memory and Swap Parition Nappa Slackware 4 11-27-2003 07:58 PM
Swap punker22 Linux - Newbie 3 10-14-2003 12:27 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:22 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration