Booting Windows7 boot in less than 10 seconds inside VirtualBox

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
14,241
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Feb 23, 2011

How did I do that? Well, it's a stock Windows 7 installation on VirtualBox for Linux. However, after installation, I've cached the whole hard disk image into RAM, so VirtualBox fetches everything from there instead from the "slow" Hard Disk. In fact, when cached, the maximum transfer is about 6.7GB/s:

dd if=NewHardDisk1.vdi of=/dev/null bs=1M
7409+1 records in
7409+1 records out
7768940544 bytes (7,8 GB) copied, 1,15404 s, 6,7 GB/s

So what happens here? Well, Linux uses the "free" amount of memory of your box to cache files. In my case, I got 12GB RAM, and the VirtualBox image was 8 GB, so I simply forced Linux to read the whole image (outputting it to /dev/null is intented), which put the image into cache. When I started VirtualBox, Linux read the cached image from memory, achieving a 10-second boot.

With a decent SSD, I achieve similar timings when booting Win7 (without VirtualBox), so I guess that even with faster RAM transfers and caching, boot time is now somewhat limited to the CPU performance and not the HDD performance anymore.

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 1 dislikes

Link to this comment:

Share to:

Uploader Comments (alek202)

  • Windows may turn out to be better than Mac after all.... or will it?

  • @medibosanac I have no idea, however, I also don't believe in "better" or "worse" operating systems. I am using Windows and Linux (Debian/Gentoo) side by side, depending on which task I need to do.

  • Dude! Stop coming on the net fooling people into believing shit like this!!!!!!!!!!XD

  • @phrizno This "shit" is perfectly documented. Read the video description and the comments.

see all

All Comments (18)

Sign In or Sign Up now to post a comment!
  • @KopierRecht 98? I definitely wouldn't say that. I could argue XP as being the best still. But in my opinion Windows 7 is the best. It has the NTFS, it's fast, just as stable as XP. Windows 98 isn't any of those.

  • The best Windows was and still is, 98, and I`m using it by an AMD Duron, which is quite fast!

  • @mclmatty Haven't you heard of non-volatile (NV) RAM?

  • @mclmatty actually you can install windows very easily to your ram, you just have to get a program that partitions your ram. once you do this, you can partition a part of your ram to function as a hard drive. dumbass

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more