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! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-01-2003, 11:30 PM
|
#1
|
Member
Registered: Jun 2003
Location: Montréal, Québec
Distribution: red hat 9
Posts: 84
Rep:
|
Swap ???
Hello,
What is swap memory?
This "Swap" have an effect on performance?
|
|
|
07-02-2003, 12:30 AM
|
#2
|
Member
Registered: May 2003
Location: S.W. Ohio
Distribution: Ubuntu, OS X
Posts: 760
Rep:
|
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.
|
|
|
07-02-2003, 12:34 AM
|
#3
|
Member
Registered: Jun 2003
Location: Montréal, Québec
Distribution: red hat 9
Posts: 84
Original Poster
Rep:
|
lol????!!!
My swap space = 0 mb how i can activate swap?
|
|
|
07-02-2003, 01:27 AM
|
#4
|
Member
Registered: Jun 2003
Location: Montréal, Québec
Distribution: red hat 9
Posts: 84
Original Poster
Rep:
|
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
|
|
|
07-02-2003, 02:43 AM
|
#5
|
Senior Member
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113
Rep: 
|
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.
|
|
|
07-02-2003, 02:50 AM
|
#6
|
LQ Guru
Registered: Jan 2002
Posts: 6,042
Rep: 
|
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 07:10 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|