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 |
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.
|
|
02-23-2003, 12:05 PM
|
#1
|
LQ Guru
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163
Rep:
|
Silly idea about ram disk
About ram disk...
Today computer has an huge amount of RAM, and it's mostly unused (except for some really heavy apps, who need 768MB of RAM??) .
Why not to put swap space on RAM? I know it seems very stupid, but since Ram is faster than the HD, considering everyone has too much ram anyways, why not wasting some (something like 256MB ?) for swap, to save few disk wear?
|
|
|
02-23-2003, 12:07 PM
|
#2
|
Senior Member
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503
Rep:
|
I was under the impression that swap space was only used once there was no more room left in RAM. Am I wrong?
|
|
|
02-23-2003, 01:08 PM
|
#3
|
Member
Registered: Feb 2003
Distribution: Debian
Posts: 797
Rep:
|
Quote:
Originally posted by Crashed_Again
I was under the impression that swap space was only used once there was no more room left in RAM. Am I wrong?
|
nope. (atleast I don't think so...)
unless your configuration is messed up, and starts using the swap before it uses up all of the RAM (win9x was notorious for this)
\edit
BTW, Half_Elf, the idea to use ram as a virtual HD has existed for a long time, most notably seen in boot disks (both win and linux) which used part of the RAM to create a virtual disk onto which a kernel and useful commands were put on. hence, one could change a floppy and still be able to do some work.
Last edited by cuckoopint; 02-23-2003 at 01:13 PM.
|
|
|
02-23-2003, 11:37 PM
|
#4
|
Senior Member
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152
Rep:
|
At work, I will ALWAYS need more RAM than what is available.
At home, I can usually get away with 512-1024 MB, but not
always, and it's for the same reason -- I typically work with
100MB to 2GB images, and the processing of said images
requires anywhere from 2-10 times as much memory as the image
size. Swapping to disk sucks, it's always better to keep
everything in memory, where it's faster. Unfortunately, it gets
pretty expensive to get as much memory as is needed. . .
|
|
|
02-24-2003, 12:02 AM
|
#5
|
LQ Newbie
Registered: Feb 2003
Distribution: Too Many To List
Posts: 29
Rep:
|
512 megs SDRam costs 79 bucks here... (Canadian funds).
Which means it'd be pretty dang cheap to get a lot of ram if you wanted.
I run 512 meg DDR.
|
|
|
All times are GMT -5. The time now is 11:13 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
|
|