LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-19-2005, 11:42 PM   #1
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Rep: Reputation: 45
General questions about RAM


Hello all,
Would like to clear few doubts regarding the size/quality etc of RAM

1> which one is better having two RAM's of 128 i.e total of 256Mb or having 256Mb of single RAM.

2> If u have 512 Mb of RAM then how much space should be allocated for swap ( plz. don't tell me the thumb rule swap = 2 x RAM, that's an older concept )
Some of you may be having 1024Mb of RAM......do you still leave space for SWAP. ???

reagards
 
Old 08-19-2005, 11:46 PM   #2
jrtayloriv
Member
 
Registered: Jun 2004
Location: Inland NW, US
Distribution: Ubuntu
Posts: 366
Blog Entries: 1

Rep: Reputation: 44
With hard disk storage space as cheap as it is nowadays, why wouldn't you have swap? Better safe than sorry.

jrtayloriv
 
Old 08-20-2005, 12:04 AM   #3
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,775

Rep: Reputation: 86
Quote:
Originally posted by jrtayloriv
With hard disk storage space as cheap as it is nowadays, why wouldn't you have swap? Better safe than sorry.

jrtayloriv
While I never use the swap partition I made, the partition itself hardly makes a dent on my 160 GB hard drive.
 
Old 08-20-2005, 12:10 AM   #4
b0nd
Senior Member
 
Registered: Jan 2005
Distribution: Slackware, BackTrack, Windows XP
Posts: 1,020

Original Poster
Rep: Reputation: 45
Quote:
While I never use the swap partition I made,
Is there any way of knowing that whether any process is using the swap portion ???

Quote:
the partition itself hardly makes a dent on my 160 GB hard drive.
But someone having merely 10GB will definitly see the dent

regards
 
Old 08-20-2005, 12:13 AM   #5
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,775

Rep: Reputation: 86
Quote:
Originally posted by ruudra
Is there any way of knowing that whether any process is using the swap portion ???
Yes, there is. I've used it in both KDE and Gnome.

Quote:
But someone having merely 10GB will definitly see the dent
If you have 512 MB RAM, don't bother with swap, then.
 
Old 08-20-2005, 01:38 AM   #6
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHEL, AltimaLinux, Rocky
Posts: 1,151

Rep: Reputation: 46
ruudra: Can't resist the first question: It's better to use two 256MB modules, if you've got two slots available.

As for your actual question, as long as your BIOS supports the 256MB module, there isn't a lot of performance difference between two 128MB and one 256MB. There usually is a significant financial difference, with two used 128MB modules usually being cheaper than one used 256MB module.

The swap question is a tough one, especially with a small drive. For your situation with a small drive and 512MB of memory, you will not use a lot of swap very often if you just use the system for basic web surfing and word processing. Image processing would be a completely different game.

It is probably a good idea to create a swap partition of at least 256MB, but you could drop that to 128MB if you feel pressed for space. In reality, if you are using more than a few MB of swap at a time, you really should install more physical memory.

Last edited by WhatsHisName; 08-20-2005 at 01:39 AM.
 
Old 08-20-2005, 01:47 AM   #7
floppywhopper
Member
 
Registered: Aug 2004
Location: Western Australia
Distribution: Mageia , Centos
Posts: 643
Blog Entries: 2

Rep: Reputation: 136Reputation: 136
Regarding the RAM
use what is cheapest
but it is usually cheaper to buy a 512 than 2 x 256

Re Swap
you should always have swap
250 megs is OK for 512 Ram
there have been one or two threads lately where the user didnt allocate a swap partition because they thought they had enough ram, and they came unstuck, and had to re-format and re-partition.
The rule about double your ram to calculate swap is a little out of date now since you can buy 256 -512 ram easily.

floppy
 
Old 08-20-2005, 12:41 PM   #8
ctkroeker
Senior Member
 
Registered: May 2005
Posts: 1,565
Blog Entries: 1

Rep: Reputation: 50
Re: General questions about RAM

Quote:
Originally posted by ruudra
If u have 512 Mb of RAM then how much space should be allocated for swap ( plz. don't tell me the thumb rule swap = 2 x RAM, that's an older concept )
Some of you may be having 1024Mb of RAM......do you still leave space for SWAP. ???

reagards
I have 512MB RAM, and a 1GB Swap partition. That's plent. Like jrtayloriv said, Better safe then sorry.
 
Old 08-20-2005, 01:00 PM   #9
Vgui
Member
 
Registered: Apr 2005
Location: Canada
Distribution: Slackware
Posts: 496

Rep: Reputation: 31
I haven't been using swap since I moved to 1gb. I have never seen it go to swap, that is through compiling kernels, playing a bunch of different "high profile" games (including Doom 3), moving huge files, etc.
You don't need the safety net anymore, I even compiled swap support out of my kernel.
 
Old 08-20-2005, 03:57 PM   #10
KimVette
Senior Member
 
Registered: Dec 2004
Location: Lee, NH
Distribution: OpenSUSE, CentOS, RHEL
Posts: 1,794

Rep: Reputation: 46
Go with two DIMMs if your motherboard supports dual-channel operation; you will reap a modest performance increase.
 
Old 08-20-2005, 05:30 PM   #11
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
You should consider your future plans as well when buying RAM. Suppose you initially start with 512, but figure there's a reasonable chance that you might want to go to 1G in a year or two.

Scenario #1 - Buy two 256 sticks now. If you later need to go to 1G, you've got to replace them both, and you'll need to buy two 512 sticks later. Overall you have to buy a pair of 256 sticks plus a pair of 512 sticks.

Scenario #2 - Buy one 512 stick now. If you later need to go to 1G, you only have to buy one more 512 stick. Overall, you only have to buy a pair of 512 sticks.

Economically, option #2 will be cheaper. -- J.W.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
General questions Mingthefirst *BSD 3 10-03-2004 11:10 AM
Some questions in general... kierwind Linux - Newbie 8 07-24-2003 07:36 AM
general questions saiz66 Slackware 2 04-27-2003 11:44 PM
General Questions DAChristen29 Linux - Software 6 01-03-2003 03:52 PM
general questions [cacheflow] Linux - Newbie 4 01-25-2002 07:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:19 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
Open Source Consulting | Domain Registration