LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-11-2006, 07:40 AM   #1
amolgupta
Member
 
Registered: Feb 2005
Location: agra,india
Distribution: FC2
Posts: 158

Rep: Reputation: 30
how do i know if my swap is sufficient


at times my mysystem does not responds fo some times and then it slowly recovers
 
Old 05-11-2006, 07:41 AM   #2
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Rep: Reputation: 45
hi,

how much main memory do u have.

regards
 
Old 05-11-2006, 07:47 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,384

Rep: Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190Reputation: 4190
Show us the results of "free" and "swapon -s" commands.
 
Old 05-13-2006, 04:03 AM   #4
amolgupta
Member
 
Registered: Feb 2005
Location: agra,india
Distribution: FC2
Posts: 158

Original Poster
Rep: Reputation: 30
[root@localhost ~]# free
total used free shared buffers cached
Mem: 189788 185152 4636 0 1412 54496
-/+ buffers/cache: 129244 60544
Swap: 2096440 127172 1969268
[root@localhost ~]# swapon -s
Filename Type Size Used Priority
/dev/hda8 partition 2096440 127172 -1
[root@localhost ~]#
[root@localhost ~]#
 
Old 05-13-2006, 04:05 AM   #5
amolgupta
Member
 
Registered: Feb 2005
Location: agra,india
Distribution: FC2
Posts: 158

Original Poster
Rep: Reputation: 30
well i have 192 megs of ram which is exact minimum system requirements for fc4 , my current distro
 
Old 05-13-2006, 07:06 AM   #6
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Rep: Reputation: 45
hi,
old thumb rule was:
swap space = 2 x size of main memory.
but this was the rule when main memory was very low.
now a days people generally have, at least in india, 256 Mb or more main memory. Hence this thumb rule no longer exists.
If you have 256 Mb of RAM, just assign 200 Mb of space to swap. You will notice even this much of swap space would never be used.
In your case also, have 200 Mb of swap.
Personally i would advice you to upgrade your main memory (RAM)

regards
 
Old 05-13-2006, 07:39 AM   #7
amolgupta
Member
 
Registered: Feb 2005
Location: agra,india
Distribution: FC2
Posts: 158

Original Poster
Rep: Reputation: 30
thanx a lot
 
Old 05-13-2006, 08:21 AM   #8
kosmognov
LQ Newbie
 
Registered: May 2003
Distribution: suse 9.0, Slack 9.1, Mandrake 10, etc...
Posts: 23

Rep: Reputation: 15
I always consider the swap as "A space where my files will go when I am using all my RAM to play silly animations and other background programs like music player."

So the question I pose myself is: "how big will the biggest file I'll ever use will be?"

In other words if I work with graphics sometimes a gimp file can occupy 300 megabytes so more than that would be useful for this case.

Can this be a new rule of thumb? considering you usually know what you are going to use that system for.
 
  


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
TeTeX and LyX sufficient for using LaTeX? Erik_the_Red Linux - Software 3 08-28-2005 03:40 PM
Whether steps taken after being hacked were sufficient? NoeticRapture Linux - Security 2 07-13-2005 05:44 PM
Are these devices sufficient for my system? kornerr Linux - General 5 06-19-2005 10:51 AM
is a router firewall sufficient? shanenin Linux - Security 7 09-02-2004 10:29 PM
Will RHCE be a sufficient qualification? coolamit78 Red Hat 16 11-09-2003 09:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:39 PM.

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
Open Source Consulting | Domain Registration