You are not logged in.
Pages: 1
MACH BOOT claims to be the fastest booting live Linux distro ever. They say this guy managed to do a 5.68 second boot from power on to X (IceWM)! You may have seen other threads in the forums claiming to boot Arch Linux in 4 seconds but that is only booting up to the console login. Not only does it boot fast but they say "launching apps is also very fast".
Heres the site:
http://www.machboot.com/
It says in broken English:
Customizable. You can make it "MACH" with any distribution, including your original one.
Does this mean we can use MACH BOOT with arch to make it super fast? I don't fully comprehend what MACH BOOT actually is. It doesn't explain very thoroughly in English. Is it just a set of hacked init scripts and hacked kernel that make the system fast? I'm gonna give this a shot and report back.
How's my programming? Call 1-800-DEV-NULL
Offline
Looks it hacks the CD-ROM...
This silver ladybug at line 28...
Offline
Distrowatch and some other places reviewed it, it works as claimed. Seems to be a dead project now though, and little to no information is available on how it managed such an insane boot speed. Shame.
Offline
Considering that they are using GNU licensed code, don't they have to distribute source code and stuff?
How's my programming? Call 1-800-DEV-NULL
Offline
For the boot time: Download the iso and see what machboot.sh contains I'm curious.
Offline
Considering that they are using GNU licensed code, don't they have to distribute source code and stuff?
They should, yeah. I don't know the situation too well.
Offline
Not for everything though. If they made modifications to the anything that was GNU then yeh, but if it something outside of it, I don't think they have to.
Does look pretty amazing. I know for myself, I was able to achieve a 9s boot time to fully graphical X on my Intel Celeron M 440 @ 1.86GHz on my laptop (was using a laptop hard drive too, 5400 rpm, not an SSD) so I like to brag about that (still), but that required me using static /dev (so if I were to do this on a LiveCD, things like maybe special speakers or something might not work if I didn't create the device node for it that udev would normally create for it), a static kernel that was well configured (it was 1.6M with gzip compression or 1.4M with lzma, I used lzma... remember it's static so no modules taking away that dynamicness and ease where it would be able to work on anything so not a good idea for a LiveCD), and a well configured /etc/rc.sysinit, but I was looking into writing my own initscripts in C which could've marginally slice off milliseconds or maybe seconds I think (the idea that it would be native binary and not reading configuration instead - just launch everything using execvp() or something dumb, edit /etc/inittab to not use /etc/rc.sysinit). I used dwm (definitely going to be up faster than something like Gnome or KDE), no background, etc... So I had a really simple setup. Oh, this was with 2.6.31 (and been doing since) too, which Intel by then had a feature called fastboot that cut off seconds (these guys didn't have the same benefit.
What a shame it seems to be a dead project. I hope they provided source codes. I don't think it is just the initscripts, but from you said Zowki, sounds like an initscript (I have tried einit before -> now called kyuba, I don't know how that project is going). But it's easy to replace that, but sounds pointless to tell that you can make it Mach Boot with any distro, yet you have to replace this, that, this, and that to do it (pretty much replacing the distro).
Offline
Not for everything though. If they made modifications to the anything that was GNU then yeh, but if it something outside of it, I don't think they have to.
Does look pretty amazing. I know for myself, I was able to achieve a 9s boot time to fully graphical X on my Intel Celeron M 440 @ 1.86GHz on my laptop (was using a laptop hard drive too, 5400 rpm, not an SSD) so I like to brag about that (still), but that required me using static /dev (so if I were to do this on a LiveCD, things like maybe special speakers or something might not work if I didn't create the device node for it that udev would normally create for it), a static kernel that was well configured (it was 1.6M with gzip compression or 1.4M with lzma, I used lzma... remember it's static so no modules taking away that dynamicness and ease where it would be able to work on anything so not a good idea for a LiveCD), and a well configured /etc/rc.sysinit, but I was looking into writing my own initscripts in C which could've marginally slice off milliseconds or maybe seconds I think (the idea that it would be native binary and not reading configuration instead - just launch everything using execvp() or something dumb, edit /etc/inittab to not use /etc/rc.sysinit). I used dwm (definitely going to be up faster than something like Gnome or KDE), no background, etc... So I had a really simple setup. Oh, this was with 2.6.31 (and been doing since) too, which Intel by then had a feature called fastboot that cut off seconds (these guys didn't have the same benefit.
What a shame it seems to be a dead project. I hope they provided source codes. I don't think it is just the initscripts, but from you said Zowki, sounds like an initscript (I have tried einit before -> now called kyuba, I don't know how that project is going). But it's easy to replace that, but sounds pointless to tell that you can make it Mach Boot with any distro, yet you have to replace this, that, this, and that to do it (pretty much replacing the distro).
[off-topic]Would you mind posting a howto on how you did the static dev sometime? The only one that I ever found was on its.alrig.ht, which was more like notes, and wasn't able to do it (it trashed my install). If so, that would be great![/off-topic]
On topic: I am going to download it and test it out. Seems like it may be worth having in my collection, even if it is old.
Offline
I could possibly sue him for violating the GNU license. He is basing it off Debian without giving source code and without redistributing the GNU license document. Any lawyers here reading this?
How's my programming? Call 1-800-DEV-NULL
Offline
[off-topic]Would you mind posting a howto on how you did the static dev sometime? The only one that I ever found was on its.alrig.ht, which was more like notes, and wasn't able to do it (it trashed my install). If so, that would be great![/off-topic]
I've actually mentioned it here before. There are two methods I use, which I mention both here.
I provided a link the static /dev post I made here, which this is a post in how fast yoru startup is. I made a couple of notes about bootchart, configuring the kernel, static /dev, editing /etc/rc.sysinit, different initscripts such as einit, and so on. The main thing I want to point out though is that if you know what you need in the kernel then I highly recommend doing this:
sed -i 's/\(^[A-Z_0-9]*\)\(=.*$\)/# \1 is not set/' .config
What used to happen when I configured the kernel was that I would have to go through everything, N it, or Y it. The problem was that I often missed stuff so I would get a kernel with features or drivers that I do not use. So using this method, if you know what you need, you can get a very minimal kernel very easy. My kernel is only 1.4M using lzma compression and originally 1.6M using gzip compression. It's completely static, no modules. A lot of people mention that compiling the kernel has no noticeable effect or just change the numbers that don't matter like bootchart, but for me, it had a significant difference. It's not even a placebo. Looking at the numbers, it's huge too. I went from default kernel booting about 35 seconds (I don't remember the exact number, might even be in the link I provided if you brose back) from what I can recall when I first started to being about 15 seconds, and with experience, got it below 9 seconds without cutting features (other than dynamicness - being able to use this with other hardware).
I'm pretty crazy about seeing how much space I use on my hard drive too, I use 700M with everything I use (this is including Firefox, Xorg, Pidgin, Java, Flash, etc...), and when I first install, it's less than 300M, which I think it's pretty awesome.
I mentioned here, not sure if it's true, how logical it is, or whatever. Not a rocket scientist so I am not sure, but just a thought that nobody ever got back to me on that, but if you're interested, here also. It's on partitioning and how it could possibly speed things up, but just a thought really, not something I can say is true. I have nothing to back it up. Nothing...
Last edited by Aprz (2009-09-25 09:26:54)
Offline
zowki wrote:I could possibly sue him for violating the GNU license. He is basing it off Debian without giving source code and without redistributing the GNU license document. Any lawyers here reading this?
I've actually mentioned it here before. There are two methods I use, which I mention both here.
I provided a link the static /dev post I made here, which this is a post in how fast yoru startup is. I made a couple of notes about bootchart, configuring the kernel, static /dev, editing /etc/rc.sysinit, different initscripts such as einit, and so on. The main thing I want to point out though is that if you know what you need in the kernel then I highly recommend doing this:
sed -i 's/\(^[A-Z_0-9]*\)\(=.*$\)/# \1 is not set/' .config
What used to happen when I configured the kernel was that I would have to go through everything, N it, or Y it. The problem was that I often missed stuff so I would get a kernel with features or drivers that I do not use. So using this method, if you know what you need, you can get a very minimal kernel very easy. My kernel is only 1.4M using lzma compression and originally 1.6M using gzip compression. It's completely static, no modules. A lot of people mention that compiling the kernel has no noticeable effect or just change the numbers that don't matter like bootchart, but for me, it had a significant difference. It's not even a placebo. Looking at the numbers, it's huge too. I went from default kernel booting about 35 seconds (I don't remember the exact number, might even be in the link I provided if you brose back) from what I can recall when I first started to being about 15 seconds, and with experience, got it below 9 seconds without cutting features (other than dynamicness - being able to use this with other hardware).
I'm pretty crazy about seeing how much space I use on my hard drive too, I use 700M with everything I use (this is including Firefox, Xorg, Pidgin, Java, Flash, etc...), and when I first install, it's less than 300M, which I think it's pretty awesome.
I mentioned here, not sure if it's true, how logical it is, or whatever. Not a rocket scientist so I am not sure, but just a thought that nobody ever got back to me on that, but if you're interested, here also. It's on partitioning and how it could possibly speed things up, but just a thought really, not something I can say is true. I have nothing to back it up. Nothing...
So let me get this straight, you are the developer for MACH BOOT?
How's my programming? Call 1-800-DEV-NULL
Offline
Me? No!
Edit: Oops, I made a mistake with quoting. Hold on. No wonder for the confusion.
Edit: Heh, fixed. Mind getting rid of that quote? Don't want any further confusion. Sorry for the confusion already. I wasn't thinking when I took that quote.
Edit: Doh! I just realized what a retard I am too cause all this time I've been having it copy everything from what part of the hard drive to another part to populate /dev, but after reading what that guy says in the website you mentioned... that's hellav smarter, but instead of the hotplugging thing, get rid of that, create all the nodes you need for that also. I wonder if there is a speed increase/decrease. What is the purpose of mounting tmpfs /dev anyhow? Speed up creating/deleting device nodes? That makes me wonder...
Last edited by Aprz (2009-09-25 09:50:10)
Offline
What is the purpose of mounting tmpfs /dev anyhow? Speed up creating/deleting device nodes? That makes me wonder...
the point is that udev creates device nodes dynamically and it should start from a clean state, and since it can create and delete a lot of files there's no reason to thrash the filesystem.
If you don't use udev, there's no reason for a tmpfs /dev
Offline
This has got me interested, if I were to use a static kernel (no loadable modules) that would mean I couldn't use, for example, VirtualBox PUEL and nvidia binary drivers?
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
What is the purpose of mounting tmpfs /dev anyhow? Speed up creating/deleting device nodes? That makes me wonder...
the point is that udev creates device nodes dynamically and it should start from a clean state, and since it can create and delete a lot of files there's no reason to thrash the filesystem.
If you don't use udev, there's no reason for a tmpfs /dev
Ah, that make sense. Thanks for the explanation. I was thinking a little too hard and over thought it thinking it was some sort of speed thing, but it's just a clever way to having a clean slate everytime the computer boots up, haha.
Offline
damjan wrote:What is the purpose of mounting tmpfs /dev anyhow? Speed up creating/deleting device nodes? That makes me wonder...
the point is that udev creates device nodes dynamically and it should start from a clean state, and since it can create and delete a lot of files there's no reason to thrash the filesystem.
If you don't use udev, there's no reason for a tmpfs /dev
Ah, that make sense. Thanks for the explanation. I was thinking a little too hard and over thought it thinking it was some sort of speed thing, but it's just a clever way to having a clean slate everytime the computer boots up, haha.
If you read carefully, he also mentions thrashing. I'm not sure how many creations and deletions are done by udev though... not familiar with it. I'd think firefox is MUCH worse.
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
If you read carefully, he also mentions thrashing. I'm not sure how many creations and deletions are done by udev though... not familiar with it. I'd think firefox is MUCH worse.
Yeh, I read carefully and saw that.
Offline
xpud boots super fast and I think webconverger would too but they are basically just browsers. I believe tiny core boots quickly as well.
Interesting article bout speeding up boot.
http://www.improvedsource.com/view.php/ … allenge/3/
I think most bios's take too much time during boot.
Offline
Pages: 1