LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Swap ??? (https://www.linuxquestions.org/questions/linux-newbie-8/swap-69449/)

ironz 07-01-2003 11:30 PM

Swap ???
 
Hello,

What is swap memory?

This "Swap" have an effect on performance?

twilli227 07-02-2003 12:30 AM

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.

ironz 07-02-2003 12:34 AM

lol????!!!

My swap space = 0 mb how i can activate swap?

ironz 07-02-2003 01:27 AM

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

slakmagik 07-02-2003 02:43 AM

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.

Electro 07-02-2003 02:50 AM

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.
Read http://www.justlinux.com/nhf/Filesys...Partition.html

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).


All times are GMT -5. The time now is 10:03 PM.