Software Tweak Makes Linux Boot In Under 200 ms
An anonymous reader writes "A version of Linux has been created that radically speeds up system boot time -- to less than 200 milliseconds (ms) from power-up to application code startup. The techniques, created by Real-time Linux vendor FSMLabs, are processor independent, and boot times of under 100 mS are expected in the future." Update: 09/30 01:04 GMT by T : Yep -- both headline and post should have read "ms" (milliseconds) rather than "mS" (milli Siemens); thanks to all the alert readers.
This isn't for desktop linux, only for embedded devices.
any linux user wants to sacrifice their uptime to boot faster
this is certianly incredible, but it is not yet available for x86 platforms. Do note, that this is not the boot sequence up till you get the login prompt, but just the initial loading of the kernel.
> "I allege that SCO is full of it" -Linus
RTFA
"Yodaiken said the new fast boot technology also supports many Intel x86 boards"
It works by loading the OS to RAMDisk from Flash... Sounds like eXecute In Place.
Not the most original thing in the world, but definitely necessary to keep Linux in step with other heavy embedded operating systems like WinCE and VxWorks.
Note that for embedded systems the main interest is how long it takes for the kernel to load, not how long it is before a multi-user server or workstation has a prompt that says "login" on a pretty X display.
So, this is a good improvement it seems, but shaves away 4.5 seconds or so out of maybe 30 sconds or over a minute for many people. Combined with the parallel init scripts work mentioned a few days ago,though, I'm guessing that Linux systems will be booting a lot faster with the major releases in 6 months to a year.
Live barefoot!
free engravings/woodcuts
and boot times of under 100 mS 200 is too slow for me, I think I will wait for the 100 to be released.
Happy day!
I browse at +5 Flamebait- moderation for all or moderation for none.
I have noticed that *nix boot times are noticibly longer than Windows XP boot times. I have never been able to figure out why this is - does anybody know?
Thanks
John
...And when they came for me, there was no one left to speak out for me." - Martin Niemoeller (1892-1984)
Imagine a beowulf... hmmm... what?
But I want instant boot!!
...what about a utility to set your uptime to an arbitrary value?
"A great democracy must be progressive or it will soon cease to be a great democracy." --Theodore Roosevelt
Sure looks like it. XP takes 30 seconds to start up, and another 30 before you can run any apps without them locking up the system.
I have a slow computer with *lots* of memory that I leave on for long periods at a time. I hate waiting for KDE to load every time I log in. I'd bet that a lot of lab-type computers have the same dilemma.
"I assumed blithely that there were no elves out there in the darkness"
Keep the image that the kernel creates AFTER boot - simply load that into memory and restart.
That said - you still need the long boot the first time, and after any hardware changes. Also, I am guessing to get it into the sub second range - hard drives are right out as well - and all of the silly boot managers. But for an embedded device - who cares
I have mod points and I am not afraid to use them
Although this article refers to embedded systems, the earlier Booting Linux Faster article contained an overlooked post by TornSheetMetal, who had a great idea on how to make Linux, or any operating system start up faster on any system.
Simply run every startup script simultaneously, but have each script block until its dependencies have started. Nothing waits longer than it needs to, and there is no need for additional complex systems to check and manage dependencies.
This is VERY easy to do with daemontools and svok (both written by D.J. Bernstein, the author of qmail). Switch over and you'll never go back.
It's hard for thee to kick against the pricks.
You were supposed to develop this for Windows, you bleep!! bleep!!!. Bleeping bleeps!!
What time is it/will be over there? Check with my iPhone app!
You have just reinvented the Suspend feature.
Actually what you are talking about is not very effective in terms of daily usage. The time necessary to save off the memory may be longer than acceptable.
I thought linux never crashed? So what's the point of booting in under 200ms?
Well, Goodbye karma.
Karma: Excellent^(-t/Tau), Tau=Wittiness/Trollishness
Too bad their web servers aren't that fast!
For the hard drive - rather than put executables down 1-n on the hard drive - Windows (for many years) figures out the load order of sectors of the executable - and fragments them across the sectors in that order - net effect +10-50% load time boost from using the hard drive effectively
For drivers - there is this really interesting way that windows is now initializing driver loading by putting them into the kernel image itself... Kind of like taking modules in Linux - and rather than having the overhead of loading the module each time you boot - insert it into the kernel - and letting the kernel load (with a "static" module in now) - This one is a little trickier to put into a Linux environment... what does the GPL say if I have a loadable module - yet the kernel now statically links it in as an optimization... I don't even want to go there
I have mod points and I am not afraid to use them
Huh? please show your work.
ps. the sticker is 4000 not 40000.
ôó
when linux boots 200 mS before I turn the computer on.
Not only it almost never crashes, but when it does you barely even notice it! :-]
But what does electrical conductance have to do with boot times? 100 mS is 100 milliSiemens. Milliseconds is abbreviated ms.
)9TSS
check out www.linuxbios.org. Too bad I don't have any motherboards with a supported BIOS. It sounds way cool. Kind of like turning a legacy PC into a modern embedded device. heh
Did I miss any?
The bold print giveth, and the fine print taketh away
// Code to make Linux startup look like it's doing something
// Insert in a few hundred random places
long foo = 0;
while (foo < 10000000)
{
foo++;
}
...
"...speeds up system boot time to less than 200ms... The techniques are processor independent"
Could anyone think about the 386SX/20 please???
Slashdotted already??!!!!??
Go RTFA - several points: You don't just simply "load an image into memory" and have a running system. This is why properly supporting APM is difficult on any machine. All your hardware needs to be reinitialized. Network connections need to be reestablished (getting IP and so on), file systems need to be remounted, there are all kinds of timer-driven things that need special handling, and so on and so forth.
What these guys are doing is optimizing for embedded systems - where the kernel is hardwired for exactly the same hardware every time. You don't need to probe, and you don't need to guess what state the hardware is in - it's a closed system and it's the same at every power-on. Furthermore there are all kinds of things you can initialize simultaneously when you can optimimize for a deterministic environment - if your video system wants a moment to do a POST, you can spend that time initializing a network interface, for example.
Also, the definition of "boot time" for this dicussion is the time until the first application-level code runs. That's something like only 1/3 to 1/2 of the boot time for a typical linux server or desktop that you're thinking of. Most of the time is spent bringing up userland services and loading the graphical environment. There's a big savings on big workstation in flushing RAM to disk, but not so much for small embedded systems, where application state is very minimal (eg a Tivo, or a wireless router).
What a misleading article.
Could've at least put non x86 or embedded device in the title.
We have secretly replaced these Slashdot mods' sense of humor with a rusty nail. Let's see if they notice!!
My computer can even POST in 200 msec, I'm sure it takes at least a few seconds for the 1 GB's of memory check to tick by.
Scene one, Act One
:(
Adrian Lamo in a orange prison jump suit conferencing wit his attorney.
Ring Ring
Attorney: Hold on Adrian, I have to take this call. (talking into cellphone) Yeah.. ok... Great! ok..Thanks!
Great news Adrian!
Adrian: (curious/happy): What?!
Attorney: I just saved 4.8 seconds on my Linux boot time with FSMLabs!
Adrian:
... that when a company doesn't put its kernel changes out immediately, there's calls for hanging them for violating the GPL, but when a linux company optimizes boot-up routines in the kernel, nobody is asking when the patches are going to be making it into the mainline kernel?
from the looks of the article, FSMLabs has been basically profiling the kernel, looking for sticking points, and optimizing them.
why wouldn't at least some of this work be contributed back to the mainline kernel? it is modifications on a GPL'd kernel, after all.
Or in your case, the boys bathroom.
I did read TFA - And guess what - you have a few edge cases to consider... But reinitializing hardware in a running system is rather easy - especially in a closed system environment. Would this work for the desktop - probably not with a rearchitecture of the driver interfaces... but nothing stops it. I mean what is the difference between this and the Windows suspend feature, especially when you are using Flash to load your running image off of.
I have mod points and I am not afraid to use them
I just booted my 500MHz laptop in 20 seconds in Linux, that's from GRUB to login. Booting Windows 2000 on it takes about 80 seconds from 'press F8' to 'Login'
Also, when the linux box says I'm good to login, it is, everything is already loaded. The windows box sits there for a while AFTER I login to sort itself out and let me to the desktop. I think it's because *nix INIT process wants to load services first and let users in later, Windows is the other way around.
"Sometimes, I think Trent just needs a cup of hot chocolate and a blankie." -Tori Amos on Nine Inch Nails
I had a professor tell us this story of one of his previous coworkers:
She had designed and implemented a simple service on top of unix which was accessed by a moderate number of users. When the time to put it into production came, she looked at her remaining few crashing bugs and determined to put in a monitoring loop that would reboot the server if such a situation happened. She also determined that no data loss would occur.
Why did she do this workaround, and how did she determine what bugs she could leave in?
She had a 5 digit company phone extension. She determined that someone could call her, if she let her phone ring twice, in a short period of time. During this time the server would have finished rebooting and start serving again. She could answer the call and simply say, "Try it again", whereupon the user would find that his operation worked this time.
So remember - if your server can reboot itself (and does so automatically and safely) before they can finish dialing tech support, you have no worries!
-Adam
Try instead setting an "automatic login" to a default user... count your time period up to the point where everything has stopped loading (your hard-drive will stop ticking, heh) and all your tray icons etc etc are in place. Significant difference between that and booting just to the initial user-selection/login screen
For linux, you can try a few hard-disk tricks. Also, your filesystem might be slow... try reiser as it seems to run quite nicely. For swap partitions, put them at the end of your hard disk. Just before the swap partitions, if you have any always-loading speed-required files, try making a partition there where you can stick 'em.
There are lots of things you could tweak... being able to stick "/lib/modules" or "/usr/bin" at the end of a hard-disk could actually save you some time if you're loading a lot of stuff from there on bootup, as files on the outer rim of the HDD would load faster...
the heading paragraph should be updated to point out that this is for embedded devices. now we have morons thinking an ide drive can boot an OS in 200ms.
The reason girls and Windows users don't understand UNIX is because all the documentation is in Man files.
Ok, I am not trying to be a retard in asking this. I am curious. Why the normal boot process, start-up many different services, wait, wait, wait, etc? Why not take a memory dump/snapshot of system after the first boot and load that into memory mega fast at every boot? Boot time would be as quick as loading the image into RAM. Or has this been done?
oh wait. these are embbeded systems for things security, monitoring equipment etc. yeah i can see reboot times being critical.
This is a great example of where nit picking "Linux the kernel" vs "Linux the operating system" is right on.
;-)
"Linux" does NOT "start its services before it brings up the password prompt". Redhat does that. SuSE does that. That is a limitation of the init.d system used by some distributions, and has nothing to do with this work that FSMLabs has announced.
If you slim down a 2.4.x kernel a bit and run it with a minimal setup like BusyBox it is very easy to get a login prompt within 5 seconds of the BIOS screen beginning to load Linux. Getting a 2.4.x kernel to boot much faster than this involves kernel hacking. Fortunately, the GPL requires that FSMLabs release this source code to their customers. As an embedded systems developer, I hope that some day we'll get a "boot quickly" option in the generic kernel as well.
I can boot up DR-DOS in an emulator in a few milliseconds, not 200 of 'em! And keep in mind, the emulator just adds overhead. If I somehow managed to install DR-DOS on my tripped-out Athlon XP 3000+ system, it'd boot in even LESS time!
Cyde Weys Musings - Scrutinizing the inscrutable
Also, with Linux, you could log in to a shell or console window before starting X, rather than waiting for X and XDCMP to put up a graphical login window, but you'd then have to wait for X to start after you boot, and most people don't seem to want that for the main user interface.
Bill Stewart
New Fast-Compression-only CPR http://preview.tinyurl.com/dy575ks
100ms is when your machine is 10% of the way to totally hammered by network connections.
Bill Stewart
New Fast-Compression-only CPR http://preview.tinyurl.com/dy575ks
Sure, Linux can now boot in 200ms, but Windows can blue-screen 200ms before you can save your work. So it sounds like the Linux folks put all of their efforts into quickly beginning productive work while Microsoft focused on very quickly ending it.
Go tell that to the kernel swsusp developers. Or, better yet, since it's so trivial, why don't you just go implement it?
It's hard to be religious when certain people are never incinerated by bolts of lightning.
One difference is that you may still be running Linux on that "cutting edge when you bought it" P2-233, but you're unlikely to be running XP on anything less than 800 MHz or so, plus you've got a bigger faster disk drive and more memory. Sure, you could do an apples-to-apples comparison, but the big reason that Win2k Pro boots so fast on my new work laptop is that it's an 1100MHz box. (Another reason is that Suspend/Resume finally works reliably enough that I don't need to reboot more than every week or so :-)
Bill Stewart
New Fast-Compression-only CPR http://preview.tinyurl.com/dy575ks
THis has the potential for a Linux based PVR that is the problem using a windows machine for a pvr is the mad boot times
"System Tray" applets, desktop icons, and so on load after you type your password on Unix as well.
Windows trick is to allow interactive login before server demons start. It also does hardware detection caching and parallelization and a bunch of other tricks.
If you never power off your machine, you (almost) never have to reboot it. So net time saved is much greater...
Someone email this info to Texstar!!
"Steve Dimse is a reactionary ungrateful pseudo-rebellious asshat" - FSF Chief of Damage Control
but I must say my geek hat is off to you, sir... I would have never come up with that one.
Kudos.
Even if a man chops off your hand with a sword, you still have two nice, sharp bones to stick in his eyes.
There are much more important projects, like Gnaughty, porn for gnome that Open Sauce developers could dedicate their time to.
...Windows might boot faster, but as we all know windows has D.S.S. capabilities which means "Delayed Service Startup":)
In other words, it loads everything AFTER you login, no joke;)
It's too bad the damn power companies havn't spent some time improving their boot times... it took them like a week to restore my power *grumble*
Problem is dependency but I've seen some quite good solution to this.
If you want to make some daemons run, and some daemons depend on others, why not use a GNU tool specially designed to handle dependencies? Make the initscript into a makefile, and GNU Make should handle starting daemons quite nicely.
Will I retire or break 10K?
AC comments get piped to
I don't see this problem at all. about 30 seconds power on to useable system (with all systray items loaded).
But then I have done some tweeking with the system.
The biggest killer is web browser caches, hundreds of small files loaded and deleted on a regular basis. Also the temp directory tends to get a lot of workout, particularly when you install and remove programs regularly.
This causes a lot of fragmentation which then causes the swap file to fragment which then cascades into worse fragmentation for any new files. (at least this is my personal experience).
the solution is simple, well... kinda.
1. Put your swap file on a seperate partition or make sure it is a fixed size and located at the begining of the drive. An alternative is to put the swap file on a partition on a different drive.
2. Redirect the temp directory and browser cache to a seperate partition or better yet a seperate drive. Even if this is the only thing you do you will notice a long term performance boost.
In other words pretty much the same kind of thing you do when seting up a linux system, dividing the drive into different partitions for different purposes.
occasionally cleaning out the registry with regclean can't hurt but as yet I have seen no real benifit from doing so.
With these steps I can now happily run my win box for as long as I like, well almost. In the last three months the only thing that has taken down my system was a confilct between my tv tuner software(a little dodgy to start with) and Simcity4 that took out the sound driver.
My Linux box only takes about 20 second but it is an old AMD K6 400 and takes about 10 seconds just to get through the bios and I don't load X, just use it for an experimental web server. Something went wrong with the hardware on this box so it won't run windows at all, not a real loss since It forced me into upgrading to a decent system and gave me something to experiment with.
Cheers
Zambuka
1999 called, they want their smart-ass comment back. Windows 2003 and XP don't bluescreen unless you use bad drivers. I've seen Linux crash more often.
The problem is the loading system speed can be fix. /etc/rc.d/rc rewrite /etc/init.d/functions and a few other files and the load time rocks.
The boot system does one thing at a time no mult processing at any point. Enableing mult process load at points ie Fg and Bg processes I have this working the text out is majorly stuffed(fix required) Boot time of my redhat on a 633 Mhz athon was runing rings around 2.4Ghz pent 4 booting XP. Basicly rewrite
Basicly the startup scripts are the problem.
Note the performance was achived with just by allowing many service to load many system side by side. Note this does not cause any know problems yet. Other than the out put being stuffed.
Required kit is abs (avanced bash scripting) from www.tldp.org. Read it. Number 2 a lot of backup.
Number 3 start small.
This was not with after loading all stuff was loading before.
I for one welcome our new, more rapidly booting overlords.
Timothy has a small dick, so Cmdr's Taco measures the output which drips from his ass in milli-semens, you insensitive clod!
you [theinquirer.net]
So, what the fuck's with AMD and asian bondage slaves?
I think with a bit of working it would work on your Athlon XP Source code is out there(it works on my Athlon slot A). I dont think I would like to be working there but to each their own.(I ran it to fix a windows problem before I left MS products behind and went to Linux)
Not SIEMENS!!!! WELL,, hey good news is SIEMENS SUCKS!!!! Only losers work in Siemens
In Soviet Russia the Linux box rapidly reboots you!
I wish I could attach a picture of a burly Russian dude with a furry hat and a red star pointing at out at whoever is reading this. Kind of like a communist version of Uncle Sam with some cool 50s era propoganda look to it. Any artists out there want to immortalize the much overused joke?
how about those guys at NASA; i bet they'd be REAL interested in getting a failed shuttle/sattelite system to reboot in less than a second
one obvious example; i'm sure there are others
Won't someone here get a clue! This has nothing to do with a server or desktop computer! ... so give up all the bragging about how this beats windows, and all the boasting that you haven't booted in 4 years so it doesnt matter...
This doesn't affect you.
George Bush + Linux = "I will not let information get in the way of the fight against Windows"
I have developed this... For linux - no thank you, I prefer a paycheck
I have mod points and I am not afraid to use them
Seeks storms aren't inevitable doing stuff in parrallel. The Kernel's quite capable of handling a modest amount of simultaneous disk accessing. It's only doing too much at once in parralel that leads to "thrashing".
Perhaps a solution would be the equivalent to "make -j", where you can tune how many simultaneous things to run. In fact "make" is a good model for this whole approach, since the control mechanism will also need to do dependency-blocking.
Other refinements that occur to me:
- Things could be marked as "light", "medium", or "heavy", and the "weight" of simultaneous running processes kept constant.
- The control process could be adaptive, tracking the "load average" and altering the "weight" of individual processes to seek a best aggregate run time.
Where's the source?
In my perspective Yodaiken comes with a rather questionable track record of toying around with linux only commercially.
1 Earth is warming, 2 It's us, 3 it's royally bad, 4 we need to take action NOW
Now dance for me!
Where can I download this and try? Sounds fun to boot up my box in 200ms rather than a full 17 seconds. That is of course 17 seconds couting the init.
I'd bet the emulator doesn't accurately emulate the slow start-up of the physical devices in the PC... you know, real flux capacitors and spacetime conductors take a lot more time to fire up and stabilize their voltage than ones emulated in software.
I don't think "alert" is the term one would use to describe said readers...
Perhaps the answer to the problem of teenagers dropping bricks from motorway and railway bridges is to sue Tetris.
This is a timed version of my kernel boot sequence on an RTE-V850E/ME2-CB board (a rather pokey processor -- 80MHz); the first column is seconds:
[ 0.002619 ] Linux version 2.4.21-uc0 (miles@mcspd15) (gcc version 2.9-v850ice-000414-nmit-20010327) #62 Wed Jul 16 16:03:57 JST 2003
[ 0.009299 ] On node 0 totalpages: 8192
[ 0.019597 ] zone(0): 8192 pages.
[ 0.030390 ] zone(1): 0 pages.
[ 0.030635 ] zone(2): 0 pages.
[ 0.030891 ] CPU: NEC V850E/ME2
[ 0.031065 ] Platform: Midas lab RTE-V850E/ME2-CB
[ 0.031322 ] Kernel command line:
[ 0.031869 ] 50 BogoMIPS (precomputed)
[ 0.067024 ] Memory: 24388K/32768K available (291K kernel code, 150K data)
[ 0.068884 ] Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.069639 ] Inode cache hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.070279 ] Mount cache hash table entries: 512 (order: 0, 4096 bytes)
[ 0.071467 ] Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.072234 ] Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.073991 ] POSIX conformance testing by UNIFIX
[ 0.074414 ] Linux NET4.0 for Linux 2.4
[ 0.074663 ] Based upon Swansea University Computer Society NET3.039
[ 0.075648 ] Starting kswapd
[ 0.078020 ] Serial driver version 5.05c (2001-07-08) with no serial options enabled
[ 0.078538 ] ttyS00 at 0xfe08000 (irq = 90) is a 16550A
[ 0.079150 ] Blkmem copyright 1998,1999 D. Jeff Dionne
[ 0.079349 ] Blkmem copyright 1998 Kenneth Albanowski
[ 0.079544 ] Blkmem 1 disk images:
[ 0.079889 ] 0: 876000-FCE7FF [VIRTUAL 876000-FCE7FF] (RW)
[ 0.084282 ] VFS: Mounted root (romfs filesystem) readonly.
[ 0.085781 ] Freeing unused kernel memory: 20K freed
Whoo, 80ms!
Not that useful though (no network devices; network devices seem to take forever to start)...
We live, as we dream -- alone....
You really should take the ellipses out of your sig. It's improper usage.
So remember - if your server can reboot itself (and does so automatically and safely) before they can finish dialing tech support, you have no worries!
Why reboot the whole server when you can restart the service? Only morons resort to rebooting in the first instance, and only an ass dragging incompetent would go to so much trouble to work around implementing a real solution.
POKE 36879,8
here is how to boot the userspace stuff faster:n ux/librar y/l-boot.html?ca=dgr-lnxw02BootFaster
http://www-106.ibm.com/developerworks/li
Damn, my system will get HOT diggededam in the future.
yo zambuka
thanks for the suggestions.. i usually stick to linux workstations, but i do have windows installed for graphics apps and games, so hints to tweak the system and install stuff properly are very welcome...
just a question.. how can i "redirect" the temp directory? i sometimes tried to make those link-thingies windows has, but obviously they don't behave the same way in windows than softlink in linux do.. i had applications compain that the target path (temp = link to other directory on other partition) was not a directory. and indeed, if you examine them closely, they just seem to be regular files with a string pointing to the target..
how do you do it?
thanks
stray
My guess is that this story has changed its exact form when passing between people, and that it restarts the service. I think few servers would restart in the short time where her two ring signal wait would make a difference. Welcome to the real world; sometimes workarounds are necessary, when you are working funded by someone elses money - not in your parents' basement.
...that are usually shut down by pressing the power button, it doesn't have th have any exit point :) As for entry point - just have all the bits in CPU, RAM and the rest set as frozen at arbitrary operation point and start ticking the clock. Not a normal entry point either. But I agree, it's still a binary. Even a core dump is a binary :)
45 5F E1 04 22 CA 29 C4 93 3F 95 05 2B 79 2A B2
Some distros are so slow because they load ALL the services, doesn't it? Then, why don't make some program to administrate this services?
"milli Siemens"?
Is that some sort of miniturized German electronics manufacturer?
I always thought that mS stood for "milli Sievert", a unit for ionizing radiation...
__
Not believing in force is like not believing in gravity.
Before: let's make it a separate process, and if it crashes - who cares, start another one !
After: come on, just reboot the box, nobody even notices !
I like my outfit, it's inexpensive, but cool -- April Ryan
Real men boot their machines with M$. *ducks*
Escher was the first MC and Giger invented the HR department.
BTW, mS stands for milli-Siemens. Siemens is the European equivalent of mho (inverse ohm). Goes quite well with pr0n I guess *splat*
Escher was the first MC and Giger invented the HR department.
The BIOS has to perform POST and configure the board, which is depedent on the speed of the processor. Did they take this into account? Or is the 200ms speed only after the BIOS POST?
that are usually shut down by pressing the power button, it doesn't have th have any exit point
If the power is software controlled, such as on any modern TV, VCR, or computer, the "exit point" is where the program writes to the register that shuts off the power supply. This happens a few milliseconds after the user presses the power key on the front panel.
Will I retire or break 10K?
It's restoring state that's hard, which is what swsusp needs to do.
since all of the code is probably in flash RAM anyway, so they just run the code from where it is.
Not always. Hooking the flash device up directly to the memory controller works well with fast parallel flash devices such as Game Boy Advance Game Paks, but some flash devices, such as MMC flash, are slower and serial and are treated more like disk than like ROM. (In those devices, bootstrap is performed by a small mask or OTP ROM device.) Even CF looks like an ATA disk.
Will I retire or break 10K?
if you are interesting in making a regular PC that boots up very quickly, you should definately check out www.linuxbios.org
i last played with this almost 2 years ago, and i was able to build a PC which booted from power off to playing MP3s in 6 seconds.
if that 6 seconds could be reduced to 200ms, that would be awesome! then the PC would probalby boot up faster than my hard drive could spin up and be ready.
cheers,
-zach
I am very small, utmostly microscopic.
It makes no distinction between software for PCs versus software for embedded systems. It just says you have to ditribute the source to whomever you distribute a binary.
The essential difference here is that unlike embedded systems, PCs almost always store their programs on an easily rewritable magnetic disk. But say I am writing software for an embedded device, and the software is stored in ROM. How would the GPL apply to this case?
Or say I am writing software for an embedded device that cannot run binaries that have not been signed by the device maker. The GPL specifies that "source code" includes linker scripts, and in the case of signed-only devices, these linker scripts reference a private key, which is the subject of a non-disclosure agreement with the device maker. I'm guessing that it would be impossible to distribute GPL software in this case, right?
Will I retire or break 10K?
This guy has written so much stuff, and all of it is unusable by most major Linux/BSD distributions because of his licensing.
His software has about the same reputation as OpenBSD for security, but it is extremely difficult to configure.
A preconfigured distribution, maintained by Bernstein himself, would get his software in the hands of many more people.
... when a wait of 4-5 seconds is too long?
"Consensus" in science is _always_ a political construct.
Check out Microsoft's PowerToys.. TweakUI has a dialog that lets you choose where all the special folders are. (Desktop, Program Files, etc)
That was awesome!
--
Out of order? Fuck! Even in the future nothing works! - Dark Helmet (Rick Moranis) "Spaceballs"
...and this is different than linksys how?
Apparently nobody in possession of the binaries has been refused the full source code.
Tuus crepidae innexilis sunt.
Are they still complaining about how long it takes to boot up... or are they lauding the fact that
their machine is ALWAYS instantly available now?
Meeeeeemorieeeeeeeeees..... :)
Of long lost days They uuuuuuuused to beeeeeeeee.
putting / on a solid-state HD? Granted, it has to have constant power [even when the machine is off], but might be one way for things to start more quickly.
Kinda pricey, though. . .
First of all, most people in this thread. are talking about suspend/standby, not hibernate. Hibernate is a no-power mode ('cept the clock) which writes all RAM data to disk, while standby is a low-power mode (no display, disk, etc.) that just basically waits. Hibernate is historically somewhat less reliable, although either will destroy open network connections. Both modes work quite well in Win2k+, although I'd certainly be scared in 95/98/ME.
On most laptops I've seen, you can set the bios to send standby, hibernate, or nothing to the OS when you close the case. Any effect can be used with the case open by selecting it from the Start-> Shutdown menu.
On my 233Mhz Thinkpad 600 (which is a wonderful if aged machine, but which isn't technically supported by Windows 2000 which is running it) I have case-close mapped to standby and the power-button mapped to hibernate. I also have autohibernate on low battery. So if I close it it goes to standby and from standby it'll shutdown if it gets in danger of running out of power to stay going. (Standby does _not_ last indefinitely on battery)
I've had Windows 2000 fail to recover on hibernate, but not very often and that machine had other issues. I've _thought_ standby was failing on this laptop because the response time to the wakeup button-press varies and isn't particularly fast. It's occasionally woken up without the mouse, but the mouse is finicky to start with (again, W2k doesn't properly support the onboard mouse) Sleeping and waking again has always fixed the problem, all applications still running.
All of that said, however, I certainly recommend saving everything important before sleeping, hibernating, changing power sources, or transporting the machine (even in case-closed but staying on mode) All of those things are somewhat more risky than doing nothing, but less risky than some applications.
Looking for freelance Actionscript (Flash/Flex) or ColdFusion work and/or freelance developers. Email me, put Slashdot
Like X11... Gnome... the GNOME apps, no wait, that's Linux...
MacOS X is by far the best desktop environment _I've_ ever used, and it's far better than XP. It does tend to be more expensive, of course.
It does almost everything you want it to, and it does it automatically, and they're constantly building new features in smooth ways.
It also has one of the largest available software bases around: It runs MacOSX software, MacOS7/8/9 software, linux/BSD software compiled for PPC (X11 isn't installed by default, but the OpenOffice.org installer smoothly includes it, for instance, and it's on the OSX CD) and has an available emulator (VPC) that allows you to run x86 in a window, including Windows or Linux.
Even they aren't perfect, but they're closer than anybody else. Oh, and "Mail" rocks, hard.
Looking for freelance Actionscript (Flash/Flex) or ColdFusion work and/or freelance developers. Email me, put Slashdot
Yes, because leaving office PCs on 24/7 is good working practice :|
Yep -- both headline and post should have read "ms" (milliseconds) rather than "mS" (milli Siemens); thanks to all the alert readers.
/. was broken and wouldn't accept my post!
Wouldn't it have been simpler to just say 1/5th and 1/10th of a second? Try to drive the point home in simpler terms when possible - otherwise general geekness will start to be compared to political correctness. This is not the same as Intel switching to 90 nanometers instead of 0.09 micron - that's actually a good idea, so we don't end up with 0.9e-7 micron. But anything over 100 ms can/should be expressed as a good ol' easy-to-understand FRACTION of a second.
Think, therefore be!
P.S. When I first tried to post this on 030929 11:11 PM EDT,
Must-not-watch TV!