Author Topic: Copy To Ram (awesome feature!)  (Read 2145 times)

Offline sasdthoh

  • New Friend
  • *
  • Posts: 9
Copy To Ram (awesome feature!)
« on: May 05, 2011, 05:52:53 AM »
I hope this is the correct section for this question.

In my opinion, one of the best kept secrets (or little used awesome features) of PCLinuxOS is the "Copy To Ram" feature used in the initial boot menu found on all the Live cd's. Is there a way to utilize this through a script with a hard drive installation?

I have to tell you, this feature sets the standard when it comes to speed!        AWESOME!

If you have a lot of ram like me, you'll be amazed.

Anyway, any input on this matter would me much appreciated and I guarantee the community would go "bonkers" if it can be done.

sasdthoh

Offline pags

  • Hero Member
  • *****
  • Posts: 2519
  • Keep it clean.
Re: Copy To Ram (awesome feature!)
« Reply #1 on: May 05, 2011, 02:15:23 PM »
I hope this is the correct section for this question.

In my opinion, one of the best kept secrets (or little used awesome features) of PCLinuxOS is the "Copy To Ram" feature used in the initial boot menu found on all the Live cd's. Is there a way to utilize this through a script with a hard drive installation?

I have to tell you, this feature sets the standard when it comes to speed!        AWESOME!

If you have a lot of ram like me, you'll be amazed.

Anyway, any input on this matter would me much appreciated and I guarantee the community would go "bonkers" if it can be done.

sasdthoh

I would suspect that the problem (one of many, I'm sure) of implementing this on a HDD install would be dataset size.
A)  It is unknown (if the user installs more applications, etc)
B)  It is (most likely) growing (see reason for point (A))
This would (eventually) create a scenario where
A)  It would take longer and longer to boot, as time went on, as the installed dataset gets larger, until
B)  It would no longer fit into RAM.

The reason this works so well in the Live CD scenario is because the dataset size is constant (and, under 1 GB, so it can easily fit in many current PC's RAM), and compressed as well (further reducing the size, and giving potential performance gains as compared to running from such slow media as optical drive).

I don't believe this is a good, general purpose goal.

If, however, you want to create a custom install (knowingly keeping it under a set size), then you would need to look into setting up a RAM disk, copying the system over to it, and getting the root (/) directory mounted from there...

Offline sasdthoh

  • New Friend
  • *
  • Posts: 9
Re: Copy To Ram (awesome feature!)
« Reply #2 on: May 05, 2011, 05:47:39 PM »
Thanks for your insightful input. I'm one of those guys that runs his system with a minimum of software installed. I understand your reasoning and you are 100% correct. I would still like to attempt a copy to ram with a minimal dataset.

I'll spend some serious time experimenting with this goal in mind. If I have any success (not really certain I will) then I will come clean with all the details here just in case there are others that might wish to explore the possibilities.

Anyway, thank you for your assistance. I'll get back on this subject in the near future.

sasdthoh

Offline Crow

  • Hero Member
  • *****
  • Posts: 8770
  • OBJECTS IN MIRROR... ARE LOSING
Re: Copy To Ram (awesome feature!)
« Reply #3 on: May 05, 2011, 09:26:26 PM »
Sounds awesome, good luck  :)
I shall pass this way but once;
any good therefore that I can do,
or any kindness that I can show
let me not defer nor neglect it,
for I shall not pass this way again.

Linux User #330412

Offline OMSkates

  • Hero Member
  • *****
  • Posts: 2390
Re: Copy To Ram (awesome feature!)
« Reply #4 on: May 06, 2011, 01:32:52 AM »
Copy to RAM is a common feature among some of the small lightweight distros out there and in some cases set as a default feature.  Can be very handy especially for rescue purposes or running your OS live on a friends PC.  PCLOS MiniME would be good for a copy to RAM set up with rescue packages, you can then go in and rescue files from your friends' Winders PCs.

Offline Dragynn

  • Hero Member
  • *****
  • Posts: 1436
  • Abide.
Re: Copy To Ram (awesome feature!)
« Reply #5 on: May 06, 2011, 11:03:35 AM »
I agree, copy to ram is great, and the ultimate in speed, any of the mini's should give great results, but I would think it's more plausible if you have a minimum of 2 gigs of ram, as most of the mini's are around 1.5 gigs unpacked, but if you've got 4 gigs or more, I wouldn't see any point in running it any other way. :)
This aggression will not stand man.

Offline aguila

  • Hero Member
  • *****
  • Posts: 1210
  • soaring high = no Windows here :-D
Re: Copy To Ram (awesome feature!)
« Reply #6 on: January 04, 2012, 04:10:30 AM »
Just a big kudos for the forum search.

I was wondering why "copy to ram" wouldn't work on my parents' machine with the KDE Mini 2011.09.

Searched the forum, found this topic with dragynn's post and understand that a machine with "only" 1 GB RAM will not be able to use this feature.

Thanks guys!
All that is is good. PCLinuxOS is.

Thinkpad X61 Tablet, Core2Duo 1.66 MHz, 4 GB Ram, Intel onboard Graphics, Plextor PX-256M3 256 GB SSD; Thinkpad R61i, Core2Duo 1.66 MHz, 2 GB Ram, Intel onboard graphics, 120 GB HDD

Online Vorteggs

  • Hero Member
  • *****
  • Posts: 2415
Re: Copy To Ram (awesome feature!)
« Reply #7 on: January 04, 2012, 04:29:20 AM »
Is there a way to utilize this through a script with a hard drive installation?

sasdthoh


Made some search.
Here is an example and discussion:
http://www.linuxquestions.org/questions/linuxquestions-org-member-success-stories-23/how-to-boot-os-into-ram-for-speed-and-silence-662116/
« Last Edit: January 04, 2012, 04:31:12 AM by Vortеx »

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: Copy To Ram (awesome feature!)
« Reply #8 on: January 04, 2012, 05:29:11 PM »

Searched the forum, found this topic with dragynn's post and understand that a machine with "only" 1 GB RAM will not be able to use this feature.


Actually, it depends on the "mini" you are using. I am able to copy to RAM on a 512MB PIII using the Openbox "mini" ISO (Bonsai). I believe the same can be said of the LXDE mini, but I have not tried it. I would think the e17 "bare" edition would work, too.
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378