Quote:
Originally Posted by jrhorn424
Do you mean a SSD? Reading an entire filesystem into memory would take longer than 14 seconds...
Nice! What were you getting before, with a different OS?
|
Yes the laptop has a Solid State Drive however I did a benchmark of Read/Write speed and ram access is still faster.
That said, I said bootup time. Not boot into RAM time. I didn't set it up to boot automatically into RAM as that would create problems with updating the filesystem.
I found that using two scripts (one to squashfs and one to make the ramfs and unsquashfs the image) was a LOT faster than just creating a ramfs and then using the "CP" command.
It takes on average 16 or so seconds to copy the squashfs filesystem into ram, chroot into it, and mount the appropriate system related directories such as "/dev /sys and /proc". I also mount /root into the ramfs because I store all my personal files there.
In Windows 7 I usually get 2 hours of battery life doing the exact same things posted above.