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 |
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.
|
 |
10-09-2002, 09:07 PM
|
#1
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Rep:
|
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
|
|
|
10-09-2002, 09:13 PM
|
#2
|
Senior Member
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368
Rep:
|
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.
|
|
|
10-09-2002, 09:25 PM
|
#3
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Original Poster
Rep:
|
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
|
|
|
10-09-2002, 09:32 PM
|
#4
|
Senior Member
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368
Rep:
|
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.
|
|
|
10-09-2002, 09:48 PM
|
#5
|
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613
Original Poster
Rep:
|
Sweet! I will have to check that out, not that I have 8GB of RAM lying around, but hey, it sure sounds cool.
Thanks
|
|
|
All times are GMT -5. The time now is 03:48 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
|
|