Linux - GeneralThis 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
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.
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.
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. ???
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.
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.