LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-23-2003, 12:05 PM   #1
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
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?
 
Old 02-23-2003, 12:07 PM   #2
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
I was under the impression that swap space was only used once there was no more room left in RAM. Am I wrong?
 
Old 02-23-2003, 01:08 PM   #3
cuckoopint
Member
 
Registered: Feb 2003
Distribution: Debian
Posts: 797

Rep: Reputation: 30
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.
 
Old 02-23-2003, 11:37 PM   #4
moses
Senior Member
 
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 50
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. . .
 
Old 02-24-2003, 12:02 AM   #5
Tarential
LQ Newbie
 
Registered: Feb 2003
Distribution: Too Many To List
Posts: 29

Rep: Reputation: 15
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.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
ram disk quiron Linux From Scratch 3 07-20-2005 02:43 AM
Ram disk consty Red Hat 1 05-11-2005 07:06 AM
Please help my idea about the virtual network disk:) Jedy Linux - General 1 12-06-2004 01:35 AM
Please help my idea about the virtual network disk:) Jedy Linux - Software 0 12-06-2004 12:34 AM
RAM disk in SuSE? J_Szucs Linux - General 3 10-23-2003 08:54 PM

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

All times are GMT -5. The time now is 11:13 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