LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-17-2003, 12:04 PM   #1
rrr-jr
Member
 
Registered: Jul 2003
Location: Romania
Distribution: Gentoo GNU/Linux
Posts: 65

Rep: Reputation: 15
Question Swap space



I have a question
What happens with a linux if it has too little swap space??
I havent had lots of space on my hard disk when i installed linux so i didn't made a swap partition as required (2 times the RAM memory).
And after like 30 min after i enter linux my memory gets full and linux graphical interface (X) starts to work really slow!
Does that have to do with the swap space??

My PC configuration is:
Pentium III 1,13Ghz
512 Mb RAM
16 Mb Video card ATI Radeon Mobility
30Gb harddisk

Last edited by rrr-jr; 07-17-2003 at 12:07 PM.
 
Old 07-17-2003, 12:06 PM   #2
ranger12002
Member
 
Registered: Jun 2003
Location: miami florida
Distribution: slackware 9.0
Posts: 128

Rep: Reputation: 15
swap space acts as memory...when linux runs out of memory to use it goes to your swap space to act as more memory your swap space basically turns into memory if that makes any sense
 
Old 07-17-2003, 12:08 PM   #3
rrr-jr
Member
 
Registered: Jul 2003
Location: Romania
Distribution: Gentoo GNU/Linux
Posts: 65

Original Poster
Rep: Reputation: 15
So I must make a bigger swap partition ?
 
Old 07-17-2003, 12:09 PM   #4
ranger12002
Member
 
Registered: Jun 2003
Location: miami florida
Distribution: slackware 9.0
Posts: 128

Rep: Reputation: 15
how big is your swap partition right now?
 
Old 07-17-2003, 12:10 PM   #5
rrr-jr
Member
 
Registered: Jul 2003
Location: Romania
Distribution: Gentoo GNU/Linux
Posts: 65

Original Poster
Rep: Reputation: 15
100Mb
 
Old 07-17-2003, 12:16 PM   #6
ranger12002
Member
 
Registered: Jun 2003
Location: miami florida
Distribution: slackware 9.0
Posts: 128

Rep: Reputation: 15
try a 300 or 400...i have a 3gb swap but i only did that cause i have a 40gb hard drive and only will ever use about 5gb of space
 
Old 07-17-2003, 12:19 PM   #7
rrr-jr
Member
 
Registered: Jul 2003
Location: Romania
Distribution: Gentoo GNU/Linux
Posts: 65

Original Poster
Rep: Reputation: 15
But for 512 Mb Ram only 300-400 Mb swap are enough ???
 
Old 07-17-2003, 12:20 PM   #8
ranger12002
Member
 
Registered: Jun 2003
Location: miami florida
Distribution: slackware 9.0
Posts: 128

Rep: Reputation: 15
it should be fine if you have alot of space that you wont ever use make it like 1gb
 
Old 07-17-2003, 12:23 PM   #9
rrr-jr
Member
 
Registered: Jul 2003
Location: Romania
Distribution: Gentoo GNU/Linux
Posts: 65

Original Poster
Rep: Reputation: 15
ok thank you for your answers
cya
 
Old 07-17-2003, 12:31 PM   #10
ranger12002
Member
 
Registered: Jun 2003
Location: miami florida
Distribution: slackware 9.0
Posts: 128

Rep: Reputation: 15
if that doesnt help let me know and ill try to figure out any other things that might cause it
 
Old 07-17-2003, 12:58 PM   #11
rrr-jr
Member
 
Registered: Jul 2003
Location: Romania
Distribution: Gentoo GNU/Linux
Posts: 65

Original Poster
Rep: Reputation: 15
ok ill anounce u then
by the way why cant i send personal messages to other users
i registered to the forum today
 
Old 07-17-2003, 01:00 PM   #12
ranger12002
Member
 
Registered: Jun 2003
Location: miami florida
Distribution: slackware 9.0
Posts: 128

Rep: Reputation: 15
not sure you might want to talk to a moderator about that
 
Old 07-17-2003, 01:05 PM   #13
rrr-jr
Member
 
Registered: Jul 2003
Location: Romania
Distribution: Gentoo GNU/Linux
Posts: 65

Original Poster
Rep: Reputation: 15
ok ill try talking to him
cya
 
Old 07-17-2003, 02:06 PM   #14
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
Quote:
Originally posted by rrr-jr
But for 512 Mb Ram only 300-400 Mb swap are enough ???
That really depends on how you are using your system. Are you doing anything related to large databases, video editing, or something computationally intensive? I find that 1.5*RAM should do the trick in most cases. There's nothing like watching a graphic artist freek because his system locked up in the middle of an image render. You might want to watch your system a bit to see how frequently and how much it swaps.
 
Old 07-17-2003, 02:23 PM   #15
rrr-jr
Member
 
Registered: Jul 2003
Location: Romania
Distribution: Gentoo GNU/Linux
Posts: 65

Original Poster
Rep: Reputation: 15
well i just use my linux to connect to the net , to watch movies,play games etc. I don't use as a graphical workstation.
 
  


Reply


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
how to reduce swap space and reclaim the space grantm Linux - Newbie 7 08-16-2012 07:05 AM
swap space alphisb0t Linux - Software 1 07-05-2004 03:16 PM
How to unmount actual swap and mount a new(bigger) swap space? isaac Linux - Newbie 1 06-06-2004 01:23 AM
swap space not being used bishal Linux - Software 16 05-07-2004 12:28 AM
Swap Space bawbag Slackware 6 07-16-2003 10:59 PM


All times are GMT -5. The time now is 02:28 AM.

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