LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-09-2002, 09:07 PM   #1
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Ram Hd


Ok, so I am bored as hell at work this week, and have no internet. I was sent to the "offsite" and just sit in a room with nothing but a bunch of drugs around me, and an old computer barely running winbloze and a few games to help keep us sane.

So I was thinking...

Could I build a box, strap in say, 4-8GB of RAM and use that as my hard drive? Would this eliminate the bottleneck that the hard drive is creating in systems? I know as soon as it shutdown, it'd all be lost, but if I put Linux on it, then I wouldn't have to worry about that very often right? Or I could have like a 500MB drive, to keep the "image" on, and then transfer this image to the RAM after boot. Is this possible?

Not, how would I do this, but just is it possible. If you do know how, that'd be great too, but just a "sure chad, if you are that much of a weenie, you could do it" or a "You lunatic, of course you can't, where'd you say you're from?" would be cool.

Cool
 
Old 10-09-2002, 09:13 PM   #2
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
Yeah, of course you could do it, in theory. You heard of that HyperdriveOS (really sad name) thing? It's advertised as allowing you to copy your OS (Windows... what else?) into RAM at boot-time to speed up both booting and running... one drawback is that you still need to drop back to harddisk mode to install stuff... and it costs a fortune! I reckon that since you can (easily...ish) make small 'Ramdrives' (small partitions that are, in actual fact, part of your RAM), that you could probably create a whole OS sized RAM-partition. One Q though... if your system were to have, say, 8Gb of RAM, how much would you set aside for virtual filesysteming and how much would you set aside for memory? Don't forget that even programs that run from memory need memory to run in... if that makes any sense.
 
Old 10-09-2002, 09:25 PM   #3
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Original Poster
Rep: Reputation: 69
Yeah, I really didn't take that into play. I would guess an easy stick of 512 should suffice for something like that, but then that'd probably become the bottleneck?

Do you think anyone has successfully done this? That'd be cool to see some stats and things from it.

Cool
 
Old 10-09-2002, 09:32 PM   #4
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
It's done all the time... but on a much, much smaller scale. If you take a look at how many bootdisks work, they open up a small amount of memory and format it as... tmpfs, I think... and then run from there.
 
Old 10-09-2002, 09:48 PM   #5
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Original Poster
Rep: Reputation: 69
Sweet! I will have to check that out, not that I have 8GB of RAM lying around, but hey, it sure sounds cool.

Thanks
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
RAM: Does linux require as much ram as Windows XP? hanzj Linux - Newbie 48 04-18-2007 12:14 AM
Buying RAM - must match old RAM? slackaddict Linux - Hardware 5 11-12-2005 01:38 PM
Win98SE Pentium166MMX/64MB RAM vs Linux AthlonXP+ 3000/512MB RAM : Lucent LT WinModem t3gah Linux - Software 2 04-22-2005 01:01 PM
where did my ram go? nakkaya Linux - Hardware 14 02-28-2003 02:08 AM
ram on it's way spooge Linux - Hardware 5 02-27-2003 07:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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