Slashdot Mirror


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.

385 comments

  1. Only for embedded devices by Professor_Quail · · Score: 5, Informative

    This isn't for desktop linux, only for embedded devices.

    1. Re:Only for embedded devices by herrvinny · · Score: 2, Interesting

      yeah, I saw that too.. Slightly off topic, but what's the fastest boot time you can get with a 300mhz laptop? I have a compaq armada currently running Win 98, and if Linux can boot up faster than win 98 (I disabled a lot of stuff that autolaunches, like virus scanners, firewall, etc) I can use the laptop to take notes in lecture.

    2. Re:Only for embedded devices by JesseL · · Score: 2, Insightful

      The article says this work was done to improve the boot time of embedded devices, but I don't see anywhere why these changes couldn't be applied to any other computers running linux.

      --
      "Prefiero morir de pie que vivir siempre arrodillado!"
    3. Re:Only for embedded devices by Fareq · · Score: 1

      ahh... makes much more sense...

      I had something resembling
      "My BIOS takes at least 10-20 times that, how can my OS speed that up..."

      On topic, it is very cool to have an operating system that can start that quickly -- assuming stability, which is essential in embedded stuff (what happens when your Microwave has a kernel panic while cooking, for example)

      Embedded devices really should start very fast, so boot time is really important. That said, this thing about 100ms being available eventually doesn't matter. Most people can't really do much with 100ms. In fact, most people can't tell if audio synchronization is off unless its at least about 75-100ms off... and only then when looking at people's faces. My point is: going from a large number of seconds to a large number of milliseconds is a great feat. But, I think that I can wait the full 1/5 of a second for my system to boot... I won't hold my breath (or waste my $) making it 100ms faster...

    4. Re:Only for embedded devices by Libor+Vanek · · Score: 0, Flamebait

      Who cares? It's just c00l and Bill can't do it ;-)

    5. Re:Only for embedded devices by Anonymous Coward · · Score: 1, Insightful
      you could look into BeOS or QNX. They both have impressive boot times.

      Of course, DOS with edit.com, or an early version of wordperfect or wordstar would put everything else to shame

    6. Re:Only for embedded devices by wo1verin3 · · Score: 1

      I'm all for that last minute getting to class thing, but you could always boot it a minute before class starts?

      Or leave it in suspend?

    7. Re:Only for embedded devices by HidingMyName · · Score: 5, Interesting
      I'm not privy to his techniques, but he may be hardwiring the compiled kernel for the target architecture to get more speed (recall that when programming, using early binding times trade off flexibility for speed). Yodaiken's a smart guy, so I may not have guessed his tricks.

      Embedded devices may not need to do things like hardware discovery, plug and play configuration, etc. since their hardware configuration may be constant (so this stuff could be compiled into the kernel). Additionally, booting the kernel is different than doing various daemon startups and file system initializations, network configuration, etc. that one typically wants for non-desktop devices.

    8. Re:Only for embedded devices by Dahamma · · Score: 1

      > "My BIOS takes at least 10-20 times that, how can my OS speed that up..."

      Hopefully we'll see this project combined with LinuxBIOS (which can load & boot the kernel in 500ms - from compactflash at least. With IDE, you have to wait a few seconds for the disk to spin up). 5 seconds (or 1 with CF) to get to init on an x86 box would be impressive. Now to get a parallel service startup into a major distribution...

    9. Re:Only for embedded devices by Anonymous Coward · · Score: 0

      yeah, I just love to run around the campus with the laptop open, rushing to get to class.

      Perhaps the instant-on concept confuses you?

    10. Re:Only for embedded devices by yomegaman · · Score: 1

      He's talking about suspend mode (on mine it's called standby). You know, you close the lid, the computer goes into a low-power mode, then when you open it you're right back where you left off. After there really laptops that don't have this feature?

      --
      ...wearing a skin-tight topless leather jumpsuit, with cutaway buttocks and transparent crotch panel.
    11. Re:Only for embedded devices by LilJimbo · · Score: 1

      and put it in the autoexec.bat so you don't even have to type it in when it boots :)

    12. Re:Only for embedded devices by ihopMaintenance · · Score: 5, Funny

      I disabled a lot of stuff that autolaunches, like virus scanners, firewall, etc

      Good idea. Virus scanners and firewalls use WAY too much overhead. Heck I used to run them and they interfered with my screen savers and stuff. Who needs em.

    13. Re:Only for embedded devices by Anonymous Coward · · Score: 2, Interesting

      Or how about this, mod the kernel to detect a successful boot and then immediately take a snapshot of the kernel memory.

      Next time on boot, just copy the memory image into ram, set the registers up right and then jump to the instruction pointer after where the snapshot was taken and just continue.

      I think windows does something like that.

      And I know for a fact that emacs does this to help speed up its startup time.

    14. Re:Only for embedded devices by Krach42 · · Score: 0, Offtopic
      -- Stop sending me HTML mail. telnet is my POP client, and I am not an HTML/4.0-compatible rendering engine.


      I just gotta say dude, one of the best sigs I've ever seen. Reminds me of the days I was learning POP, and SMTP.

      Funny thing is when I was taking a networking class at my university, the first program I wrote (not for class) was a telnet client, which I then stated was "everything you needed to know about networking." *laugh*
      --

      I am unamerican, and proud of it!
    15. Re:Only for embedded devices by wo1verin3 · · Score: 2, Informative

      >> Perhaps the instant-on concept confuses you?

      No, it's not a matter of confusion, the parent seems to be deciding to use Windows vs Linux based on the bootup time which is silly. There are tools for every job. Sometimes it is Windows, sometimes it is Linux.

      The alternative I suggested was to use suspend, a better option would be hibernate perhaps where the laptop is completely powered down. The Ram contents are written to harddisk. On an ACPI system windows begins loading and sees that it was in suspend and loads the hibernation file into ram, or APM where this function is controlled more at the bios level.

    16. Re:Only for embedded devices by danheskett · · Score: 5, Informative

      Windows does exactly that for its "hibernate" feature. Essentially hardware is returned to a safe state (write operation suspended, etc) and the contents of memory written sequentially to a block of disk space. On boot, a small stub is loaded, which copies the data from disk to memory. Execution resumes at that point. The last thing that Windows does before hibernating is to schedule hardware re-initilization in a short period of time - essentially ensuring that things like sound cards, video cards, USB devices, etc get a "soft" reset when out of the hibernation period.

      On a decent reasonable recent PC this takes a few seconds. On my fast AMD box I hit the power button and about 2 seconds later the box is off. Hit the power button again and its back on in about 4 seconds exactly where I left off. If I lost my DHCP lease in the interim it takes another 3-4 seconds for network connections to resume.

      But whats best about the changes MS made to Windows XP is the multi-threaded boot process. Other than the kernel load the userland stuff is mostly all multi-threaded even on boot. This means services and whatnot are starting concurrently without waiting for other things to finish. Its somewhat less safe - a failed service could potentially cause others to hang and lock the system and/or cause a reset - however, I've yet to see that problem in the field. The net result is that on a typical AMD/P4 Windows XP box you can get to a login prompt/welcome screen in under 30 seconds, often under 20.

      Users I've switched from XP to various Linuxes have all complained about the boot times - Red Hat 8 on similiar hardware takes eons to get a graphical login prompt. SuSE is just as bad. Mandrake is somewhat better, but all are in the minutes not seconds metric.

    17. Re:Only for embedded devices by mirko · · Score: 3, Interesting

      RiscOS could get from a cold boot to the GUI in less than 4 seconds on an ARM3/8MHz.
      I can't even measure it now on a StrongARM/202MHz, also consider the newest RiscOS powered computer : Iyonix (Xscale/600MHz)...

      --
      Trolling using another account since 2005.
    18. Re:Only for embedded devices by Zog+The+Undeniable · · Score: 1

      I was wondering, as the article says "Normally Linux takes a leisurely 5 seconds or more to complete the boot process" and my PC takes a postively indolent 90 seconds!

      --
      When I am king, you will be first against the wall.
    19. Re:Only for embedded devices by -brazil- · · Score: 1

      But whats best about the changes MS made to Windows XP is the multi-threaded boot process. Other than the kernel load the userland stuff is mostly all multi-threaded even on boot. This means services and whatnot are starting concurrently without waiting for other things to finish. Its somewhat less safe - a failed service could potentially cause others to hang and lock the system and/or cause a reset - however, I've yet to see that problem in the field. The net result is that on a typical AMD/P4 Windows XP box you can get to a login prompt/welcome screen in under 30 seconds, often under 20.
      Yup, I absolutely love XP's lightning-bootup. But the main thing that made it possible was the implementation of non-exclusive read locking of the registry, without which the multithreaded approach would have been useless. I don't think it's any less safe - there are well-known techniques for avoiding deadlocks that should be applicable.

      --

      The illegal we do immediately. The unconstitutional takes a little longer.
      --Henry Kissinger

    20. Re:Only for embedded devices by Anonymous Coward · · Score: 1, Insightful

      Why would an embedded device need a firewall or virusscanner if it takes no input but from a certified source?

    21. Re:Only for embedded devices by blibbleblobble · · Score: 1

      "Windows does exactly that for its "hibernate" feature. Essentially hardware is returned to a safe state (write operation suspended, etc) and the contents of memory written sequentially to a block of disk space. On boot, a small stub is loaded, which copies the data from disk to memory. Execution resumes at that point."

      Yeah, tried using that mode once on Windows98: Restarting after the hibernate didn't go as smoothly as one hoped:

      IExplore has caused illegal operation and will be shut down
      IExplore has caused illegal operation and will be shut down
      Kernel32.exe has caused illegal operation and will be shut down
      Kernel32 is not responding, press space to try again or Ctrl-Alt-Del to reboot

    22. Re:Only for embedded devices by PacketCollision · · Score: 0, Troll

      So fix it. Or can you do less than that 14 year-old?

    23. Re:Only for embedded devices by RAMMS+EIN · · Score: 2, Interesting

      ``Users I've switched from XP to various Linuxes have all complained about the boot times - Red Hat 8 on similiar hardware takes eons to get a graphical login prompt. SuSE is just as bad. Mandrake is somewhat better, but all are in the minutes not seconds metric.''

      IMHO, this is due to the Linux boot process having been inherited from Unices run on servers. Waiting a couple of minutes for the system to boot is annoying, but boot time is not really an issue on a system that is normally always up.

      I have an old 486 that boots Linux in seconds (not counting the power on self test). The trick? Don't load anything you don't need. The kernel is a aggressively stripped modular kernel (with support for IDE harddisks and ext2fs built-in). Other things (drivers for the network card, floppy drive, iso9660fs, ...) are provided as modules that are only loaded when needed. The init scripts mostly just remount the root filesystem read-write, and spawn a few ttys and allow users to log in on them. Pity I can't get decent colors on the gaphic card, otherwise it would make a great terminal.

      --
      Please correct me if I got my facts wrong.
    24. Re:Only for embedded devices by dublin · · Score: 3, Interesting

      Yeah, tried using that mode once on Windows98: Restarting after the hibernate didn't go as smoothly as one hoped:

      Oh, come on now... I'm no MS apologist, but Win98's power management support was notoriously bug infested. (I know - I was Program Manager for Dell's laptops when it was introduced!)

      Comparing this to W2K or XP is like comparing DOS to VMS. There are similarities, but they are only superficial. Power managment in XP is flawless, and implemented FAR better than in even the latest mainstream Linux distros, which always seem to be two years behind the times in hardware support. (

      Sadly, PM has never been very good in Linux, I think mostly because of the anti-MS bias - If you don't hang out at the Windows Hardware Developer Conference, how are you going to know enough about the PCxx standards (which, like it or not, *define* what a PC is and how it works) to write good PM code? Answer: You can't!

      I have to say though, despite the fact that I really dislike some of Microsoft's business practices, I recently upgraded my primary desktop to XP, and it's *by far* the best desktop environment I've ever used (after expunging IE/OE for Mozilla). Like it or not, XP is a real OS, and particularly as a desktop (still 100% BSD/Linux for servers), it's the most stable and functional setup I've seen. (And this is with the low-budget XP Home, since I didn't really need the few extra features of Pro they charge another $100+ for.)

      If I sound surprised, it's because I am - W2K was the first "real OS" from Redmond, and XP is a much bigger improvement on it than I expected. Now if they could just secure it, and would quit intentionally breaking things... (like for instance *every* (older) version of Visio - Grrrr)

      --
      "The future's good and the present is nothing to sneeze at." - Roblimo's last ./ post
    25. Re:Only for embedded devices by danheskett · · Score: 1

      It isnt a big issue for "always up" servers, but for desktops that real users use - in offices and at home - people feel like its going back to "Windows 98". Its a minor issue, but RedHat 9 on a certain machine I've supported takes about 6 minutes to get to a graphical login prompt (and then of course the user logins and everything else loads etc) compared with 45 seconds on XP. If they use the hibernate feature instead of fully powering the machine off that time is reduced almost in half to about 25 seconds.

      The bottom line is that for a user who boots the machine 7 times a week they will save nearly 30 minutes of waiting time during that week. Its a small thing but its the reason I get calls from my Linux users asking why "their PCs are way slower than the other users machines".

    26. Re:Only for embedded devices by Bert64 · · Score: 1

      But a multithreaded startup can also be better in some respects, if something hangs, then the startup continues anyway, instead of it hanging the whole machine and leaving you with no input methods

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    27. Re:Only for embedded devices by Bert64 · · Score: 1

      AmigaOS was similarly fast, and for the same reasons, most of the OS is stored in ROM and it`s a fairly efficient and simplistic system. I guess RiscOS is still faster because its entirely rom based, whereas AmigaOS required a small program to be loaded from disk, which took a few seconds on a floppy.. but was instant from a ramdrive and very fast from a decent HD...
      My A4000 boots almost instantly from a scsi hd..

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    28. Re:Only for embedded devices by vasqzr · · Score: 1


      Doesn't your laptop have a 'sleep' feature?

      You really don't need to turn the thing off and then on every time.

    29. Re:Only for embedded devices by herrvinny · · Score: 1

      I hear what you guys are saying, but the last time I tried to suspend the armada, Windows crashed :-(. Another time, the screen went all weird, it's hard to describe, but imagine the screen in front of you was divided into about 20-30 vertical bars, and every other bar was a lot lighter than it should be, or somehow "fuzzed up" the screen (wow, there's a technical word for you). I don't know whether it's a hardware or software conflict, and personally I don't want to waste the money to buy a newer Windows version, and neither do I want to switch to Linux unless it can offer me faster bootups, because Win 98 is holding so many settings hostage, and it would be a pain to reconfigure Linux with the same settings, similar programs, etc unless it can offer me faster bootups.

    30. Re:Only for embedded devices by Mr+Z · · Score: 1

      Are there really laptops for which this feature doesn't start mysteriously crapping out on you after the third time you use it?

      Seriously. Every time I've gotten a new laptop (3 so far), I try out the suspend feature. It works the first 3 or 4 times I try it, and after that, it's a crapshoot. And, no, I don't load down my laptops with all sorts of useless crap. I do have corporate-mandated backup software and antivirus on it, though.

      --Joe
    31. Re:Only for embedded devices by hesiod · · Score: 1

      > Are there really laptops for which this feature doesn't start mysteriously crapping out on you

      I have a Dell C610 laptop which has no problems like the one mentioned.

    32. Re:Only for embedded devices by Mr+Z · · Score: 1
      Power managment in XP is flawless,

      That might be true for some desktop machines. However, as the annoyed user of a recent Dell laptop running WinXP, I disagree. I tried using suspend and hibernate on this laptop a few times. It worked the first couple times I tried it. Then, I started having weird problems, such as "no keyboard after resume", or "mouse and touchpad mysteriously die after unlocking" or "spontaneous reboot on resume."

      (Another unrelated annoying things include all the crashes-at-shutdown in the ATA driver, and the fact that the laptop no longer sees the DVD-ROM/CD-RW drive anymore.)

      and implemented FAR better than in even the latest mainstream Linux distros

      No arguments there. :-) Honestly, I've never seen anyone get power management (at least 'suspend/restore') truly 'right.'

      --Joe
    33. Re:Only for embedded devices by hesiod · · Score: 2, Funny

      > the last time I tried to suspend the armada

      The last time we tried to suspend the Armada, all our ships sank.

    34. Re:Only for embedded devices by Mr+Z · · Score: 2, Interesting

      I have a Dell C640 running WindowsXP Professional that does.

      Specifically, I encountered each of these problems before I gave up on hibernating my laptop and resuming later.

      • Laptop hangs during suspend/hibernate, with a pretty, blank blue screen. (I use dark blue for my backdrop, and that's what it displays.)
      • Laptop resumes, but I have no keyboard. I have mouse, though. Kinda hard to hit Ctrl-Alt-Del to log in.
      • Laptop resumes, I log in, and then mouse/trackpad "go away" after a second. Gotta go to the Synaptics mouse control panel and initiate a "reset" to get them back.
      • Laptop freezes during resume.
      • Laptop starts to resume, decides to reboot instead. Too bad for that Word document I had open.

      Of course, I use a lot of command prompts. Maybe that's it? (No, I'm not running old DOS apps. I'm using command-line utilities compiled with MinGW and Cygwin.)

      --Joe
    35. Re:Only for embedded devices by ovit · · Score: 1, Funny

      What I want to know is how Windows detected here that "Kernel32 is not responding"... Maybe Kernel32 is not the REAL kernel? :) Maybe their is a shodowy overlord kernel who's really running the show (perhaps a linux kernel?) :)

      ovit

    36. Re:Only for embedded devices by Anonymous Coward · · Score: 1, Informative

      There is no way a linux desktop machine should take anywhere near 7 minutes to boot up.

      Take a look at what services are starting up. You should be able to disable most of them. Also check for any network connections you aren't using. Redhat has an annoying habit of hanging while waiting for a dhcp response for all network devices unless otherwise configured. After a little while it will give up and continue. Disable those unused network devices.

      Sendmail can sometimes take a long time to load too. Most likely you can disable it.

      After you trim off all of the unused services your startup should be back down to a minute or two.

      As a nice side benefit, not running sendmail, ssh, rpc, apache, telnet, ftp and such will remove nearly all possible remote root exploits.

    37. Re:Only for embedded devices by Anonymous Coward · · Score: 0

      Yeah, he's certifiable, all right.

    38. Re:Only for embedded devices by blibbleblobble · · Score: 1

      "Maybe Kernel32 is not the REAL kernel? :) Maybe their is a shodowy overlord kernel who's really running the show"

      Ask the Master Controller Program

    39. Re:Only for embedded devices by ihopMaintenance · · Score: 1

      Why would an embedded device need a firewall or virusscanner if it takes no input but from a certified source?

      Read the parent post. The post I responded to was about 'something else' unless Compaq Armadas (a laptop) come with embedded Win98

    40. Re:Only for embedded devices by edxwelch · · Score: 1
      But whats best about the changes MS made to Windows XP is the multi-threaded boot process

      It's the *only* thing good about Windows XP. I see no other _useful_ features that weren't in Windows 2000... and if you are unfortunate enough to be running a SCSI disk under WinXP, the file system crawl, making that speed gain on the boot-up time largely redundant.

    41. Re:Only for embedded devices by ebricca · · Score: 1

      you cant be really serious to think ms came up with their xp for good .. i think you're first quite soon in a lock in position if you follow their lead .. second they copied quite massive stuff as i know from bsd as ex in network handling and third as they have damn much money so it isnt remarkable they know more about the proprietary suspend mechanisms yet .. it seems as ms is on cullumination point and while with linux all directs upwards - while they are somewhat on the same height ..

    42. Re:Only for embedded devices by jesup · · Score: 1

      XP is definitely better than say 98 in boot speed.

      Back in '91 or so, an Amiga 3000 (25MHz 68030) could boot to gui (Workbench) and bring up TCP/IP & NFS and do NFS mounts in 7 seconds (warm boot; cold boot was ~12 seconds). And that was with 40MB 3600RPM slow-seeking drives, and a processor that was (even in raw MHz) 1/100 the speed of modern ones. Admittedly, it wasn't starting anywhere near as much, though it was bringing up the GUI, TCP, NFS, etc.

    43. Re:Only for embedded devices by dublin · · Score: 1

      That might be true for some desktop machines. However, as the annoyed user of a recent Dell laptop running WinXP, I disagree. I tried using suspend and hibernate on this laptop a few times. It worked the first couple times I tried it. Then, I started having weird problems, such as "no keyboard after resume", or "mouse and touchpad mysteriously die after unlocking" or "spontaneous reboot on resume."

      I don't know whether your Dell is an Inspiron (just a badge-engineered Compal or Quanta box, usually using a fairly standard Phoenix BIOS) or a Latitude (Dell's attempt to justify a 2-3X cost differential for the "enterprise" market.)

      The Latitude BIOS is truly weird, and does things no BIOS should really *ever* do. If they are still using that same code, I expect they're having fits with it, since the people that wrote it and really understood it (mostly one guy) left Dell some time ago.

      Here's how weird it is: I was Program Manager in charge of getting Win98 to run on Dell's laptops when it came out. ACPI support in W98 was completely broken, but it worked perfectly in NT, which unlike 9x, was developed in a reasonably professional way at MS. This problem was so severe that it threatened to keep us from shipping Win98 at launch, something that *absolutely must never happen* in Dell's world. (Whether it works for the customer is almost a secondary concern to letting Michael keep Bill happy.)

      Our brilliant BIOS programmer (actually a Unix/Linux/BSD guy, by inclination and interest) came up with an idea after noticing that each OS made the initial ACPI call slightly differently: Hold off on setting up the BIOS for power management until that call is made, then re-write the BIOS tables for whichever OS is actually running. Brilliant in one way, doomed in another: we were able to ship at launch (and it actually worked!) and were the only OEM to do so for several months. This was dirtectly responsible for establishing Dell as a much more serious laptop player, as corporate customers *had to have* the latest and greatest MS OS, regardless of warts. But sooner or later, you have to pay the piper - If Microsofft has *ever* changed those bizarre little differences in the way 9x and NT-derived OSes make that initial ACPI call, ugly failure can be the only result. (I don't even want to think about the confusion something like VMware could cause...)

      Check to make sure you're running the recommended BIOS for your machine and OS combination and DO NOT run other versions.

      There's a reason I prefer ThinkPads and PowerBooks...

      --
      "The future's good and the present is nothing to sneeze at." - Roblimo's last ./ post
    44. Re:Only for embedded devices by dublin · · Score: 1

      When you have enough consideration for others here to use correct grammar and capitalization (so that your post is at least readable), I'll respond to your arguments (which I are pretty weak, BTW.)

      Really, though, couldn't you take another minute or two to make your post readable? Isn't the idea here to communicate? Or is your goal just to restate a politically correct position poplular among some \. readers?

      --
      "The future's good and the present is nothing to sneeze at." - Roblimo's last ./ post
    45. Re:Only for embedded devices by Anonymous Coward · · Score: 0

      Works great on my PowerBook G4.

    46. Re:Only for embedded devices by Mr+Z · · Score: 1

      Ok... ok... I'll rephrase: Are there really x86-based laptops for which his feature doesn't start mysteriously crapping out on you after the third time you use it? ;-)

      It sounds like at least Apple's got it right, which is good. Unfortunately, the software I run for work on my laptop is all Windows based.

      --Joe
    47. Re:Only for embedded devices by yomegaman · · Score: 1

      On my Acer Travelmate LCi800 both standby and hibernate work pretty much every time. I think there's been fewer than a half-dozen times I had problems getting out of standby in the many months I've owned it. This is with XP Home.

      --
      ...wearing a skin-tight topless leather jumpsuit, with cutaway buttocks and transparent crotch panel.
    48. Re:Only for embedded devices by ebricca · · Score: 1

      well i personally like to write everything in lowercase :) .. though you were right it was a bit unstructured (but arent we all a bit chaotic :)) as for ms (or m$) .. i think they are quite interested in a lock in situation as they stated (in)officially in the haloween documents (btw they act as quite every company would like) .. so a good reason to not use or pragate their products is to not get and let them get you in such a situation (on a small scale) as for your signiture .. is this a quotation of your own thought .. "GPL is a greater long-term threat" .. and then what threat ? from making money, freedom, "prosperty of the western world" ? and why .. i for myself consider the gpl as a good buisness model also in respect to exploitation of any kind btw my mother tongue is not english .. so i may make spelling mistakes :)

    49. Re:Only for embedded devices by ebricca · · Score: 1

      (the comment box ate my return formatting before :| )

      well i personally like to write everything in lowercase :) .. though you were right it was a bit unstructured (but arent we all a bit chaotic :))

      as for ms (or m$ as you'd like) .. i think they are quite interested in a lock in situation as they stated (in)officially in the haloween documents (btw they act as quite every company would like)
      .. so a good reason to not use or pragate their products is to not get and let them get you in such a situation (on a small scale)

      as for your signiture .. is this a quotation of your own thought .. "GPL is a greater long-term threat"
      .. and then what threat ? from making money, freedom, "prosperty of the western world" ? and why
      .. i for myself consider the gpl as a good buisness model also in respect to exploitation of any kind

      btw my mother tongue is not english .. so i may make spelling mistakes :)

  2. as if by commodoresloat · · Score: 4, Funny

    any linux user wants to sacrifice their uptime to boot faster

    1. Re:as if by jellomizer · · Score: 2, Insightful

      Well just remember these are for imbedded devices. Where Uptime is not much of an issue. A lot of these things are running on battery, so if you get 3 days of uptime that is absolutely grate because the wonderful battery life. For these devices boot speed is very important imagine a Palm pilot having to boot up normal linux when you turn it on. Oh your batteries would be dead before sendmail realized that there is no network configured on the system.

      --
      If something is so important that you feel the need to post it on the internet... It probably isn't that important.
    2. Re:as if by Ymerej · · Score: 1

      Don't you hate it when you get moderated up. But there are no responses to your post.
      There, there.

    3. Re:as if by robberbarron · · Score: 4, Informative

      Uh, a Palm pilot doesn't boot when you turn it on. It merely comes out of sleep. The only time it boots is when you hit the reset button on the back. Then it takes about 5-10 seconds to boot.

      However, there are a lot of embedded devices that do need to boot quickly. Automotive electronics like your radio, Nav-system, etc.. do boot up when you turn on the car, at least today they do.

    4. Re:as if by Erik+Hensema · · Score: 3, Insightful

      Real men measure uptime as a percentage, not as an absolute value.

      --

      This is your sig. There are thousands more, but this one is yours.

    5. Re:as if by Overly+Critical+Guy · · Score: 1

      Laptops.

      --
      "Sufferin' succotash."
    6. Re:as if by Anonymous Coward · · Score: 0

      100% uptime since Tuesday September 30, @04:14PM

  3. incredible by alienhazard · · Score: 5, Informative

    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
    1. Re:incredible by Anonymous Coward · · Score: 0

      ISR

      we boot in under 1 millisecond.

    2. Re:incredible by ysachlandil · · Score: 1

      Why do you say this is not available for x86?

      check out www.linuxbios.org for x86 details...

    3. Re:incredible by alienhazard · · Score: 1

      according to the article, the developments that this is about are stated as having not been ported to x86 yet. RTFM

      --
      > "I allege that SCO is full of it" -Linus
    4. Re:incredible by ysachlandil · · Score: 1

      But then according to the website of linuxbios, they boot linux in 3 seconds, and that is because they have to wait for the harddisks to spin up.

      Linuxbios is not related to this project, but then they also get the quick boot times.

      RTFWebsite

  4. NOT Only for embedded devices RTFA by Anonymous Coward · · Score: 2, Informative

    RTFA
    "Yodaiken said the new fast boot technology also supports many Intel x86 boards"

    1. Re:NOT Only for embedded devices RTFA by mcspock · · Score: 3, Informative

      Did you read the article? This was only in the context of EMBEDDED devices, and there are MANY Intel x86 embedded boards. These are very different from desktop linux, with the myriad of devices your standard PC has.

      --
      -- Patience is a virtue, but impatience is an art.
    2. Re:NOT Only for embedded devices RTFA by jonadab · · Score: 5, Informative

      Nevertheless, it's clear in the article that we're only talking about
      kernel boot time here (which is usually about five seconds). The
      _other_ three hundred seconds your system spends booting (starting
      all the services and stuff, then X, then your desktop environment,
      then any apps) are unaffected.

      --
      Cut that out, or I will ship you to Norilsk in a box.
    3. Re:NOT Only for embedded devices RTFA by linwoes · · Score: 1

      There is another article at IBMs technolgy center that describes a method of parallelizing the init startup services. They don't give concrete numbers but it is possible to reduce this time substantialy also.

  5. They (re)invented XIP? by Dancin_Santa · · Score: 3, Informative

    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.

    1. Re:They (re)invented XIP? by Vancouverite · · Score: 1
      Whoops. Please try again. The article states:

      That version boots in less than 200 mS, or 500 mS if it includes the loading of a RAMDisk from Flash memory.


      Out of cheese error!! Please reboot universe!
      --
      We are the Music Makers, and We are the Dreamers of Dreams...
    2. Re:They (re)invented XIP? by Dancin_Santa · · Score: 1

      Read that marketspeak again.

      They are only including the time from bootloader to kernel jump in the 200ms number. The actual boot time is 500ms. They still need to initialize the Flash as a bootable device and that is what takes up the 300ms. It certainly isn't anything to sniff at, but it's a little disingenuous to say 200ms when real world usage will show the lower speed.

      Still, getting a system to kernel startup in under half a second is pretty decent for any bootloader.

  6. kernel boot != complete system initialization by Ankh · · Score: 5, Informative

    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
    1. Re:kernel boot != complete system initialization by Weaselmancer · · Score: 4, Insightful

      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.

      True, but this is still great.

      The article says, "less than 200 milliseconds (mS) from power-up to application code startup." The thing that makes this great is that not every device is going to go through the entire *nix init sequence.

      How about a device like a Linux embedded router, or something like that? Just a kernel running and that's all. Or how about a dashboard mp3 player that only needs to run one application?

      This makes Linux much more like customized firmware, and there are plenty of places to use that.

      Granted, this'll be great when it makes it to the desktop, too. =)

      Weaselmancer

      --
      Weaselmancer
      rediculous.
    2. Re:kernel boot != complete system initialization by Anonymous Coward · · Score: 0

      A prime example of a worthless post.

  7. 200 mS? by Shaklee39 · · Score: 1

    and boot times of under 100 mS 200 is too slow for me, I think I will wait for the 100 to be released.

    1. Re:200 mS? by Seehund · · Score: 1

      Is 200 millisiemens (mS) fast or slow?

      Oh, Timothy and the anonymous story submitter meant milliseconds, ms.

      Why is it that not even alleged nerds can use units and prefixes properly these days? Measuring disk space in "mb", CPUs operate at clock frequencies of a certain number of "mhz", and their modems are of the "56 KBPS" kind...

      Or is "S" another US-centric medieval unit, for measuring time? ;)

      --
      Help savingAmigaOS and a free PowerPC market
    2. Re:200 mS? by Russ+Steffen · · Score: 4, Funny

      Actually, the "S" unit refers to the Imperial Second, which is defined as the interval of time between now... and now.

    3. Re:200 mS? by Anonymous Coward · · Score: 0

      you mean 100 MicroSofts?

    4. Re:200 mS? by frisket · · Score: 1
      > "mS" (milli Siemens)

      Surely this is what all the current spam is about curing?

      The best cure for sea-sickness is to go and si under a tree -- Spike Milligan (RIP)

    5. Re:200 mS? by Thelxepeia · · Score: 1

      At least the typo wasn't 200 MS (Microshafts). That would take most of the afternoon.

    6. Re:200 mS? by Surt · · Score: 1

      Booting with a low conductance is neither fast nor slow but safer from viruses, of course.

      --
      "Who is the Journal of Quantum Physics going to believe?" --Stephen Hawking
  8. Now I can get my pr0n in 200ms!!!!!! by scosol · · Score: 1

    Happy day!

    --
    I browse at +5 Flamebait- moderation for all or moderation for none.
    1. Re:Now I can get my pr0n in 200ms!!!!!! by Technician · · Score: 1

      I hope you enjoy it in ASCII. This does not include a graphical interface. ;-)

      --
      The truth shall set you free!
  9. Slightly off topic but about *nix boot times by Zelet · · Score: 2, Insightful

    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)
    1. Re:Slightly off topic but about *nix boot times by gordyf · · Score: 4, Informative

      Linux starts its services before it brings up the password prompt. Windows loads, displays the login prompt and continues starting services in the background.

    2. Re:Slightly off topic but about *nix boot times by Anonymous Coward · · Score: 0

      I think it is due to all the services loading at start up time. never investigated it though.

    3. Re:Slightly off topic but about *nix boot times by Anonymous Coward · · Score: 0

      The reliance on scripted Perl and sh to control the boot sequence means that the system needs to spend time loading those scripting engines and executing the scripts rather than simply running straight from binary code.

      Anyone who tells you that running shell and Perl scripts is as fast as running binary code is lying.

    4. Re:Slightly off topic but about *nix boot times by Zelet · · Score: 1

      Could Linux theoretically do this? If so - why doesn't it?

      --
      ...And when they came for me, there was no one left to speak out for me." - Martin Niemoeller (1892-1984)
    5. Re:Slightly off topic but about *nix boot times by Libor+Vanek · · Score: 1

      Windows XP are usually nothing more then OS+GUI. But Linux usually boots all kind of services also.

    6. Re:Slightly off topic but about *nix boot times by Libor+Vanek · · Score: 1

      There are some projects which are trying to modify rc scripts to boot on background (now it's sequential - after one is completely started up next one is started). Problem is dependency but I've seen some quite good solution to this. But I don't remember the name any more :-(

    7. Re:Slightly off topic but about *nix boot times by benjamindees · · Score: 1

      You could try moving XDM/GDM/KDM to an earlier position in the init scripts. On my system, KDM is the last thing to start. I don't know if this is because it is dependent on other things being started first or what.

      --
      "I assumed blithely that there were no elves out there in the darkness"
    8. Re:Slightly off topic but about *nix boot times by madcow_ucsb · · Score: 1

      Dunno, but at least it's consistant. Unlike windows where the boot time seems to double every couple months, even when you keep unused apps uninstalled, defrag and run registry cleaners and spyware detectors often and kill all unneeded services...

      I'll be damned if I can figure out how to fix that without doing a monthly reinstall...

    9. Re:Slightly off topic but about *nix boot times by TD_3G · · Score: 3, Insightful

      Windows XP doesn't finish loading everything before you actually see the screen. Not sure about your system, but my XP get me to the welcome screen in maybe 15 second... the welcome screen then sits there for about another 5 seconds, then I finally get my login... after logging in it continue to load a lot of my device drivers which freeze the system up (not completely but make it slow to the point I can't use it) for about another 30 seconds. You could probably modify init to provide you with a login prompt before it starts running all the services... this way here you'd be able to login and use the system and the services would load up in the background while you were doing this. That's basically what XP does, realistically the time it takes me to get from loading to services start up in Linux is probably under 10 seconds... the services are what seem to take the most amount of time. They take about 20 seconds all around to load -- Depending on how many I have. My Server system boots up in about 15 seconds total from loading to login prompt... all services loaded.

      --
      ...
    10. Re:Slightly off topic but about *nix boot times by localghost · · Score: 1

      There are probably a lot of services starting that you don't need. KDE has a good SysV Init editor you can use that has an interface kind of like the Windows service editor. Just get rid of all the stuff you don't need, and you should find that your bootup time is reduced drastically.

      Or if you want to start a lot of services, you could do it the way I do it. I've got a script I run as soon as I log in to start most services. While that's initializing all that stuff, I go to tty2 and start my X session. This, as another poster has previously pointed out, is how Windows does it.

    11. Re:Slightly off topic but about *nix boot times by exhilaration · · Score: 1
      Could Linux theoretically do this? If so - why doesn't it?

      cuz you want you want your server to be useful without having to log in

    12. Re:Slightly off topic but about *nix boot times by LucidityZero · · Score: 1
      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?

      Sure. Very simple.

      The number of services normally started up in someone's standard Linux install are many more. My friends and I noticed this actually, and once making the services similiar to a Windows boot, I was able to boot quicker on my 1700+ laptop than my friend's 2.0ghz Centrino, which was running XP.

      --
      Sig.i>
    13. Re:Slightly off topic but about *nix boot times by croddy · · Score: 1

      that's true of any interpreted language (though lisp, and to some degree python, are pretty zippy), but I'm more than happy to trade 30 seconds of boot time for the ability to completely reprogram the init sequence. far better to trust system initialization to something I can read and change -- without even having to recompile it -- than to some black box binary :-)

    14. Re:Slightly off topic but about *nix boot times by Anonymous Coward · · Score: 0

      Really? And what do you call all the "kind of services" Windows starts when it boots? A different "kind of services"? Or are you just mouthing off on shit you don't really understand?

      Yeah, "OS+GUI" indeed. Fantastic.

    15. Re:Slightly off topic but about *nix boot times by be-fan · · Score: 1

      Nope. WinXP boots tons of sevices in the background as well, like RPC servies, etc. Its just that WinXP is pretty optimized in the bootup department.

      --
      A deep unwavering belief is a sure sign you're missing something...
    16. Re:Slightly off topic but about *nix boot times by dspeyer · · Score: 1
      With a few exceptions (such as starting the network) Linux services could be started in arbitrary parrellel order. I think that someone, somewhere, has dones this. The question is, would you really want it?

      On windows, it boots up and quickly presents the creen in a finished-looking way, but the daemons launching take up so much CPU that the widgets are unresponsive. With intermittant splash screens disrupting focus. I've gotten in the habit of listening carefully for the hard drive to stop growling, and then a few more seconds just to be sure. I'd much rather it get it over with first, and show me the desktop when its actually ready for it.

      Maybe if all daemons were +20 nice this could work tolerably, but you'd think windows would have tried that?

    17. Re:Slightly off topic but about *nix boot times by Anonymous Coward · · Score: 0

      Rubbish!
      XP does not finish loading services for 30 seconds or so after the desktop has been loaded.

    18. Re:Slightly off topic but about *nix boot times by iabervon · · Score: 1

      In my case just now, "/dev/hdb1 has gone 180 days without being checked; check forced". But normally my machine (which only starts things I want) takes less time than it takes Windows XP to wake up if you let it go to sleep (I don't think I've ever seen Windows XP boot).

      Many distributions are slow because they check for new hardware, involving probing for a ton of stuff that requires I/O bus cycles. But if you happen to have Oracle, that's what will take all the time.

    19. Re:Slightly off topic but about *nix boot times by SanLouBlues · · Score: 0, Troll

      Because Linux is better. It's the same as Socialism taking a while to start up. Bigger (and thus better) things have more inertia, and take more effort to get going.

      Name three things which could hurt Microsoft
      Linux, Socialism, and big rocks. Hi-oooo

    20. Re:Slightly off topic but about *nix boot times by motorsabbath · · Score: 1

      It's easy. Install something else. Anything else.

      --
      The heat from below can burn your eyes out
    21. Re:Slightly off topic but about *nix boot times by UniverseIsADoughnut · · Score: 1

      There is still a world of differance. WinXP is fully usefull for me in about 30-35seconds from the time i hit the power button. This is on any of my computers. Linux for me and any other computer I have seen it on is in the minutes range to boot. I'm sure people have it boot fast, but that in no way seams to be normal. Also if your using some sort of tweak to get faster boots that doesn't count either since when you are compairing you have to work in terms of out of the box. Since if you tell a person linux boots in X seconds and they go to install it, thats what they will have.

    22. Re:Slightly off topic but about *nix boot times by gerardrj · · Score: 2, Interesting

      Yes, GNU/Linux could theoretically do this. But we're mostly missing/off the point of the article:

      The article is talking about Linux boot times. As they mention, Linux boots in 5 seconds on most cases (embedded or on your system) from the boot loader to kernel initialization is quite fast.
      The kernel (Linux) then starts loading application code (network services, security daemons, x windows, etc).

      To your question: Parallelizing services initialization can dramatically improve time to log on screen (LOS). Apple did this around OS X 10.2 IIRC (went from sequential to concurrent service loading) and cut down the time to LOS dramatically.

      You can probably (for example) load your network stack and local modular drivers at the same time. Then you can start all the services that depend on those: NTP, name server and mount any remote file systems. After that, most dependencies should be handled and the rest (smtp, http, ftp, telnet , ssh, etc) could all be started in the background while the system started in to multi-user mode and perhaps loaded X.

      In an ideal world all those startups would be completed before any LOS is presented, but the LOS should probaly be delayed until the system has completed the load-in process.

      --
      Article X: The powers not delegated... by the Constitution...are reserved...to the people
    23. Re:Slightly off topic but about *nix boot times by Anonymous Coward · · Score: 0

      My dual boot system boots Linux a lot faster than Windows XP.

      When I first installed XP it was fairly comparible, but it seems the longer you have XP the slower it gets. Linux boot times are much more consistent.

      It also depends a lot on what crap you are loading on startup. My trimmed down Linux From Scratch boots much faster than a fairly standard Red Hat install.

    24. Re:Slightly off topic but about *nix boot times by drinkypoo · · Score: 1

      My windows xp was like the above with 512MB of ram. When I upgraded to a gigabyte of ram, my boot time was cut in half, and it was ready for me to log in just as soon as the screen appeared. I loaded a bunch of crap which starts up taskbar icons and makes the system effectively unusable for about 15 seconds while all that crap starts up, but that's my own fault. Most widnows users don't feel a need to load three IMs, waste, a livejournal post agent, an antivirus program, a transparent window manager, a raid utility, a mixer app, a dvd manager, a cdrom emulator, and an X server.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    25. Re:Slightly off topic but about *nix boot times by swillden · · Score: 1

      Unlike windows where the boot time seems to double every couple months, even when you keep unused apps uninstalled, defrag and run registry cleaners and spyware detectors often and kill all unneeded services...

      This is true; any Windows gurus out there want to take a stab at explaining why this happens -- and maybe what can be done about it?

      Why is it that Windows machines seem to get slower and slower over time? It's most pronounced on boot time, but it seems to me that there's some run-time performance as well. They also seem to get gradually less stable, although I only see that on desktop machines where lots of software gets installed and removed. Server stability seems to be more consistent, although boot time still degrades.

      What gives? Most people I know just assume that you *must* reinstall your workstation every couple of years, and it's a good idea to reinstall annually. Just part of system maintenance, like rebooting weekly, or even daily. There's got to be an underlying reason, though, and if there is, it should be possible to fix it.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    26. Re:Slightly off topic but about *nix boot times by Anonymous Coward · · Score: 0

      Minutes? What, are you on crack? XP seems to take forever to boot on my machine, but I hardly have time to watch the Linux boot process fly by. It might take minutes if you're, say, flicking off your power switch so it has to fsck every time you boot or something.

    27. Re:Slightly off topic but about *nix boot times by Kashif+Shaikh · · Score: 1

      In other words, it loads the kitchen sink AFTER you login...

    28. Re:Slightly off topic but about *nix boot times by yerricde · · Score: 1

      Then present a login prompt on the first console while starting all the daemons on the second console.

      --
      Will I retire or break 10K?
    29. Re:Slightly off topic but about *nix boot times by swillden · · Score: 0, Flamebait

      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?

      Boot? What is this boot? You mean that thing you have to do right after you install a new kernel? I don't know why you're concerned about saving a few seconds there after spending 30 minutes configuring and building the kernel. Which you only do every six month, at the most, right?

      Sheesh, some people want to optimize the strangest things. You'd complain about waiting 15 seconds instead of 10 to get your driver's license picture taken at the DMV -- after cooling your heels in line for 45 minutes.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    30. Re:Slightly off topic but about *nix boot times by Zelet · · Score: 1

      I've never built a kernel. I wasn't complaining either - I was asking a technical question and got a smart-ass answer from you. I wish I could mod you down... damn.

      --
      ...And when they came for me, there was no one left to speak out for me." - Martin Niemoeller (1892-1984)
    31. Re:Slightly off topic but about *nix boot times by binary+paladin · · Score: 1

      Eh. I disagree. Win2k and Linux boot about as fast on this machine including loading X. Both are liveable but neither are BeOS... that was a fast booting OS.

    32. Re:Slightly off topic but about *nix boot times by Anonymous Coward · · Score: 0

      Or you just might want to wait for getty first. your missing the point, or a clue, you would move things like print system, network servers and services and such ahead.

    33. Re:Slightly off topic but about *nix boot times by _Splat · · Score: 1

      It could, but did you ever notice that windows is basically useless for a while after you're given 'control' of the desktop after startup or login. That's why.

      --
      -Splat
    34. Re:Slightly off topic but about *nix boot times by koali · · Score: 1

      The IBM solution used make. You sure know about make, don't you? :-b

    35. Re:Slightly off topic but about *nix boot times by swillden · · Score: 1

      It was supposed to be funny. I thought it was, anyway. Don't be so touchy.

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    36. Re:Slightly off topic but about *nix boot times by GundyRage · · Score: 1

      Now that you mention it, I realize that I subconsciously draw a marquee (I think that's what it's called) on the desktop after I'm presented with a desktop just to test if the system is really ready to go. When I get good redraws on the marquee, I know the system is ready for business.

      Also, did you ever notice how the desktop gets drawn once and then again after a few more seconds? You press start - the menu comes up and then it disappears while being drawn for the second time - now you click and it works. I've always hated that. Let's not copy that implementation. - G

    37. Re:Slightly off topic but about *nix boot times by Anonymous Coward · · Score: 0
      How come my Win98 box starts in under a minute (including login), but my Win2K machine takes 2 minutes to the login prompt, and another minute or so after the password?

      Because the more sh*t you load as "features" the longer it takes. On Linux, at least you can customize your kernel and on both Linux and Windoze you should remove services you don't need.

    38. Re:Slightly off topic but about *nix boot times by cptgrudge · · Score: 1
      This is true; any Windows gurus out there want to take a stab at explaining why this happens -- and maybe what can be done about it?

      Hmm. I guess I don't consider myself a guru, but I know more than any of my personal friends.

      Although this does still seem to exist somewhat, I think it's taken a real drop since Win2k and XP. I'm a sysadmin for a large Win2k network, and from what I can see, the servers stay happy until they are taken down.

      We had the most problems when people were on 95/98. With the ability to install every type of software you can imagine (not my call, I was a grunt back then) the machines grind to an agonizing crawl. After a wipe and reinstall, they become speedy quick. Perhaps it would still happen on Win2k and XP, but I don't let users install software now. The machines do fine.

      I really think that the root of all those problems is shitty software. Seems that most commercial software you install nowadays wants a bit of your screen and processor real-estate by installing all sorts of icons and background programs. Quicktime? Realplayer? Winzip?!? Wtf?

      Check where programs run on startup. And that means registry digging too. Check HKLM\Software\Microsoft\Windows\CurrentVersion\Run . Check for hooks into explorer.exe in the registry, though that usually means your box is compromised. Legacy programs can still put stuff in win.ini and system.ini. Check the Windows Start Menu startup folder.

      Check running services in the MMC snap-in. Run services.msc to see them. See something you don't recognize? Track it down. Look at what processes are running for clues. See a process that you don't recognize? Find out what it is. I use Process Explorer from Sysinternals, a nice little free app. That running process that doesn't need to be there is stealing from you. Stealing your cycles and time.

      I probably forgot some things, but there are lots of places to "startup" things in Windows. And be careful. One wrong keystroke with this stuff and you can kill your system.

      My machine that I use for work is solid, has been for years. I will usually get uptimes measured in weeks with no problems. Stupid security patches.

      --
      Qualitas edurus commercium, nullus penitus net rimor, nullus deus beneficium
    39. Re:Slightly off topic but about *nix boot times by jameskojiro · · Score: 0

      Another thing could be fragmentation of the regestry files.

      Say You add 5MB of information to a 10MB registry files and then remove the 5MB of info from the file. How big is your registry file? 15MB! WTF! Windows doesn't seem to have any function to optimise and defragment/remove unused data from the resistry file. The only thing I have found out there on the net that compresses the registy and defrags it is something called NewSID from wininternals. Of course it was built for another function all together. But changing the SID on a registry ends up doubling it's size because you can never seem to completely remove something from a registry file which is why they had to implement a defrag/remove usless junk routine in the program.

      You could try running NewSID and see if that helps, I have seen it fix machines that have abnormally large registries.

      --
      Tsukasa: All I really want, is to be left alone...
    40. Re:Slightly off topic but about *nix boot times by Anonymous Coward · · Score: 0

      fuck you. maybe you should learn English before spouting off. why would I want network servers and print crap to start before I can log in? this guy doesn't give a fuck about network servers; he wants to see a damn login screen sometime before five fucking minutes after he starts his computer.

      btw, 'ahead' doesn't mean 'after'; it means 'before'. damn fucking Indian outsourcing...

  10. Obligatory... by Libor+Vanek · · Score: 0

    Imagine a beowulf... hmmm... what?

  11. But, but by Anonymous Coward · · Score: 0

    But I want instant boot!!

    1. Re:But, but by Anonymous Coward · · Score: 0
  12. Which prompts the question: by Atario · · Score: 1

    ...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
    1. Re:Which prompts the question: by aardvarkjoe · · Score: 1

      -- /usr/local/bin/uptime --

      #!/bin/sh
      echo "42 years!"

      There ya go.

      --

      How can we continue to believe in a just universe and freedom to eat crackers if we have no ale?
    2. Re:Which prompts the question: by Anonymous+Crowhead · · Score: 5, Funny

      alias uptime="echo '5:33pm up 22342352324 days, 6:28, 2124315623 users, load average: 2432.40, 12312.31, 123123.19'"

    3. Re:Which prompts the question: by Wakkow · · Score: 2, Funny

      Load average of 123123.19?! Holy crap. I'd rather it look like this:

      5:33pm up 22342352324 days, 6:28, 2124315623 users, load average: 0.01, 0.00, 0.00

      The uber-server.

    4. Re:Which prompts the question: by YOU+ARE+SO+SUED! · · Score: 2, Interesting
      For the record, your load averages won't go above 1024.

      It's been 17 seconds since you hit 'reply'! It's been 16 seconds since you hit 'reply'! It's been 15 seconds since you hit 'reply'! It's been 14 seconds since you hit 'reply'! It's been 13 seconds since you hit 'reply'!

    5. Re:Which prompts the question: by elvum · · Score: 1

      5:33pm up 22342352324 days, 6:28, 0 users, load average: 0.01, 0.00, 0.00

      users are bad, mmkay?

    6. Re:Which prompts the question: by Anonymous Coward · · Score: 0

      .what about a utility to set your uptime to an arbitrary value?

      download the procps source, hack the uptime function in proc/sysinfo.c and replace libproc. Put your computer in a time warp...'up=2*up;'.

    7. Re:Which prompts the question: by Anonymous Coward · · Score: 0

      Uh, load average is not cpu utilization. It is the number of processes in the run queue over the measured period of time. So a really high load average does not necessarily corolate to a high cpu utilization and vice versa (although it is hard to have a 100% utilization without a load average of at least 1.0).

      Also, being in the run queue just means the OS thinks you are ready to do some work like maybe some i/o completed or it could be something as trivial as checking if y == 0 and then going back to sleep.

    8. Re:Which prompts the question: by Anonymous Coward · · Score: 0

      So having an average of 120,000 processes in the run queue is nothing to be worried about? riggghhtttt...

    9. Re:Which prompts the question: by Anonymous Coward · · Score: 0

      So having an average of 120,000 processes in the run queue is nothing to be worried about? riggghhtttt...

      By itself, it means little to nothing. I can easily put 200K processes in the run queue and have my cpu utilization stay well below 50%. But, if the processes actually have real work to do, which is going to depend on what the specific processes are, then big run queue + heavy-hitter processes = real busy system. But then you can also say lots of heavy-hitter processes = real busy system, getting the same result without involving the run queue.

  13. Time To Abandon Windows? by Anonymous Coward · · Score: 0

    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.

    1. Re:Time To Abandon Windows? by spectecjr · · Score: 1

      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.

      You go girl! Abandon your XP Desktop and have fun checking your email on your... toaster.

      This, if you hadn't noticed, is for Embedded Linux.

      --
      Coming soon - pyrogyra
    2. Re:Time To Abandon Windows? by MerlynEmrys67 · · Score: 1

      Funny, I have a functioning login within 10 seconds of pushing the ON button - and never had problems after logging in... So I guess you must be running on an old Pentium or something (compare and contrast your startup numbers numbers with Linux on the same system). Oh, and I am not talking about Standby either... Don't like the battery drain on my laptop

      --
      I have mod points and I am not afraid to use them
    3. Re:Time To Abandon Windows? by Penguinshit · · Score: 1


      But do you have a functioning SYSTEM?

      XP-login != fully-booted

    4. Re:Time To Abandon Windows? by MerlynEmrys67 · · Score: 1
      Yes... my system works very nicely after I log in as well. Quite fully booted.

      Are you making the HUGE mistake of shutting down and rebooting the system when you hit the power button ?

      What a waste - hibernate works well on laptops - suspend (which is even faster) works well for desktops

      --
      I have mod points and I am not afraid to use them
    5. Re:Time To Abandon Windows? by Anonymous Coward · · Score: 0

      ha ha

    6. Re:Time To Abandon Windows? by TheLink · · Score: 1

      What does suspend for desktops do in event of power failure?

      I'd rather leave it on, on UPS and when there's a power failure it shuts down systematically. When the power resumes, it starts back up.

      --
    7. Re:Time To Abandon Windows? by Anonymous Coward · · Score: 0

      10 seconds? That's just about when the BIOS checks the keyboard and mouse, after counting the RAM. Thank god I only have 128 MB, If I had a GB, it wouldn't even be finished counting.

  14. I want the opposite by benjamindees · · Score: 0

    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"
    1. Re:I want the opposite by bockman · · Score: 2, Informative
      You would need something to preload the most heavy KDE shared libraries at boot time and keep them in memory.

      Some slow-to-start program (e.g. galeon) can be started in 'daemon mode' to speed up the GUI start-up response (most of the initialization time is done by the daemon at boot time).
      But it should not be difficult to make a program that just ldopen() a bunch of shared libraries and then stays alive (dunno if it will be swapped out, however).

      If there is some KDE program that does not display anything but still uses most of the KDE libraries, it could be started as a service with a fake account, just to keep those libraries in memory.

      --
      Ciao

      ----

      FB

  15. Seems pretty simple to me by MerlynEmrys67 · · Score: 4, Interesting
    Rather than keeping a kernel that gets loaded at boot time...

    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
    1. Re:Seems pretty simple to me by Dahamma · · Score: 1

      > Keep the image that the kernel creates AFTER boot - simply load that into memory and restart.

      The kernel also does a lot of hardware initialization, etc. This might work to some degree on a soft reset, but you still need to EXECUTE a lot of the kernel startup code when powering on.

    2. Re:Seems pretty simple to me by MerlynEmrys67 · · Score: 1
      The kernel also does a lot of hardware initialization, etc. This might work to some degree on a soft reset, but you still need to EXECUTE a lot of the kernel startup code when powering on.

      The joys of hot plugging and module insertion... Driver init code actually doesn't take much. Perform a hot swap event on the hardware when you restore... probably where most of the 200 mS gets spent

      --
      I have mod points and I am not afraid to use them
  16. Booting Linux Faster through Blocking by Eponymous+Cowboy · · Score: 5, Informative

    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.
    1. Re:Booting Linux Faster through Blocking by Anonymous Coward · · Score: 0

      Devel version of SourceMage already does something like this, but parallel startup scripts isn't that of an improvement on single processor systems.

    2. Re:Booting Linux Faster through Blocking by spacefrog · · Score: 1

      Hehehehehehe. We used to use a trick very similar on the Amiga way back when. "LoadWB" in your startup-sequence would actually load and display the Amiga WorkBench (similar to Finder, Explorer, whatever).

      You would do your basic initialization (establish your path, your assigns, etc.) then run "LoadWB" and *then* load all your other crap.

      End result....System would boot and be "useable" in a couple of seconds, even on an 8Mhz system.

    3. Re:Booting Linux Faster through Blocking by Anonymous Coward · · Score: 0

      It is very much of an improvement. you dont think the services use 100% of their startup time in CPU bursts do you? theres all sorts of blocking going on there.

    4. Re:Booting Linux Faster through Blocking by Anonymous Coward · · Score: 1, Funny

      This is VERY easy to do

      Um...yeah.

      I visited your links and it all immediately became blindingly clear to me...

      daemontools and svok...

      Yep.

    5. Re:Booting Linux Faster through Blocking by targo · · Score: 4, Informative

      imply run every startup script simultaneously, but have each script block until its dependencies have started.

      Btw, this is pretty much what Windows XP does, that's how it achieves a much better boot time compared to earlier Windows versions.

    6. Re:Booting Linux Faster through Blocking by FooBarWidget · · Score: 2, Informative

      Havoc Pennington said he already tried that before, but the end result was *slower*, not faster. Basically, it's because of disk seeking time. Harddisks are slow. Simultanous loading will result in a seek storm which makes everything load noticably slower. The same is true for applications: if I try to load Galeon and Mozilla Mail at the same time, the total time is higher than when I load Galeon, and then Mozilla Mail.

    7. Re:Booting Linux Faster through Blocking by Anonymous Coward · · Score: 0
      Btw, this is pretty much what Windows XP does
      Yes, this is true, but making mention would have changed the post from +5 Informative to -1 Flamebait. ;-)
    8. Re:Booting Linux Faster through Blocking by Anonymous Coward · · Score: 5, Informative

      That's why it is necessary to do what Windows XP does: each time it boots, it records the order of sector accesses. Then, when it is later idle, it reorganizes those sectors to optimize them for the next boot--a much smarter form of the traditional "defragmentation." The result is a recursive iteration to the optimal sector organization, and the fastest possible boot. (Incidentally, it also does this while loading each individual application, which is why applications start so much faster under XP than 2000.)

    9. Re:Booting Linux Faster through Blocking by Anonymous Coward · · Score: 0

      Then, when it is later idle, it reorganizes those sectors to optimize them for the next boot--a much smarter form of the traditional "defragmentation."

      And - ironically enough - sometimes XP manages to priorize this background process over every userland app on my system making it practically unusable. Actually I would prefer a little longer boot time.

    10. Re:Booting Linux Faster through Blocking by Ziviyr · · Score: 1

      That was a very naturally occuring "trick". Amiga doesn't have much beyond the Workbench to load on startup. And its not wholly smart to autorun stuff before that.

      Its just a simpler system.

      It'd be interesting to see if Linux can reach that sort of tightness someday. Right now it seems to be moving the other way though.

      --

      Someone set us up the bomb, so shine we are!
    11. Re:Booting Linux Faster through Blocking by Anonymous Coward · · Score: 0

      Are u smoking crack? Windows 95 boots up in 5-10 seconds on a pentium 233 with 32 megz of ram. XP can't even install on that.

    12. Re:Booting Linux Faster through Blocking by yerricde · · Score: 1

      parallel startup scripts isn't that of an improvement on single processor systems.

      So you really think it's fun waiting fifteen seconds to get an IP address? Do you think that modern network card drivers have to busy-wait to get IP addresses? No, they block until the NIC sends an interrupt when receiving a packet from the DHCP server.

      If you 'make' the daemons start in parallel, you 'make' the computer boot faster.

      --
      Will I retire or break 10K?
    13. Re:Booting Linux Faster through Blocking by Bert64 · · Score: 1

      95 used to take ages on a p233, but 3.11 started almost instantly

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    14. Re:Booting Linux Faster through Blocking by Bert64 · · Score: 1

      My Amiga used to take ages to boot, because of all the crap i had running.. i ended up using a multithreaded boot process, and it seemed slower, so eventually i cached all the boot files before loading them, this was much faster, since the machine had a lot of ram, by amiga standards anyway, and the disk was pretty slow.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    15. Re:Booting Linux Faster through Blocking by michaelhood · · Score: 1

      I use daemon tools. It lets me mount up the warez ISOs..^W^W

    16. Re:Booting Linux Faster through Blocking by Bert64 · · Score: 1

      Spacefrog ? spacefrog.demon.co.uk user from ircnet #worms/#amiga ?

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    17. Re:Booting Linux Faster through Blocking by Bert64 · · Score: 1

      I liked the original sourcemage, aka sourceror, which had just a simple single script for startup, no fancy init stuff...
      all i had in mine, was:
      ifconfig eth0 bla bla bla /usr/bin/iptables-script
      route add default bla /usr/sbin/sshd &

      and it was to a login prompt pretty much instantly once the kernel had initialized, the system this story talks about could cut the kernel init time down, so now all we need is to speed up the bios post.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    18. Re:Booting Linux Faster through Blocking by mst76 · · Score: 1

      > 95 used to take ages on a p233, but 3.11 started almost instantly

      A cleanly installed win95 system was very fast on a P233 with sufficient memory. You may have forgotten it but the P233-mmx wasn't even introduced until 1996, the Pentium II-233 followed in 1997. Booting was (and still is) slow if you installed virus scanners, ms-office, and other autostart items, and if you used networking. Sadly, more and more application writers feel that their application is so important that is should be started on every boot.

  17. Wrong OS!!! by netsharc · · Score: 0, Troll

    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!
  18. Congratulations by Anonymous Coward · · Score: 0

    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.

    1. Re:Congratulations by MerlynEmrys67 · · Score: 1
      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.

      Then you go off and talk about Hibernate. Suspend simply stops the CPU and keeps the RAM hot... Allowing the CPU to come back where it left off. Hibernate actually writes it off to hard drive.

      Now in an embedded environment - I can have a HOT OS on a fast flash that I can execute from. Why do I store the kernel there - just store a suspended kernel - and restart it

      --
      I have mod points and I am not afraid to use them
    2. Re:Congratulations by vidarh · · Score: 2, Informative
      "fast flash" is an oxymoron. Flash is slow slow slow. You most certainly don't want to execute code straight from flash unless your system is ridiculously slow anyway.

      Just copying a kernel or a suspend image from flash will give a quite noticeable delay.

      And take a look at swsusp - restarting a suspended kernel is NOT trivial. You need to reinitialise hardware, some of which may not allow you to read back their state (graphics cards being a common culprit) so that you need to know what state they were in on suspend.

  19. Wait a second, or rather, 200ms by Absurd+Being · · Score: 0, Troll

    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
    1. Re:Wait a second, or rather, 200ms by Penguinshit · · Score: 4, Funny


      Linux doesn't crash. It "creatively parks".

    2. Re:Wait a second, or rather, 200ms by placeclicker · · Score: 0

      Kernel updates?

      --

      Browse at -1, because trolls are often the most creative part of /.
    3. Re:Wait a second, or rather, 200ms by caillon · · Score: 1

      Don't forget about users of laptops and other portable devices who occasionally do turn their machines off.

    4. Re:Wait a second, or rather, 200ms by pixas · · Score: 1

      sometimes accidents do happend.

      (yes the picture is fake but you all know what I mean by it)

    5. Re:Wait a second, or rather, 200ms by niko9 · · Score: 1

      Linux doesn't crash. It "creatively parks".

      Yeah! You sure showed him you rocket scient.. I mean, aerospace propulsion engineer!

  20. Less than 200 milliseconds? by Anonymous Coward · · Score: 0

    Too bad their web servers aren't that fast!

  21. Another Windows optimization by MerlynEmrys67 · · Score: 4, Interesting
    Windows does some very intersting things with both optimizing the location of sectors on the hard drive and loading drivers

    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
    1. Re:Another Windows optimization by iabervon · · Score: 1

      If you have a binary module and you statically link it to the kernel, you can't distribute the result. In this situation, though, you don't want to distribute it, so you're fine. Of course, you could also arrange so that the module is not linked to the kernel but just contained in the kernel image (and linked at runtime, as if it had just been loaded into memory off of the disk), at which point it's "mere aggregation" and permitted for distribution by the GPL.

      For that matter, if you're exclusively an end user, you don't even have to accept the terms of the GPL, so it doesn't matter what it says.

      As for whether the vendor can distribute the module that you would do this with, it's fine as long as you don't have to statically link it. They can't be blamed for how you link it, and you can't be blamed under the GPL if you're only an end user, so everybody's happy.

    2. Re:Another Windows optimization by swillden · · Score: 1

      If you have a binary module and you statically link it to the kernel, you can't distribute the result. In this situation, though, you don't want to distribute it, so you're fine.

      In the case of developers of embedded systems, they generally do want to distribute the result, inside a device.

      However, in most embedded devices, the time required to load a module from media isn't relevant, since all of the code is probably in flash RAM anyway, so they just run the code from where it is. As a result, the cost of loading a module is insignificant.

      It's also worth pointing out that the GPL does not distinguish between static and dynamic linking; it just talks about "linking". This means that distribution of binary-only modules probably technically infringes on the kernel developers' copyrights. However, Linus has taken the pragmatic stance that allowing binary-only modules is a reasonable compromise that serves to widen the range of hardware that can be supported. So, since it's good for Linux, no one makes an issue of it. It would be interesting to see what would happen if some kernel contributor decided to get sticky about this point. Odds are that unless he had contributed really significant amounts of code, his code would simply be rewritten to make the issue go away again.

      OTOH, when Linux achieves sufficient market presence that hardware manufacturers *must* have Linux support to be competitive, we may see that policy decision change. Kernel developers accept binary-only modules, but they don't really like them (c.f. the whole kernel tainting thing).

      Some might worry that Linus might suddenly change his mind and start suing vendors who've provided binary-only drivers, but given that Linus has publicly stated that binary-only drivers are okay (and no one else in the kernel development community has objected), it's unlikely that a court would do anything more than just order the vendors to stop distribution (or start providing source, their choice).

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    3. Re:Another Windows optimization by Anonymous Coward · · Score: 0

      You mean if Linux is changed to hijack a binary module and swallow it into the kernel without the driver's permission?

      And enforce the GPL on it?

      I think that would define "viral" activity.

    4. Re:Another Windows optimization by Scarblac · · Score: 1

      You mean if Linux is changed to hijack a binary module and swallow it into the kernel without the driver's permission?

      And enforce the GPL on it?

      No, just use it. That's allowed (that's always allowed). If you do that, you're not allowed to distribute the result anymore though, by the GPL, and probably by the license of whatever proprietary module we're talking about.

      Remember, copyright law always allows using things, it just restricts copying and distribution.

      --
      I believe posters are recognized by their sig. So I made one.
    5. Re:Another Windows optimization by scrytch · · Score: 1

      > 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

      If it writes out a static kernel with a non-GPL driver linked in, you simply have a kernel you can't distribute under the GPL, not a "GPL-tainted" kernel.

      Secondly, Linux has a specific exemption to the GPL for closed modules.

      --
      I've finally had it: until slashdot gets article moderation, I am not coming back.
  22. Re:Oh well by binarybum · · Score: 1

    Huh? please show your work.

    ps. the sticker is 4000 not 40000.

    --
    ôó
  23. I'll be impressed by commodoresloat · · Score: 2, Funny

    when linux boots 200 mS before I turn the computer on.

    1. Re:I'll be impressed by Anonymous Coward · · Score: 0
      Ok,

      leaves room

      comes back in

      reaches for power button

      damn, its on already

      Solution = leave it on

  24. Great. by Executive+Override · · Score: 1

    Not only it almost never crashes, but when it does you barely even notice it! :-]

  25. 100 mS? by pesc · · Score: 2, Interesting

    But what does electrical conductance have to do with boot times? 100 mS is 100 milliSiemens. Milliseconds is abbreviated ms.

    --

    )9TSS
    1. Re:100 mS? by Anonymous Coward · · Score: 0

      Heh, heh. You said, "semens".

    2. Re:100 mS? by Anonymous Coward · · Score: 0

      As it is not even tangible, the boot time of a machine is very non-conductive and thus could easily have boot times way below 100 mS.

    3. Re:100 mS? by Anonymous Coward · · Score: 0

      It has everything to do with it, obviously.

      It's like my father says when anyone says "Jesus":
      "What's Jesus got to do with it?"

      Well, Jesus has something to do with everything, obviously. If it were'nt for Jesus' sacrifice for our Sins, then God would have wiped us out... Right? It's funny, because everytime he says that, I reiterate that idea... And I'm a flaming-going-to-burn-in-hell-athiest.

      Sick sense of humor, maybe. He still hasn't got it after 10 years or so.

      Anyway, not to have digressed, but conductivity has everything to do with booting an electrical device, of any kind. Obviously. Just like Jesus.

    4. Re:100 mS? by Anonymous Coward · · Score: 0

      I guess you haven't noticed that timothy is an idiot? duh ....

  26. And for the desktop, there is always LinuxBIOS by drfreak · · Score: 2, Interesting

    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

  27. Summary of preceding posts by tessaiga · · Score: 0, Flamebait
    Windows boots faster because it cheats. Linux boots slower because it's got more useful stuff. Linux booting slower because you set it up wrong. The clock you used to time the boot-ups must be broken. Linus Torvalds' dad can beat up Bill Gates' dad.

    Did I miss any?

    --
    The bold print giveth, and the fine print taketh away ...
    1. Re:Summary of preceding posts by WindBourne · · Score: 1

      Linus Torvalds' dad can beat up Bill Gates' dad.
      While I am not sure about Linus's father, I am quite certain that Linus's wife could :)

      --
      I prefer the "u" in honour as it seems to be missing these days.
  28. They removed the offending code: by cybermace5 · · Score: 2, Funny

    // 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++;
    }

    --
    ...
    1. Re:They removed the offending code: by Anonymous Coward · · Score: 1, Funny

      And this is why Linux requires a 32 bit processor. It just hangs here on 16 bit procs.

    2. Re:They removed the offending code: by praxim · · Score: 2, Funny

      Hey, hold up there! You don't want a nasty letter from SCO's lawyers, do you?

    3. Re:They removed the offending code: by Soul-Burn666 · · Score: 1

      That will just make compile time longer.
      Since foo isn't volatile, the compiler will notice that code does nothing and will remove it ;)

      --
      ^_^
    4. Re:They removed the offending code: by Anonymous Coward · · Score: 0

      I think you are thinking of an optimizing compiler, like the one included with Microsoft Visual Studio.NET 2003, or Borland Code-X, not GCC. They have neat features like incremental compiling and linking.

    5. Re:They removed the offending code: by maxmg · · Score: 1

      That's only because somebody got scared that Microsoft could sue them for IP violations.

      --
      I asked for a refund - and got my monkey back.
    6. Re:They removed the offending code: by thunderbird46 · · Score: 1

      mod this guy up, my sides are splitting from laughing!

    7. Re:They removed the offending code: by Anonymous Coward · · Score: 0

      The sad thing is that I have seen code very much like this.

    8. Re:They removed the offending code: by Anonymous Coward · · Score: 0
      Wait a minute! That's SCO code! No, that's Windows Propriet... hmmm, now, we've even got that in Solaris, but Solaris licensed it from SCO.


      But can anybody explain why SCO's code, and Windows Proprietary code both say "Code to make Linux startup look like it's doing something"?


      Oh, well. IP law is IP law: better remove it. We'll have to be more careful in the future.

    9. Re:They removed the offending code: by Anonymous Coward · · Score: 0

      gcc just does it differently. you need creative use of __builtin_constant to accomplish that.

    10. Re:They removed the offending code: by Anonymous Coward · · Score: 0

      /* Code to make Linux startup look like it's doing something. Insert in a few hundred random places. Humor impaired version */
      volatile long foo = 0;
      while (foo < 10000000)
      {
      foo++;
      }

    11. Re:They removed the offending code: by Anonymous Coward · · Score: 0

      Be wary of using gcc -O4 with the above code. It tends to optimize it down to this:
      long foo = 10000000;

    12. Re:They removed the offending code: by Anonymous Coward · · Score: 0

      Oh they were long foo fighting, those kids were fast as lightning....

      Man, I both scare and amuse myself entirely too much.

    13. Re:They removed the offending code: by IainHere · · Score: 1

      foo++;

      OMG! That's just disgusting; imagine using a post-increment operator when there's no need for a temporary.

      I'm off to cleanse my mind with another read of Sutter's GOTW.

  29. eh? by Anonymous Coward · · Score: 1, Funny

    "...speeds up system boot time to less than 200ms... The techniques are processor independent"

    Could anyone think about the 386SX/20 please???

    1. Re:eh? by TeknoHog · · Score: 1
      Could anyone think about the 386SX/20 please???

      I couldn't think of it, but my Beowulf AI of 386SX/16s just imagined it.

      --
      Escher was the first MC and Giger invented the HR department.
  30. Mirror? by Anonymous Coward · · Score: 0

    Slashdotted already??!!!!??

  31. No, it is not that simple at all. by seanadams.com · · Score: 5, Interesting

    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).

    1. Re:No, it is not that simple at all. by Mattsson · · Score: 1

      Something that's been bugging me for years is that computers and OS's that's capable of saving state to disk and then turn off won't let me create a state-image of my newly booted environment and then always load it at power on instead. (Wah! That was a long one.)
      I've been wondering about this since I got my first IBM Thinkpad around 1998.
      It could hibernate to disk and then power off.
      This was done to a separate partition and was independent of OS.
      To "boot" again took the time to read 24 MB from the harddrive. (It had 24 MB ram)
      But even though I can now do exactly the same thing in windows, I still can't keep a hibernationfile for fast booting.
      Is this possible in Linux? I've searched for it, but haven't been able to find anything.

      --
      /.Mattsson - My native language is not English, so please don't whine over linguistic errors. (That's lame anyway...)
    2. Re:No, it is not that simple at all. by Anonymous Coward · · Score: 0

      I suspect the problem is related to filesystem state... if you do a one-off hibernation, you can simply dump the memory, reload and reinitialize the hardware. I'd guess APM handles the hardware reinitialization so that whatever OS is on doesn't have to do much about it. But if you want to reload an old hibernation save, then your filesystems on disk would no longer be in a consistent state with what the OS filesystem code assumes -- and what the open applications assume. As far as I can see, to make it work, every application would have to be told that its files (and sockets) are now suddenly closed and need to be reopened and checked for updates. Needless to say, updating all applications to support restarting from a memory snapshot is not really feasible. One-off hibernation basically avoids most of the problems, and doesn't screw up applications.

  32. Misleading... by DroopyStonx · · Score: 2, Insightful

    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!!
    1. Re:Misleading... by Krach42 · · Score: 1

      Not nearly as misleading as "College Freshman builds Fusion Reactor" :P Here I thought it was a scientific breakthrough from some kid thinking outside the box, and I find out it's just a reduplication of something someone else has already done, and documented.

      Maybe "College Freshman replicates Fusion Reactor" or something like that, at least then I wouldn't think he invented it.

      --

      I am unamerican, and proud of it!
  33. POST by Anonymous Coward · · Score: 0

    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.

    1. Re:POST by julesh · · Score: 1

      POST checks are for wimps! ;-)

  34. Would make a great commercial by niko9 · · Score: 2, Funny

    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: :(

    1. Re:Would make a great commercial by Anonymous Coward · · Score: 0

      For those who doesn't get it: It's Geico's advertisement!! Laugh! LOL!

  35. why is it ... by sl0ppy · · Score: 4, Insightful

    ... 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.

    1. Re:why is it ... by seanadams.com · · Score: 5, Insightful

      They only have to distribute their source to whomever they distribute a binary, if and when they do so. Under the GPL you do not bear the burden of publishing, distributing, and supporting source changes that you made for your own use, or changes which you have not yet distributed.

    2. Re:why is it ... by sl0ppy · · Score: 2, Insightful

      They only have to distribute their source to whomever they distribute a binary

      and this is different than linksys how?

      this isn't meant to be a troll, but i'm really not seeing how this is different.

      FSMLabs sells RTLinux, a real-time version of linux. i'm sure that they are doing their duty and distributing the source of the RTLinux kernel. wouldn't their additions to the kernel become GPL, and be able to be integrated into the main-line kernel?

    3. Re:why is it ... by Anonymous Coward · · Score: 0

      Because this is news, and they aren't actually selling the code with these optimizations just yet. It's still in-house . . .

    4. Re:why is it ... by seanadams.com · · Score: 1

      and this is different than linksys how?

      When I buy a linksys router I am gettting linux binaries running on the system.

      FSMLabs sells RTLinux, a real-time version of linux. i'm sure that they are doing their duty and distributing the source of the RTLinux kernel. wouldn't their additions to the kernel become GPL, and be able to be integrated into the main-line kernel?

      At this point there is no reason to doubt that when they release these changes in the form of a product, we'll get source.

    5. Re:why is it ... by sl0ppy · · Score: 1

      At this point there is no reason to doubt that when they release these changes in the form of a product, we'll get source.

      exactly! there seems to be a lot of confusion as to what this entails. reading the article, it looks as if this is pointed optimizations.

      the company releases its run-time for free, under the GPL license, and probably (i haven't looked, i'm giving them the benefit of the doubt, i'm lazy) the source to their changes as well.

      at the time of my post, there was a plethora of "this is only for embedded systems" posts. my points were as follows:

      o the article talks about finding places to fix, and fixing them

      o these are modifications to the kernel, and should make it to mainline

    6. Re:why is it ... by seanadams.com · · Score: 1

      exactly!

      Exactly what? Do you agree with me or are you just very confused?

      I would suggest that you read the GPL. 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. What is confusing about that?

    7. Re:why is it ... by sl0ppy · · Score: 1

      i state again:

      at the time of my post, there was a plethora of "this is only for embedded systems"

      at that point, there were three reasons why people seemed to think that this would not help the desktop:

      o skipping hardware initialization
      o the rtlinux kernel is somehow radically different than the mainline kernel
      o FSMLabs wouldn't give back the changes

      i pointed out that the article stated that many of the optimizations were from what appeared to be profiling, and that people seemed to be missing that this was a modification to the kernel, that the changes would (or should) go back into the mainline kernel, or at least become patches against the mainline kernel by someone who gets the GPL'd source.

      i see no point in my original post where i state that these wouldn't/shouldn't make it into the mainline kernel, are you sure you read it correctly?

    8. Re:why is it ... by TheLink · · Score: 1

      What if they don't distribute the binary but distribute a saved memory image of a running kernel?

      That's not distributing binaries in many people's dictionaries.

      --
    9. Re:why is it ... by seanadams.com · · Score: 1

      Really you had two questions: "why haven't they released this", and "why won't this go into the mainline kernel". Two totally different questions. I addressed the first. We can discuss the second if/when the code is released. :)

    10. Re:why is it ... by sl0ppy · · Score: 2, Interesting

      nah, i know why they haven't released it (or at least i have a pretty good idea). my proof-of-concept code is usually tersely written and not tested under all conditions, and i'm assuming theirs is as well. i'm sure they'll release it when it's all cleaned up :)

      my first part wasn't "why haven't they released this", but more a jibe at people that seem to think that releasing code is super-fast.

      i've tried to go thru legal to get supposedly "proprietary" code released to GPL (even if it's a requirement of the license that legal already accepted). my thought is that we should be more patient, rather than attacking linksys, or apply that rage evenly, and complain in this case as well.

    11. Re:why is it ... by sl0ppy · · Score: 1

      if it runs as a native, compiled image, it's a binary.

      even if it's a saved memory image, it still has an entry and exit point, and is still in a form that the machine executes, it's still a binary :)

    12. Re:why is it ... by nathanh · · Score: 2, Informative
      ... 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?

      Because the GPL only guarantees your right to source code if you first receive the modified binaries. You can't demand the source code "immediately" once the change has been made. FSM could conceivably keep this project in-house forever without releasing the source code. However as soon as they distribute binaries they must provide the source code.

    13. Re:why is it ... by Anonymous Coward · · Score: 0

      The thing to keep in mind is that THEY DON'T HAVE TO RELEASE THE CODE TO THE PUBLIC. They are only required to release the code to people who buy their services.

      It has nothing to do with tersely written code or whatever.

      Linksys was selling devices that contained GPL code. The GPL requires that anyone to whom a GPL binary is licensed the source must also be provided. Therefore, Linksys was not fulfilling their obligations to the GPL.

      OTOH, this change in question is not available to anyone except those who are actual customers or purchasers of the changes. Only they will get to see the code. If the code is likewise GPL'd (likely not), then they will be required to offer the source to any of their customers.

    14. Re:why is it ... by Anonymous Coward · · Score: 0

      The GPL does not say anything about binary, it only talks about distribution. No matter what form you distribute it in, you still need to include the source (or at least make it available).

      "Binary" in this case just means "anything that's not the source", but actually, even if you distributed only the source, you would still need to include the source, there is just no reason to say that, because you can't distribute the source without the source.

    15. Re:why is it ... by Anonymous Coward · · Score: 0

      except linksys has been told about their infringement months ago, and put up some tgz'd sources on their web site which, apparently, are not everything. Seems like they were trying to pass them off as it though. See the tiny little big ass gaping wide difference?

  36. Re:WOW by Anonymous Coward · · Score: 0

    Or in your case, the boys bathroom.

  37. Re:No, it is not that simple at all. - but it is by MerlynEmrys67 · · Score: 1

    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
  38. Not for me. by MarcQuadra · · Score: 1

    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
  39. Good news. Now my software can be more buggy. by stienman · · Score: 5, Funny

    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

  40. With XP, outer rim. by phorm · · Score: 2, Interesting

    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...

    1. Re:With XP, outer rim. by gordyf · · Score: 1

      The significant difference between booting to login-screen and booting to the desktop comes from all the apps set to load for a user, such as aim, icq, msn, some virus scanners (most should load as a service), volume control apps, video driver helpers, not to mention explorer itself! Ever used a person's computer and seen 95371 systray apps? They (well, most) load on login, not on boot.

    2. Re:With XP, outer rim. by Nogami_Saeko · · Score: 1

      Part of the windows problem seems to be that startup applications and services all try and execute in parallel, thus thrashing the hell out of the drive and slowing the machine a whole lot.

      Why not force (or allow the user to set) a limit on the number of startup applications that execute simultaneously to avoid thrashing the drive and making the startup sluggish.

      --
      "Nothing strengthens authority so much as silence." - Charles de Gaulle
    3. Re:With XP, outer rim. by Anonymous Coward · · Score: 0

      Why don't MS write a better disk IO elevator - like the wonderful Antecipatory Scheduler from Rusty Russel!

    4. Re:With XP, outer rim. by nivedita · · Score: 1

      The outer rim of the hard drive (the faster part) is usually at the logical beginning of the drive, not the end. Also, a large portion of the time required to load things, especially small executables, is seek time, not read. Putting things at the beginning of the drive improves disk throughput for those files, but if they are small, that is irrelevant. Frequently accessed files should be closer to the center of the drive to minimize seeks (of course, if they're small and frequently accessed, they're probably sitting in RAM anyway, so this won't apply). For the same reason, it may be better to keep your swap (if you actually ever hit it) in the middle of the drive.

    5. Re:With XP, outer rim. by phorm · · Score: 1

      The beginning of a drive is the RIM? So this would be pretty much the reverse of a CD-ROM then?

      Seems I've been somewhat mislead previously.

  41. I think this needs to be updated by spir0 · · Score: 1

    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.
    1. Re:I think this needs to be updated by Anonymous Coward · · Score: 0

      In a matter of fact a HD controller+firmware are more than suitable for booting an OS.

      It's just a question of adapting the kernel for it.

  42. My stupid question for XP or Linux desktop... by grolschie · · Score: 1

    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?

    1. Re:My stupid question for XP or Linux desktop... by vadim_t · · Score: 1

      Just wouldn't be much faster. I have a dual system. I'm pretty sure the CPU is not the bottleneck. It's the hard disk.

      Loading my RAM (1GB of it) from disk is probably going to take longer than booting the old fashioned way. In any case, whatever you read from the disk can't be much smaller than the sum of all the executables

    2. Re:My stupid question for XP or Linux desktop... by Anonymous Coward · · Score: 0

      In the Windows family, it's called 'Hibernate'. You still have costs:
      - Hardware has to be initialized
      - reading the image takes time, especially on IDE drives.

      There's some time you can save (no need to re-read executable images, for example, just fault them in as required)

    3. Re:My stupid question for XP or Linux desktop... by kulpinator · · Score: 1

      See the previous similar question. The answer by seanadams.com is very helpful.

      And it's not a stupid question...very reasonable, if you assume it can be done.

      --
      Karma: Positive (mostly due to rash moderations)
    4. Re:My stupid question for XP or Linux desktop... by Anonymous Coward · · Score: 0

      it's called 'Hibernate'

      No it's not. Hibernate restores to state prior to shutting down (hibernating). This guy's idea is to always load the same fresh image into memory. Much less hassle than hibernation.

    5. Re:My stupid question for XP or Linux desktop... by Anonymous Coward · · Score: 0

      Ever heard o "hybernate" XP option? Well, so that's exactly what it does: dump all the memory to HD on shutdown ("hybernate") and restore it on the next powerup.

    6. Re:My stupid question for XP or Linux desktop... by Anonymous Coward · · Score: 0

      Well, there would be many problems if you tried to do this... For example if you take a dump/snapshot only on first boot, then when the file system is changed, and dump/snapshot has incorrect info, you'd be in a big trouble. It can even damage your data. Tho, it's possible a work around there... you could just dump/snapshot till you start accessing extra data on FS, but then it probably won't change boot time that much. Besides each boot you'd still need to check if the devices have changed, cause that might be a problem too.

    7. Re:My stupid question for XP or Linux desktop... by grolschie · · Score: 1

      wrong. I don't want to restore to previous state, but initial state of a clean boot. Otherwise system could be restored with memory leaks and the aftermath of program crashes.

  43. WTF?!?! by monkeyboy87 · · Score: 2, Informative
    Why do we care how long it takes to boot something that can have an uptime measured in months and years??!?!?

    oh wait. these are embbeded systems for things security, monitoring equipment etc. yeah i can see reboot times being critical.

  44. Linux != init.d by Voivod · · Score: 1

    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. ;-)

    1. Re:Linux != init.d by Anonymous Coward · · Score: 0

      It's acutally not anything to do with the sysv style startup. It has to do with inittab. Open up /etc/inittab and replace 'wait' with 'once' for runlevels 1,2, 3, 4, and 5 (6 and 0 are special, of course). Using the slacware image for user-mode-linux and changing it's rc.M script to be 'once' instead of 'wait' made the terminal windows appear before openssh and whatnot ran.

    2. Re:Linux != init.d by Anonymous Coward · · Score: 0

      At least on SuSE (and almost certainly RedHat too) That will only give you getty, you'll still need to wait for XDM. Because XDM is still started last in the init-scripts.

      And getty will be mostly useless, when all the daemons starting up are writing their output all over the screen.

  45. 200ms?! That's forever!! by Ignorant+Aardvark · · Score: 1

    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!

  46. Login Prompt vs. Useful System by billstewart · · Score: 1
    Yes, Windows does a login prompt earlier in its boot sequence than Linux usually does, but just because you've typed in your login and password doesn't mean you've got a usable system, especially on Windows. After you do that, it spends a while loading lots of System Tray applications, running whatever it runs to get pretty icons on your desktop, and also running whatever equivalents to .profile are set up on your network login as well as running your Startup folder apps. Moving the request for a password earlier doesn't really help much.

    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
    1. Re:Login Prompt vs. Useful System by Anonymous Coward · · Score: 0

      But while you are typing your login and password the remaining services are loading in the background. So instead of waiting until every loadable service is finished loading before seeing a login prompt, you are able to login at a suitable time *in parallel* to other services. Another small shave off of boot time.

  47. That's "milliSlashdottings" by billstewart · · Score: 1

    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
  48. Windows can do something else though... by fmaxwell · · Score: 1

    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.

  49. Re:No, it is not that simple at all. - but it is by damiam · · Score: 1
    But reinitializing hardware in a running system is rather easy

    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.
  50. XP = Newer, Faster Hardware by billstewart · · Score: 1

    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
  51. Massive Potential by 555-5555 · · Score: 1

    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

    1. Re:Massive Potential by beerman2k · · Score: 1

      Linux basd PVR? Oh, you must be reffering to the TiVo.

  52. billstewart vs intelligence by Anonymous Coward · · Score: 0

    "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.

  53. Why bother anyway? by BrokenHalo · · Score: 0, Redundant

    If you never power off your machine, you (almost) never have to reboot it. So net time saved is much greater...

    1. Re:Why bother anyway? by trippinonbsd · · Score: 3, Insightful

      For servers a big draw back is that if you have to patch the kernel (or update it) you must reboot, but if the acual reboot only takes less than a second, users might hardly notice the downtime (you could reboot and keep a 99.99% uptime).

    2. Re:Why bother anyway? by BrokenHalo · · Score: 1

      My kernel load is a lot quicker than the POST and BIOS loading, which takes > 45 seconds.

    3. Re:Why bother anyway? by bluGill · · Score: 1

      Microsoft has fixed that problem. A PC Must show the windows XP logo in 6 seconds, or something like that. Of course that is nothing coompared to linux booting completely in 200ms, but a good start compared to the full minute BIOS takes on my PC. Details can be downloaded at http://www.microsoft.com/whdc/winlogo/downloads.ms px. (I didn't like it cause microsoft changes links often, and I can only find a word document there, which I can't open so I'm not ever positive I have the details right)

      I'm told that linux bios can get your system up fast too, but I don't know much about that project.

    4. Re:Why bother anyway? by BrokenHalo · · Score: 1
      I've often wondered about Microsoft's OSs booting so quickly. I can put up with it by simply not running Windows, and never rebooting Linux except when I build a new kernel.

      But I guess if it's a choice of being able to boot in no time at all while being aware that the machine can blue-screen in about the same interval, I'll take the longer boot-time...

  54. Hurry! by pair-a-noyd · · Score: 0

    Someone email this info to Texstar!!

  55. Your Sig by Anonymous Coward · · Score: 0
    "RMS and FSF are seeking power, not freedom."
    -Steve Dimse
    "Steve Dimse is an embecile and an ass pirate" - RMS

    "Steve Dimse is a reactionary ungrateful pseudo-rebellious asshat" - FSF Chief of Damage Control

  56. Oh, you're killing me by The+Tyro · · Score: 1

    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.
  57. Re:No, it is not that simple at all. - but it is by Anonymous Coward · · Score: 0

    There are much more important projects, like Gnaughty, porn for gnome that Open Sauce developers could dedicate their time to.

  58. And everyone knows... by Kashif+Shaikh · · Score: 4, Informative

    ...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;)

    1. Re:And everyone knows... by Des+Herriott · · Score: 1

      That matches my experience. I get a Windows 2000 login dialog much faster than I get a Red Hat 9 login dialog on my laptop, but the first 2 or 3 minutes of using Windows involves blinking hourglasses and a constantly churning hard drive. I'd say the total time from power-on to usability is roughly the same between Windows and Linux.

    2. Re:And everyone knows... by matvei · · Score: 1

      That's pretty much what you get if you use KDE/GNOME. It seems to take about the same time to log into a KDE environment than it takes for the computer to boot up to the display manager's login screen.

    3. Re:And everyone knows... by Chester+K · · Score: 1

      ...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;)


      Let's see.... I've never heard of this before, I know it to be false, and The Hive Mind has absolutely no references to it.

      Care to try to salvage your credibility?

      --

      NO CARRIER
    4. Re:And everyone knows... by RupW · · Score: 1

      In other words, it loads everything AFTER you login, no joke;)

      No, it doesn't - it offers you the login prompt whilst it's still loading services. But it does finish loading most / all the services before it'll give you a desktop.

      If you left it for a minute or so and *then* logged in it'll go straight in.

    5. Re:And everyone knows... by RupW · · Score: 1

      the first 2 or 3 minutes of using Windows involves blinking hourglasses and a constantly churning hard drive

      You almost certainly need more RAM. One of our servers did this and we found it was loading ~1Gb of services into swap. Now we have a motherboard that takes more RAM it gets a desktop in 20 secs or so.

    6. Re:And everyone knows... by TrippyZ · · Score: 1

      He was probably thinking of 'delayed group policy application' which effectively shortens 'time to desktop' but screws up the admin of our network.

      TZ

    7. Re:And everyone knows... by Kashif+Shaikh · · Score: 1

      There was a smiley at the end of my sentence after my phrase...

      But if you look at it,

      - It executes the all the programs in the "RunOnce" registry key
      - Windows connects to all your SMB shares after you login
      - It loads all the common internet apps after you login(i.e. messenger takes a long time to startup and connect). There should be a common backend server spawning a new messenger interface for each user instance
      - it reads a 2-5megabyte user profile file at startup
      - when you logout: all your processes are destroyed(when you logout in linux the background processes or processes not attached to a tty are left intact).

      BTW, for what its worth I have a stock Windows 2000 Server on my Desktop and it takes a really loooooong time to boot and startup. Moreso than RH9.0 with "Everything Installed".

      Kashif

    8. Re:And everyone knows... by Chester+K · · Score: 1

      - It executes the all the programs in the "RunOnce" registry key
      - Windows connects to all your SMB shares after you login
      - It loads all the common internet apps after you login(i.e. messenger takes a long time to startup and connect). There should be a common backend server spawning a new messenger interface for each user instance
      - it reads a 2-5megabyte user profile file at startup


      That's effectively your .profile under Windows, though. Those aren't "services", they're "applications" -- they can't load prior to login because which ones load depends on who's logging in. My account may have different SMB shares than your login; and I might have MSN Messenger disabled on my account, while you don't, for instance.

      - when you logout: all your processes are destroyed(when you logout in linux the background processes or processes not attached to a tty are left intact).

      Windows doesn't kill a process if you start it unattached from your session with the "at" command -- so its functionality is strikingly similar to Linux in this regard. If you set /interactive, the app may terminate when you log out if it hasn't been written to correctly handle the logout message -- Windows doesn't kill it, it kills itself incorrectly.

      BTW, for what its worth I have a stock Windows 2000 Server on my Desktop and it takes a really loooooong time to boot and startup. Moreso than RH9.0 with "Everything Installed".

      I may be mistaken on this point, but I don't think Microsoft started touting shorter bootup times until Windows XP.

      --

      NO CARRIER
  59. The Power Companies by Kujah · · Score: 3, Funny

    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*

  60. Want a faster boot? "Make" it so. by yerricde · · Score: 2, Informative

    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?
    1. Re:Want a faster boot? "Make" it so. by Anonymous Coward · · Score: 0

      This is exactly what this recently-slashdotted article exercises.

  61. RTF?!?! by Sebby · · Score: 1
    Did you?

    --

    AC comments get piped to /dev/null
  62. Re:aSlightly off topic but about *nix boot times by zambuka · · Score: 1

    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

  63. Linux FUD by Anonymous Coward · · Score: 0

    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.

    1. Re:Linux FUD by Anonymous Coward · · Score: 0

      Hmm, I guess the MS-supplied NEC USB 2.0 drivers are bad then. Too bad I can't do without them.

      Well, that's not entirely true, win32k.sys also causes crashes along with about any of the ATI drivers for my ATI AIW 9000 Pro.

      Oh yeah, let's not forget that if I use the Logitech drivers for my MX700 I have to constantly (every 30 seconds or so, or whenever a shared interrupt occurs on whichever USB port I'm plugged into) reconnect my mouse. If I try to capture video even with the MS HID driver, it will constantly reset the mouse which obviously causes quite a bit of jerkiness and missed clicks.

      A couple more things:
      -->1) The storage system in WinXP doesn't drop drives down to PIO when it is obvious they don't work together such as with my PDC20269 Maxtor UltraTX133 controller and my 92048D8 Maxtor drive (DMA writes lock up the communication, requiring the entire card be reset to bring it back). This works in the beta Win2003 at least...where after the first timeout, it drops the mode to PIO using the same driver version.
      -->2) All of this equipment works just fine in Linux, with the exception of course of the Rage Theatre 200 which is not currently supported under Linux due to lack of vendor support and hardware docs.

      So until MS learns to create drivers that can handle 4 devices sharing 1 IRQ, then we won't know for sure if it's the OS or the drivers. I guess I have to take your word for it, though it's odd how the drivers that ship with it are "bad" (i.e. the 3dfx and NEC driver [oh, did I forget to mention that the banshee driver also caused BSODs?]).

      But let's not constrain ourselves to my system. Here's a list of people that use XP/2000 and experience regular (at least once a week) BSODs: my Grandma (XP), my mom (2000), my sister (XP), and my former boss on two computers (2000 & XP). My dad still uses windows 98.

      But yeah, that's so 1999...

      On a side note, the longest uptime for my XP system without a BSOD, 1 week (upon reboot it reported the registry was corrupted and I had to re-install) and I was on vacation so I hardly used the machine. With Linux, 31 days on the same system under at least 8 hours use per day. The only reason I reboot anymore in Linux is to update to the latest test kernel.

      Normally I wouldn't post this (especially since I have mod points so now I can't moderate here), but I've wasted so much time and money on MS that I can't tolerate XP/2003 FUD like this...

  64. I have proto type the fixs this by Anonymous Coward · · Score: 0

    The problem is the loading system speed can be fix.
    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 /etc/rc.d/rc rewrite /etc/init.d/functions and a few other files and the load time rocks.
    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.

  65. Faster booting! I have to... by glenebob · · Score: 1

    I for one welcome our new, more rapidly booting overlords.

  66. The truth about Timothy... by Anonymous Coward · · Score: 0

    Timothy has a small dick, so Cmdr's Taco measures the output which drips from his ass in milli-semens, you insensitive clod!

  67. um? by fenix+down · · Score: 0, Offtopic

    you [theinquirer.net]

    So, what the fuck's with AMD and asian bondage slaves?

  68. Hmm Try FreeDos by Anonymous Coward · · Score: 0

    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)

  69. MilliSECONDS by Anonymous Coward · · Score: 0

    Not SIEMENS!!!! WELL,, hey good news is SIEMENS SUCKS!!!! Only losers work in Siemens

    1. Re:MilliSECONDS by dosius · · Score: 1

      Well one good thing, I think they're the only company that released an IBM-compatible CP/M 4.1 (Personal CP/M-86 .2.0/4) that actually felt like CP/M. (DOSPLUS 1.2, which came with the Amstrad PC1512, felt like MS-DOS. But you could run a CP/M 4.1 CCP on it.)

      -uso.

      --
      What you hear in the ear, preach from the rooftop Matthew 10.27b
  70. Re:Faster booting! I have to... by binary+paladin · · Score: 1

    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?

  71. Oh yea? by waspleg · · Score: 1

    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

  72. hello! This doesn't affect you! by GISGEOLOGYGEEK · · Score: 2, Informative

    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"
  73. Re:No, it is not that simple at all. - but it is by MerlynEmrys67 · · Score: 0, Offtopic

    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
  74. make -j by Julian+Morrison · · Score: 2, Interesting

    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.

    1. Re:make -j by eyeye · · Score: 1

      interesting comment, thanks.
      I dont get mod points anymore so this will have to do :-)

      --
      Bush and Blair ate my sig!
    2. Re:make -j by julesh · · Score: 1

      It's only doing too much at once in parralel that leads to "thrashing".

      Sorry to nitpick, but thrashing isn't really what we're talking about here. Thrashing is the state a system gets into when in order to do any useful work more stuff needs to be in memory than will actually fit there, so the system is instead almost constantly waiting for pages to be fetched from swap space.

      We're just talking about bad optimisation of disk accesses.

      You have a good point, though, and that kind of system could certainly work fairly well.

      Other suggestions that come to mind:

      - the system might want to try out different start orders on different runs and time things to see what works better, so startups would gradually improve (eg maybe starting a process which does a lot of disk access at the same time as mounting NFS filesystems which uses the network connection is better than doing two disk-intensive startups at once).
      - Other parameters could be tuned by an automatic feedback process too, like the amount of parallelism.
      - A kernel option could be provided that gives a process lower priority access to the disk system for the first few seconds of operation, meaning that the higher priority process would effectively have to finish using the disk before the second one would be allowed to. This might or might not require substantial changes; I don't know the Linux disk scheduling code at all, I only know about how such things work in theoretical terms.

  75. Where is it? by Kynde · · Score: 1

    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
  76. I'm with you 99%. by Anonymous Coward · · Score: 0

    Now dance for me!

  77. Download? by tewmten · · Score: 0

    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.

  78. Re:200ms?! That's forever!! by Anonymous Coward · · Score: 0

    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.

  79. ms vs. mS? by Ritontor · · Score: 0

    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.
  80. Sort of depends the details... by macshit · · Score: 2, Informative

    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....
  81. You sig by Anonymous Coward · · Score: 0

    You really should take the ellipses out of your sig. It's improper usage.

  82. Re:Good news. Now my software can be more buggy. by Spit · · Score: 1

    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
  83. In other story... by Anonymous Coward · · Score: 0

    here is how to boot the userspace stuff faster:
    http://www-106.ibm.com/developerworks/lin ux/librar y/l-boot.html?ca=dgr-lnxw02BootFaster
    Damn, my system will get HOT diggededam in the future.

  84. Re:aSlightly off topic but about *nix boot times by stray · · Score: 1

    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

  85. Re:Good news. Now my software can be more buggy. by myom · · Score: 1

    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.

  86. As OS for embedded devices... by SharpFang · · Score: 1

    ...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
  87. Idea by Anonymous Coward · · Score: 0

    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?

  88. Uhhh, milli Siemens? by sdijkstra · · Score: 2, Informative

    "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.
    1. Re:Uhhh, milli Siemens? by haschka · · Score: 1

      Siemens is the european equivalent for mho

    2. Re:Uhhh, milli Siemens? by julesh · · Score: 1

      Siemens is the european equivalent for mho

      Huh? Siemens are SI (that is, international standard) units, there's nothing European about them other than their name :-)

      I'd never heard of 'mhos' before today, although having looked it up in a suitable reference it is defined as an 'archaic' term for siemens...

  89. More relaxed approach to writing software by tgt · · Score: 1

    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
  90. mS? by TeknoHog · · Score: 0, Offtopic

    Real men boot their machines with M$. *ducks*

    --
    Escher was the first MC and Giger invented the HR department.
  91. Re: pr0n in 200 mS by TeknoHog · · Score: 1

    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.
  92. BIOS by chickdigger · · Score: 0

    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?

  93. Exit point in embedded device software by yerricde · · Score: 1

    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?
  94. Re:No, it is not that simple at all. - but it is by Anonymous Coward · · Score: 0
    Reinitializing hardware is easy.

    It's restoring state that's hard, which is what swsusp needs to do.

  95. Some flash looks more like disk than like ROM by yerricde · · Score: 1

    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?
    1. Re:Some flash looks more like disk than like ROM by swillden · · Score: 1

      Thanks.

      I was speaking based on the flash-using embedded devices I've developed for, but I wouldn't claim to have extensive knowledge of the thechnology.

      Is the main difference the I/O channel?

      --
      Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
    2. Re:Some flash looks more like disk than like ROM by yerricde · · Score: 1

      Is the main difference the I/O channel?

      Yes, that, and the speed of the memory itself. If the flash memory is accessed only at boot time through a copy to RAM, the flash chip doesn't need to be as fast, and slow flash memory is less expensive.

      --
      Will I retire or break 10K?
  96. linuxBIOS is also cool by Anonymous Coward · · Score: 0

    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

  97. Excellent, now I have even more time to... by gatkinso · · Score: 1

    ...sit around and wait for driver support.

    --
    I am very small, utmostly microscopic.
  98. Key difference between PCs and embedded by yerricde · · Score: 1

    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?
  99. Bernstein needs to release a UNIX distribution by emil · · Score: 1

    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.

    1. Re:Bernstein needs to release a UNIX distribution by Bob+Uhl · · Score: 1

      Rather, he needs to get his act together and release his software under the GPL. Then we users can take the good and toss out the bad (slashpackage, anyone?).

    2. Re:Bernstein needs to release a UNIX distribution by RobbieW · · Score: 1

      Bob, with all due respect, have even read Dan's short explanation of Software User's Rights? You have the right to modify Dan Bernstein's software as you see fit. If you don't want to use a particular feature, don't. If you want to install qmail into the /etc directory, go right ahead. If you want to use /daemons instead of /service you are free to do so.

      What you don't have permission to do is distribute changed versions of Dan's software without his express permission. You can distribute a patch that makes the software act differently or install differently, but you can't modify the software and then distribute the modified version.

      Personally, I'm extremely thankful I have DJBDNS, QMAIL, etc. because they make my life easier, not harder like you seem to imply.

      Pray for the peace of Jerusalem!

    3. Re:Bernstein needs to release a UNIX distribution by Bob+Uhl · · Score: 1
      Yes, and I've read the many materials at the FSF--and I find the latter far more reasonable. I trust software which I can modify, and others can modify, without having to fall back on kludges like distributing patches far more than software which is completely controlled by one man.

      I like freedom. There's also the fact that I disagree with several of djb's technical decisions--and the fact that his software is not truly free means that if I wished to use it as a base for my own, I'd have to maintain a parallel set of patches and update them every time he updated the code. The GPL is far more user-friendly, as is the BSDL.

  100. What have we become ... by fygment · · Score: 1

    ... when a wait of 4-5 seconds is too long?

    --
    "Consensus" in science is _always_ a political construct.
    1. Re:What have we become ... by Mike+Buddha · · Score: 1

      Impatient?

      --
      by Mike Buddha -- Someday the mountain might get him, but the law never will.
  101. Re:aSlightly off topic but about *nix boot times by Anonymous Coward · · Score: 0

    Check out Microsoft's PowerToys.. TweakUI has a dialog that lets you choose where all the special folders are. (Desktop, Program Files, etc)

  102. BeOS by Potent · · Score: 1
    Anyone remember how fast the early releases of BeOS booted (around the non-BeBox PPC era)?

    That was awesome!

    --

    --
    Out of order? Fuck! Even in the future nothing works! - Dark Helmet (Rick Moranis) "Spaceballs"
  103. How it is different by nuggz · · Score: 1

    ...and this is different than linksys how?

    Apparently nobody in possession of the binaries has been refused the full source code.

  104. Pfft ... this is easy: by Greedo · · Score: 1
    Edit lilo.conf, and change
    delay = 50
    to
    delay = 0
    --
    Tuus crepidae innexilis sunt.
  105. And 6 months later when they have yet to reboot... by Anonymous Coward · · Score: 0

    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?

  106. Ahh.. the good ole days of 13.6 BogMips!!!! by Anonymous Coward · · Score: 0

    Meeeeeemorieeeeeeeeees.....
    Of long lost days They uuuuuuuused to beeeeeeeee. :)

  107. What about by bplipschitz · · Score: 1

    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. . .

  108. Suspend vs Hibernate by arete · · Score: 2, Informative

    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
    1. Re:Suspend vs Hibernate by Mr+Z · · Score: 1

      You're right, I've conflated suspend with hibernate.

      I've had problems with both suspend and hibernate. I've got my laptop set to suspend-on-close, and I've tried the old "close the lid, walk from meeting room A to meeting room B, open the lid" trick a couple times, and have met with mixed success. I've lost keyboard, had spontaneous reboots during resume, etc.

      Hibernate is monotonically worse than suspend. Unfortunately, hibernate is what I really want most of the time.

      Now I forget: Is there a suspend->hibernate transition that kicks in at some point just based on time (not battery)? If so, then maybe all my problems really are with hibernate.

      --Joe
    2. Re:Suspend vs Hibernate by arete · · Score: 1

      In Windows 2000, at least, you must first enable hibernate. This all happens in Start->Settings-> Control Panels-> Power Options. With hibernate enabled, you can select separate idle times for:
      monitor off, disk off, standby, hibernate (separate for battery or AC, and also arrangeable in profiles) You can ALSO select what to do on a battery alarm (for which you set the battery left) a critical battery alarm (again configurable) and laptop close, power button, and sleep button.

      So, in short, yes, you can make it do pretty much whatever you want. Mine, at least, will hibernate on critical battery alarm, even if it's already in standby.

      --
      Looking for freelance Actionscript (Flash/Flex) or ColdFusion work and/or freelance developers. Email me, put Slashdot
  109. Right by greygent · · Score: 1

    Like X11... Gnome... the GNOME apps, no wait, that's Linux...

  110. MacOS X by arete · · Score: 2, Informative

    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
    1. Re:MacOS X by dublin · · Score: 1

      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.


      Like they say, you get what you pay for. I love OS X, too, but I don't think it's markedly superior to XP for most desktop use. It's a better gee-whiz media machine, but as far as getting real work out the door, no, it's really no better, and although the software situation is getting much better, there are still at least two orders of magnitude more quality software for XP than for OS X. Visio alone is enough reason for me to stay with a Windows desktop, and has been the main thing keeping me in MS-land since 1999. (And you can't share local Mac printers with PCs in OS X, either. (At least not without stupid and very un-Mac-like Samba hacking. Grrrrr.)


      Even they aren't perfect, but they're closer than anybody else. Oh, and "Mail" rocks, hard.


      Ugh. The Jaguar Mail program is a helicopter crash (those are *always* ugly...) It doesn't have half the features Netscape/Mozilla Mail has, and it seems riddled with bugs that prevent correct interoperablity with Windows users. My Dad uses Jaguar, and I'm about to move him off Mail and onto Mozilla Mail just to get Microsoft attachments working cleanly with PC mail users. (AppleCare's answer to Mail's refusal to properly tag an attachment as say, application/ms-word (or whatever it is...) instead of application/octet-stream was, "Use another Mail program - that's just the way Mail is for some users..." This is not an acceptable answer in today's world, where MS is dominant, whether Apple likes it or not.)

      I've also spent several hours rebuilding (by hand, the sed/awk way) mailboxes botched by that stupid program. (At least it gets points for using a standard and fixable mailbox format, unlike the Microsoft mail tools.) I'm glad you're happy with it, but IMO, Mail is among the worst MUAs I've ever seen, and a huge dark smudge on the image of the Mac as a "just works" computer...

      --
      "The future's good and the present is nothing to sneeze at." - Roblimo's last ./ post
  111. Re:And 6 months later when they have yet to reboot by Anonymous Coward · · Score: 0

    Yes, because leaving office PCs on 24/7 is good working practice :|

  112. So complicated.. by MasTRE · · Score: 1

    Yep -- both headline and post should have read "ms" (milliseconds) rather than "mS" (milli Siemens); thanks to all the alert readers.

    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, /. was broken and wouldn't accept my post!

    --
    Must-not-watch TV!