Slashdot Mirror


Get Speed-Booting with an Open BIOS

An anonymous reader writes to mention that IBM Developer Works has a quick look at some of the different projects that are working on replacing proprietary BIOS systems with streamlined code that can load a Linux kernel much faster. Most of the existing BIOS systems tend to have a lot of legacy support built in for various things, and projects like LinuxBIOS and OpenBIOS are working to trim the fat.

235 comments

  1. Flash drives by drivinghighway61 · · Score: 4, Interesting

    Speeding up BIOS processes combined with flash boot drives will seriously decrease loading time. Are we closer to instant-on computers?

    1. Re:Flash drives by CastrTroy · · Score: 3, Interesting

      I seem to remember the Commodore 64 being instant on. Granted our current computers are much more complicated than a Commodore 64, but it would be nice to get back to that instant-on era. Everything else seems to have gotten faster, or remained the same speed, the only thing that seems to continually get slower is boot times.

      --

      Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
    2. Re:Flash drives by Nazlfrag · · Score: 1, Insightful

      I can remember the Amiga taking 1.5 seconds to boot into a full multitasking GUI, and rendering a fractal while it boots. One day they'll get it again, thanks to the success of OSS.

    3. Re:Flash drives by Anonymous Coward · · Score: 1, Insightful

      I have an instant-on computer. It's a Commodore C64.

    4. Re:Flash drives by the_humeister · · Score: 2, Interesting

      In Windows you can have the computer's current state be saved and loaded the next time the computer is booted. Is there an option to load the state of the machine on a fresh boot? That would save time on reboots.

    5. Re:Flash drives by joe+155 · · Score: 1

      I had an Amiga, they were ace. It was so long ago though and all I really used it for was Pang (what a game) so I can't really say how good the boot time was to full gui and fractal... But I am reminded of a saying that I read somewhere I can no longer remember (perhaps wikipedia); software is getting slow faster than hardware is getting fast - or at least "faster" than the software can take advantage of. I'd say that we might never get back to one second boots with any major OS (although I have heard good things about the insanely obscure Amiga 4 OS - but don't even think you can buy hardware to run it on).

      --
      *''I can't believe it's not a hyperlink.''
    6. Re:Flash drives by Junior+J.+Junior+III · · Score: 2, Insightful

      Sure, the C=64 was instant-on, but you had like 30 second seek times for the floppy disk, which is where anything exiting to run lived. If all you wanted to do was simple command line instructions to "load $program * , 8" you could call it "instant on" but you got almost nothing for it, and to get to any user app functionality up and running, it still took a long time, vastly longer than it does now.

      --
      You see? You see? Your stupid minds! Stupid! Stupid!
    7. Re:Flash drives by Anonymous Coward · · Score: 0

      sun bios open bios is open now and fast for suspend used on olpc
      and sun os which can suspend fast

    8. Re:Flash drives by Waffle+Iron · · Score: 3, Interesting

      Sure, the C64 booted in a jiffy. Then it took 5 minutes to load a 50 KB app from the floppy drive. (Which is kind of silly, since the floppy drive had a CPU inside with as much horsepower as the main system unit itself.)

    9. Re:Flash drives by Cyberax · · Score: 4, Informative

      I work with embedded systems, and my MIPS-based 166MHz board boots Linux in about 5 seconds, kernel loading starts almost immediately after power on.

      I always wanted to have the same capability for my notebook. Sigh...

    10. Re:Flash drives by AnotherBlackHat · · Score: 1


      I seem to remember the Commodore 64 being instant on.


      Really? I remember waiting a very long time.
      One of the major advantages of Fastload (TM) was that it by-passed the god-awful slow memory test on power up.
      I suppose "instant" is a matter of perspective.

      -- Should you believe authority without question?
    11. Re:Flash drives by Source+Quench · · Score: 1

      Not forgetting the Acorn Archimedes... I can remember *beep* and then the desktop was there. Ah those were the days.

    12. Re:Flash drives by vux984 · · Score: 2, Interesting

      Is there an option to load the state of the machine on a fresh boot? That would save time on reboots.

      I have 4GB of RAM (2x2GB) with Windows x64, and expect to have 8GB within the year. I've tried the hibernate or whatever its called. Its not really faster. The time time to save and load that 4GB file is non-trivial. In theory its nice when you've got a lot of open stuff on the go, but then I don't trust it enough not to save all my work properly anyway.

      Overall, I don't think its that great, and I particularly don't like that its the default in vista. For example, when support tells you to reboot they want a fresh start, half the time the users just turn it off and on, instead of 'reboot', and under vista that just bounces into hibernate and back and accomplishes absolutely nothing.

    13. Re:Flash drives by gslj · · Score: 1

      The most satisfyingly quick computer I've ever had was an Apple IIe that booted from a flash ram card. If I set it up to boot into a program selector, one second flat. If I booted into AppleWorks 4.0, with a bunch of add-ons, four seconds.

      -Gareth

    14. Re:Flash drives by hjf · · Score: 1

      what do you want 4GB of ram for anyway?

      OK let me rephrase: what do you want 4GB of RAM for anyway, if you don't have a RAID 0+1 array of Seagate Barracudas to make disk writes quick?

      I use my (desktop) computer with S3 suspend. 5 seconds later and it's on again (it takes more time for my monitor to wake up). There's only one problem though: sometimes, the Bluetooth dongle takes a longer nap and I have to wait about 30 seconds to have my keyboard back.

    15. Re:Flash drives by Anonymous Coward · · Score: 0

      What the hell does that have to do with how fast the drive can read data off of the disk? If you could shove a Pentium in there, it wouldn't make the mechanics or the read head any faster.

    16. Re:Flash drives by Korin43 · · Score: 1

      Doesn't that get rid of the point of rebooting? I use hibernate when I want to stop using power, and reboot with Windows gets screwed up..

    17. Re:Flash drives by alan_dershowitz · · Score: 3, Interesting

      If you plugged in a cartridge it was instant-on for those apps too. Now there's even a peripheral, the MMC64 that lets you use SD cards on your Commodore 64, so I don't see anything that indicates we couldn't have instant on for writable media either nowadays, which was the point of the original post.

      Incidentally, did the 1451 drive have as fast a CPU as the Commodore 64? I know the 1451-II's CPU was actually faster, and you could actually offload CPU processing to it across the serial interface, and some games even did this.

    18. Re:Flash drives by Pad-Lok · · Score: 1

      what do you want 4GB of ram for anyway?

      Thats right, because 640K is good for everyone!

      On a serious note, maybe he/she is a 3D artist? CAD? Graphics? Videos? There is never too much memory to throw around.

      --

      -- Sauer
    19. Re:Flash drives by Anonymous Coward · · Score: 0

      The problem with the loading speed was the connection, not the processors or anything - the wire protocol is bad to begin with, but tolerances on both sides (longer wait cycles to be "sure") killed it entirely.
      Oh, and giving the floppy more ram (and let it use it) would have helped, too. in fact, there were speed up mods that did exactly that: enough ram to keep an entire track in there + rom modification.
      most mods replaced the cable, though

    20. Re:Flash drives by Saxerman · · Score: 2, Informative
      The original Amiga 1000 had the Kickstart ROM chips, which allowed them to boot nigh-instantly. This included the important parts of the OS, and later even drivers and the kitchen sink. You would literally have a splash screen for a second, and then having a functioning computer complete with GUI. Of course, this means surgery was required to swap in a new Kickstart ROM. And as later software required different versions of Kickstart to run, we started playing with different software kickers which allowed you to load different versions via floppy disks.

      The later versions (or, at least, the A500 and A2000 I used) stopped hard coding Kickstart on a chip, and you then needed to load the entire OS from a single 1.5MB floppy. Or, for the more affluent, a hard disk.

      --

      A steaming cup of soykaf would be real wiz right now.

    21. Re:Flash drives by vux984 · · Score: 1

      what do you want 4GB of ram for anyway?

      My memory usage when running my usual set of apps (excluding vmware) is around 2.5GB to 3.0GB. My comment about upgrading to 8GB was based largely on my use of VMWare; and the fact that I run various linuxes, along with XP Pro and Vista x32 as guest OSes (not all at once, but usually more than one); and that uses gobs of RAM.

      OK let me rephrase: what do you want 4GB of RAM for anyway, if you don't have a RAID 0+1 array of Seagate Barracudas to make disk writes quick?

      I currently spend very little time swapping to the page file, so the disk write speed is actually less of an issue. That said, I have a fast sata2 drive with NCQ enabled, and while not as fast as a raid, is faster than any single disk I've ever used before. (I also have an eSata drive hooked up for backups, etc).


      I use my (desktop) computer with S3 suspend. 5 seconds later and it's on again (it takes more time for my monitor to wake up). There's only one problem though: sometimes, the Bluetooth dongle takes a longer nap and I have to wait about 30 seconds to have my keyboard back.


      My wired usb mouse has the same issue [Razer Copperhead - its hard finding a decent laser mouse for left handed people, I think logitech and microsoft hate us.]; just waking up from sleep it will often take 15 seconds after the rest of the PC is ready to go. Drives me nuts.

    22. Re:Flash drives by Anonymous Coward · · Score: 0

      It would help if Windows wasn't what's known in the industry as "fucking retarded" when it comes to suspend/restore.

      Unless you're actually using all 4GB, and chances are you generally aren't when you're ready to close the laptop for the day, there's absolutely no need to save all 4GB of memory on suspend/restore.

      It would be even more helpful if most applications were designed to properly support suspend/restore and ran their GC and freed up pages that they don't need prior to suspend - but most don't. Of course, that doesn't help because Windows does merrily save the ENTIRE contents of memory even though it doesn't really need to.

      In fact, on a well designed system, you only need to page out EVERYTHING and just page in enough to start and slowly page things back in as needed. There's no need to load the entire page file before starting.

    23. Re:Flash drives by anss123 · · Score: 1

      The reason it was silly is because the CPU was very poorly utilized. If one loaded in a more intelligent prog into the C64 floppy CPU loading times could be halved, if not more. As it was, the dumb floppy drives of other 8-Biters were just as fast if not faster - cheaper too.

    24. Re:Flash drives by SenorCitizen · · Score: 3, Insightful
      No, that's not quite right. The original Amiga 1000 didn't come with Kickstart ROMs, because the OS was still in a state of change. Instead, you had to load Kickstart from disk, and it ate up 256k of the 512k of RAM installed. Later Amigas came with ROM Kickstarts and could be started without a disk. The full Workbench environment still had to be loaded from disk, just like with the A1000 - on which you actually needed two disks to get the whole OS up and running.

      The Atari ST, on the other hand, had the whole OS in ROM, except for the very first models. Even STs weren't instant-on though, because the bootloader would waste at least half a minute looking for a disk to boot from - it was actually faster to have a GEM disk with custom settings in the drive when turning the power on than booting from ROM only.

    25. Re:Flash drives by rucs_hack · · Score: 3, Funny

      All you C64 people, grr.

      My spectrum was awesome, and by dint of the fact that I couldn't afford a C64 (or even a Vic 20), I opted for the '48k ZX spectrum beats your computer any day' line of reasoning, and affected temporary blindness when anyone started showing off sprites.

      Ah yes, the hours of tapping away on a rubber keyboard. Hungry Horace, oh how many evenings you ate.

      I took it out of storage and showed my son last year. He looked at it in a puzzled fashion and asked where the dvd drive was.

      Crying is not manly, so I just mumbled and put it away again..

    26. Re:Flash drives by walt-sjc · · Score: 1

      I think you have it backwards there partner... My A1000 (an original from Oct. 1985) required the "Kickstart" boot disk, and THEN you booted "AmigaDOS".

      My A2000 had Kickstart in ROM requiring only the AmigaDOS disks. I upgraded those from 1.3 to 2.0.

      The reason was that the ROM portion (Kickstart) was in flux when the A1000 came out, and they knew that they would need to update it several times, and didn't want to deal with swapping ROMS all the time. The original A1000 was hardly polished.

      None of the Amigas I had (A1000, A500, A2000, and an A3000) were instant on at all. They all required AmighaDOS via floppy or hard disk to boot the rest of the way.

    27. Re:Flash drives by Waffle+Iron · · Score: 1

      What the hell does that have to do with how fast the drive can read data off of the disk? If you could shove a Pentium in there, it wouldn't make the mechanics or the read head any faster.

      The mechanics were fine. Back in the day I shelled out a good bit of money to buy a plug-in ROM upgrade that sped up floppy access by ~8X. The bad performance was a software problem, probably made worse by the overdesigned floppy drive that could execute more bloated software than the job required.

    28. Re:Flash drives by walt-sjc · · Score: 1

      what do you want 4GB of RAM for anyway

      Not sure what HE wants it for, but I use it for running multiple virtual machines. Also, the extra ram is nice for disk cache - especially if you are compiling.

    29. Re:Flash drives by Achromatic1978 · · Score: 1

      None of the Amigas I had (A1000, A500, A2000, and an A3000) were instant on at all. They all required AmighaDOS via floppy or hard disk to boot the rest of the way.

      Pah. First thing I did when I got 1MB, then 1.5MB of memory(!) was follow the instructions in the manual to make a "Recoverable RAM Drive" (RAD:) that was bootable. :)

    30. Re:Flash drives by langelgjm · · Score: 1

      I also have 4 GB of RAM on XP x64, and I use S3 suspend (Suspend to RAM - i.e., not hibernation) all the time. For me, it is significantly faster both to shut down and come back up, and it has the great advantage of turning off all the fans, etc., on the computer, so that it doesn't make any noise. It works flawlessly probably about 99% of the time.

      I agree though, hibernation is often more of a pain than it's worth.

      --
      "Anyone who [rips a CD] is probably engaging in copyright infringement." - David O. Carson
    31. Re:Flash drives by rs79 · · Score: 2, Interesting

      Correct.

      Its predecessor the Atari 800 was instant on. Pop in the basic cartridge, turn the power on and ther you were. In Basic land. At least the Amiga had C.

      And cool graphics.

      I was shocked to find there were people (Mike Meyer, how can I remember this stuff and still not remember where I put my glasses?) that didn't give a rats ass about the grpahics but just wanted to code C on a CPU with a linear address space ("segments are for worms").

      Matt Dillon (Of FreeBSD and Dargonfly BSD fame) ported Bash to the Amiga. He must have been like, 8 or something at the time.

      And there was a UUCP package for it too. During a brief period there were more Amigas on the network than PCs.

      --
      Need Mercedes parts ?
    32. Re:Flash drives by GreggBz · · Score: 2, Interesting

      You definitely have it backwards. The A1000 had no Kickstart ROM, you had to load it from disk. This changed with every model afterwards. I will say that it took some time to load Workbench, with that drive churning away.

      If you just wanted a shell and bypassed your startup sequence it was faster still. Even with the full blown GUI, it was still much quicker then it's PC counterparts.

      Now, an Amiga with a flash drive, that's a sight to see. My A1200, which once had a 44 pin IDE-Flash adapter booted all of OS 3.9 (A pretty robust OS) silently in about 10 seconds.

      The Atari ST was the same way early on, you had to load the OS from disk. The kernel went from disk right to memory when it booted up, which reduced the addressable memory by about 160KB. Thankfully, Atari did away with that.

      Atari ST with the GEM-DOS ROMS booted much faster then the Amiga!
      But the Amiga was better every other way I think. :-p

    33. Re:Flash drives by the_humeister · · Score: 1

      My point was having the option of loading a fresh machine state upon reboot such that loading this fresh state or booting the normal way would boot the machine to the exact same useable state. This machine state could be compressed such that it would take too long to extract and load. Another poster had expressed concern for loading 4GB of machine state. Well, on a fresh boot, most of that 4GB is filled with nothing relevant.

    34. Re:Flash drives by eniac42 · · Score: 1

      The 1541 had a 1 Mhz 6502 - more or less identical to the 6510 in the C64. The bugbear was the serial interface between the two (256 bytes/sec) - it was a "deliberately crippled" implementation of the IEEE 8 bit parallel PET disk/printer interface (super fast 2 Kbyte/sec!). Jack Trameil didnt want the VIC20 (first implementation) to compete with the "business" PET PC line, so it was given a slow interface. It was soon hacked, and you could get up to 35x speed - faster than the "professional" parallel interface.

      The great shame with Commodore was the waste of many advanced ideas that landed on their laps - PET, C64 chipset, Amiga... Heck the C64 was still being sold with the *same* 1Mhz clock speed at the end in 1992, 10 years after release.

      By the way, I would like to see the current copyright owners give the rights to the ROMS to the publiuc domain - they would have *more* commercial value (indirectly) if they did that than if they hang on to them in the hope of commercial development.. While we are at it, lets get all that abandonware in the public domain too..

      And yes, they did boot up instantly - a 1Mhz 8bit C64/VIC/PET will boot up and run a simple typed in formulea or program faster than you can do it with a standard 3 Ghz 64bit PC today..

      If you want to try an original C64/VIC/PET, try http://www.viceteam.org/ (but it doesnt emulate boot up speed :-)

      --
      "A nation that forgets its past is doomed to repeat it." - Churchill
    35. Re:Flash drives by Bert64 · · Score: 1

      You have it the wrong way round...
      The A1000 loaded kickstart from disk, and used 256Kb of it's 512KB of ram to store it. Later machines (except the A3000) had kickstart in rom. Kickstart includes most crucial parts of the OS, but you still needed a floppy or some other media to boot from. Although workbench was in rom, you needed the "loadwb" command which was disk based. Although the A4000T had the workbench.library on the hard drive.
      My amiga would take about 6 seconds to boot, that includes drive spin up/detection time and loading of lots of third party utilities.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    36. Re:Flash drives by Bert64 · · Score: 1

      It should only swap out the whole 8GB if your actually using all that memory, at least software suspend on linux works this way.
      I figure if i'm running so many apps that i'm using 8gb of ram, then loading memory from disk will actually be quicker than loading all those apps manually.
      Also, at least with software suspend it can compress the image and it resumes fairly quickly, because it swaps the core kernel back in and swaps all the apps back in later (chances are you wont be actively using every app your running on an 8gb system).

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    37. Re:Flash drives by Bert64 · · Score: 1

      Apple's "safesleep" is good...
      It suspends to ram, but also writes out the memory to disk as if it was hibernating. So if you lose power while in sleep mode, the machine comes back online properly (it just takes longer).

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    38. Re:Flash drives by domatic · · Score: 2, Informative

      You didn't even need a GEM disk. A blank floppy would suffice to satisfy the on-boot disk check. Gosh, I haven't thought about doing that in years. It used to be a way of life.........

    39. Re:Flash drives by vux984 · · Score: 1

      The trouble is that some applications aren't compatible with these sleep/resume techniques, and the last thing you want after a wake from hibernation is a bunch of 'application must be closed' dialog boxes.

      It seems many applications don't release resources and reacquire them properly after a hibernation cycle. The medical imaging software [video capture] in particular doesn't survive a hibernate cycle.

    40. Re:Flash drives by stevey · · Score: 1

      Horace & The Spiders was my favourite game of that series, still you gave me some good memories there.

      Even now I play The Hobbit under emulation, and the fantastic Chaos by Jullian Gallop.

    41. Re:Flash drives by lgw · · Score: 1

      Commodore 64 games, even with the Worlds Slowest Floppy Drive, loaded faster than levels load for me on Bioshock. The BIOS is just legacy we're stuck with for now, but I just don't understand how a game designer can screw something up that badly (not that the game itself wasn't good).

      --
      Socialism: a lie told by totalitarians and believed by fools.
    42. Re:Flash drives by vux984 · · Score: 1

      It should only swap out the whole 8GB if your actually using all that memory, at least software suspend on linux works this way.

      Fair comment.

      I figure if i'm running so many apps that i'm using 8gb of ram, then loading memory from disk will actually be quicker than loading all those apps manually.

      Not necessarily. Its true if you wanted to pick up where you left off exactly. But usually I find I'll start my day with checking email, checking the news, etc. On a cold boot I get to do that markedly faster. Its true my VMWare machines haven't loaded yet, or the Visual Studio debugging session hasn't started yet, but I find waiting for all of them to load at once at the beginning to be an annoyance... especially if I'm not going to actually -use- Visual Studio & Photoshop for the next several hours...

      Also, at least with software suspend it can compress the image and it resumes fairly quickly, because it swaps the core kernel back in and swaps all the apps back in later (chances are you wont be actively using every app your running on an 8gb system).

      Compression helps a bit, in theory at least, I've never tested it with compression disabled/enabled to see how much it really makes a difference. But regardless the disk is still thrashing until its done. I don't find the system to be terribly usable until its finished loading.

      With vista, resuming from hibernate gives you an extra 'spinning logo' screen to sit through while it restores the memory image. So its not interactive at all until its done. And I find I generally prefer a cold start to having my desktop recreated exactly where I left off.

    43. Re:Flash drives by Anonymous Coward · · Score: 0

      This was true for a lot of non-PC computers back from the 8-bit era. (Same deal, but an Atari from my experience.) The main kernel of the OS if not the entire thing was on a ROM on the motherboard, so in most cases it was ready to go almost instantly after turning on.

      I don't think BIOS is that big an issue, on most PC's I've seen - BIOS related POST screens flicker by so quickly as to not be a bother. (So fast it even makes it difficult to access the BIOS settings by hitting some F-# key too.) It's the OS taking its sweet time to load from the HD to RAM that makes booting slow. If computer manufacturers were willing to change the architecture a bit and put in a ROM slot for some standardized OS ROM, that would do a heck of a lot more for boot time than any BIOS could. Not to mention it'd suddenly be a lot harder for most folks to make unauthorized copies of an OS, and should seriously limit the extent of damage any malware could do.

    44. Re:Flash drives by dpiven · · Score: 1

      The 1541-II had a 2 MHz 6502A CPU, while the earlier versions had the 1 MHz 6502. Too bad it was hogtied by a serial bus whose 60 us bit clock made it about half as fast as a 33.6 modem.

      (I always thought of the 1541 as the original WORM drive -- Write Once, Read Maybe.)

    45. Re:Flash drives by Bert64 · · Score: 2, Interesting

      Yeah, i come from the school of leaving your machine running 24/7, and I always liked the convenience of all my apps immediately available when i started work in the morning. I never had a laptop, and i always had a lot of programs running. If i ever had to reboot for whatever reason it was a HUGE annoyance having to reload everything. Not just the loading time, but the time spent laying my apps out just how i like them on all the virtual workspaces i had.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    46. Re:Flash drives by droopycom · · Score: 2, Insightful

      The thing is if you want capabilities on your embedded systems to come close to your notebook's capabilities, they will take 1 minute to boot instead of 5 sec.

      My CD player used to boot instantly... but just try to boot an HD-DVD or BluRay player....

    47. Re:Flash drives by Anonymous Coward · · Score: 0

      You do realize, of course, that there is an EXCELLENT emulator of the c64 (and c128, pet and god knows what else...;-)) available at:
      http://www.viceteam.org/

    48. Re:Flash drives by Cyberax · · Score: 2, Informative

      This embedded system contains:
      1. Three Ethernet controllers.
      2. VGA contoller.
      3. Two RS-232 controllers.
      4. Flash drive.
      5. PCI bus.
      6. WiFi card.
      And it starts booting Linux kernel in less than a second after power on.

      I don't see why my notebook should take about 8 seconds JUST TO START BOOTING THE KERNEL.

      Current HD players are too brain-damaged, so it's not a good comparison.

    49. Re:Flash drives by Anonymous Coward · · Score: 0

      Why isn't it possible to suspend machines by putting their RAM + register state into flash and then just powering off. Never reboot again. Or is that what you meant?

      -T

    50. Re:Flash drives by TheRaven64 · · Score: 3, Insightful

      I believe part of the time is spent probing the various busses to construct the correct ACPI tables (or OpenFirmware device tree). This is not required in an embedded system, where the hardware configuration is expected not to change.

      --
      I am TheRaven on Soylent News
    51. Re:Flash drives by ozmanjusri · · Score: 1
      I can remember the Amiga taking 1.5 seconds to boot into a full multitasking GUI

      I just dug my Amiga 2000/040/Vlab Motion out to check.

      The initial boot takes 16 seconds, including the patch for the '040/SCSI card. Rebooting from RAM takes about 3 seconds.

      I'm glad you reminded me I still had it. Even now, it still feels much more responsive than any of the multicore, multi gigaHz behemoths that replaced it. Still does live chromakey better than the hardware I have now too, as long as you keep the res down to PAL.

      --
      "I've got more toys than Teruhisa Kitahara."
    52. Re:Flash drives by Lisandro · · Score: 1

      The great shame with Commodore was the waste of many advanced ideas that landed on their laps - PET, C64 chipset, Amiga... Heck the C64 was still being sold with the *same* 1Mhz clock speed at the end in 1992, 10 years after release.

      Which is a good idea - changing the clock speed would basically make it a different computer. I remember trying a gadget called Super-CPU which basically ran a 20MHz CPU compatible with the venerable 6502. GEOS was a dream, but most games and even application software became unusable.

      But yes, i agree - Commodore had a lot of great ideas which ended up dead and rotten due to poor, poor management. Well, at least i keep my memories... :)

    53. Re:Flash drives by Anonymous Coward · · Score: 0

      I just made a round thing, let's call it a wheel.

      EFI anyone???

    54. Re:Flash drives by GordonCopestake · · Score: 1

      To be honest I always thought that Microsoft should sell Windows not as a software product but as a PCI card that sits in your machine. The OS would load from ROM chips (flashable from the windows update site etc) much faster than from a hard drive. All your data and settings however was stored on your normal HDD. This would mean that system files were essencial read only so less chance of virii affecting you or user error. Not to mention that this ellimanates all chance of windows being pirated as you need the physical device to boot off. It also means you can have diskless workstations that only have network storage space. Hopefully Linux fans could simply reflash the PCI card with their own choice of OS. No idea how much such a piece of hardware would cost though, and i guess it would only add to the cost of windows.

    55. Re:Flash drives by mridoni · · Score: 1

      Actually it was quite the opposite: the original A1000 started from a Kickstart floppy, after which a Workbench (the desktop environment) floppy was needed. Later OS revisions (1.2/1.3? Sorry, I can't remember) had KS in ROM and only needed the Workbench floppy (or an HD install)

    56. Re:Flash drives by SenorCitizen · · Score: 1

      Ahh you're right, I didn't remember that any more. I never really did that either because that always got you into the low-res desktop, unless you were running the Atari B/W monitor. I preferred 640x200, so I always had to have a GEM disk...

    57. Re:Flash drives by oliderid · · Score: 1

      Do you remember This noise while the program was loading from the cassette?
      I have the ZX81 and the spectrum 16K (with an expensive +16K upgrade :-)).

      Ok let's go back to these impersonal computers...

    58. Re:Flash drives by Cyberax · · Score: 1

      But most of devices are not necessary to start kernel booting. In any case, kernel will reprobe almost all devices later during boot.

      ACPI support is more complicated, but I think it's still possible to boot Linux in just a few seconds.

    59. Re:Flash drives by Ihlosi · · Score: 1
      The original Amiga 1000 had the Kickstart ROM chips, which allowed them to boot nigh-instantly.



      I think your memory got things mixed up here. The original Amiga 1000 had to load its Kickstart from floppy, while the A500 and A2000 had Kickstart ROMs (I know that, because I swapped the KS 1.2 ROM of my A500 to a KS 1.3 ROM. Even managed to insert the chip the wrong way, and it still worked after that).


      Still, even with Kickstart ROMs, the Amigas still had to load a lot to actually be usable (like the Workbench or your favorite game).

    60. Re:Flash drives by Ihlosi · · Score: 1
      The OS would load from ROM chips (flashable from the windows update site etc) much faster than from a hard drive.

      Great. Then the price of the operating system would make up over 50% of the price of the whole computer.

    61. Re:Flash drives by Anonymous Coward · · Score: 1, Informative

      oh please how is this informative? you got it all wrong..
      Amiga 1000 had to load KickStart from floppy, and all other Amigas have it on chip.
      there are now some hacks on Aminet to add ROM to Amiga1000

    62. Re:Flash drives by Dr_Barnowl · · Score: 1

      Well, true, but BioShock is loading around 16,000 times as much data.

    63. Re:Flash drives by GordonCopestake · · Score: 1

      Depends. Economies of scale would mean the devices could be built in bulk for much cheaper. Besides, the OS needs only a 4gb cf or similar? Something fast though

    64. Re:Flash drives by Dr_Barnowl · · Score: 1

      It kinda makes you want the desktop to have its own "workspace" file like a modern IDE does, detailing the application windows you had open and which workspace files *they* had open, so they can load their previous state and get back to the position in the files you had open.

      I quite like the Firefox "restore session" feature, it would be nice if every application had this, including the actual desktop.

    65. Re:Flash drives by domatic · · Score: 1

      As a matter of fact, I had that BW monitor. I can even say one nice thing about it. It was very very sharp; I'd go so far as to say it was crisp. If I wanted to play games or run color apps, I just used a TV. The machine indeed came up in low-res mode but I could switch up pretty easily using the menus.

      BTW, if you don't already know about it, the Atariage.com forums are nice place to geek out about things Atari.

    66. Re:Flash drives by Bert64 · · Score: 1

      That's a very good idea, and some window managers try to do it...
      Unfortunately while they can restart the same app in the same workspace, they can't configure it so you'l get a bunch of apps in their default startup state. Firefox's restore session feature works nicely here, but very few apps have anything like that.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    67. Re:Flash drives by NoseyNick · · Score: 1

      Do I remember the noise? I can still HUM the noise convincingly enough to have the borders start to follow along with me. :-)

      --
      Nick Waterman, Sr Tech Director, #include <stddisclaimer>
    68. Re:Flash drives by hjf · · Score: 1

      Then there's no need for instant booting, if you're working 8 hours straight with a computer and/or leave it rendering overnight.

    69. Re:Flash drives by hjf · · Score: 1

      I have 2GB and run a couple of VM's from time to time (usually only one). I also have a SATA2 NCQ drive (WD3200) with 16MB of cache and a SATA2 controller (onboard nVidia). Still it's pretty slow.

      I also have another computer, a Solaris server with 4xSATA2, onboard nVidia, ZFS RAIDZ... and man that array is fast! Even being software RAID, it's quite fast (has no problem keeping up with gigabit ethernet, not that gigabit is that fast but still, if I wanted to add a second gigabit card and bond them together, it would still be pretty fast).

      Seriously, wouldn't you benefit from adding a second drive and make it RAID?

    70. Re:Flash drives by KlomDark · · Score: 1

      Curious how you got Hibernate to work with 4 GB RAM. Are you running XP x64 or Vista x64?

      If I drop my XP x64 box to 2 GB, then Hibernate works just fine. When I put it back up to 4 GB then the option isn't available. (The tab doesn't even appear under Power Management.)

      If you could clue me I'd really appreciate it!

    71. Re:Flash drives by vux984 · · Score: 1

      Vista x64

    72. Re:Flash drives by lgw · · Score: 1

      Sure, but it's taking *far* longer than it takes to read 2GB (system memory) + 256 MB (vid card memory) from disk. All of the remaining delay is poor design (from a performance perspective, of course there are other goals).

      --
      Socialism: a lie told by totalitarians and believed by fools.
    73. Re:Flash drives by sumdumass · · Score: 1

      A few of the bios manufacturers noticed the same thing. There was a big kick for a while where the bios could access the CD rom drive to play MP3's, CDs, and I think DVDs and some other video formats without an OS even installed or loaded. I don't know what happened with that push, it doesn't seem to be an advertised feature anymore. But the Idea was sort of an "instant on" when all you wanted was to listen to music and so on.

  2. What about Abstraction? by CodeBuster · · Score: 4, Insightful

    Isn't it more important for the BIOS to present an efficient abstraction of certain hardware resources that *any* OS can easily communicate with according to a standard interface than to optimize support, possibly at the expense of flexibility and abstraction, for a single OS (even if that OS is Linux)? The violation of abstraction merely for performance improvements is something that engineers should generally be very reluctant to do.

    1. Re:What about Abstraction? by psbrogna · · Score: 1

      Abstraction is important if you're sending boxes out the door not know what they'll be doing. If you know what they'll be doing (ie. booting a linux kernel, etc), you can optimize them for your selected environment.

    2. Re:What about Abstraction? by krog · · Score: 4, Insightful

      Modern OSes don't trust what the BIOS tells them, due to older BIOSes that can't be trusted. With this fact in mind, you can imagine how getting the BIOS mostly out of the way can gain a few seconds at boot time without losing anything practical.

    3. Re:What about Abstraction? by ultranova · · Score: 2, Insightful

      Isn't it more important for the BIOS to present an efficient abstraction of certain hardware resources that *any* OS can easily communicate with according to a standard interface than to optimize support, possibly at the expense of flexibility and abstraction, for a single OS (even if that OS is Linux)?

      Why ? Does any OS actually use BIOS for anything except booting anymore ? AFAIR even most DOS programs bypassed BIOS screen routines (which is why redirection didn't work so well on DOS) and talked to the hardware directly. And I'm certain Linux doesn't use BIOS for hard disk access, since Linux can use the whole disk even if BIOS is limited to the first 120MB or so of it in some really old machines.

      --

      Forget magic. Any technology distinguishable from divine power is insufficiently advanced.

    4. Re:What about Abstraction? by BlowHole666 · · Score: 3, Interesting

      Funny that is what the OS is supposed to do also. But now they come with stuff built in. Maybe if the BIOS was left alone and the OS was fixed to do just what it was supposed to do and not worry about the rest of the crap.

      It does not matter if I run Linux, or Windows they both start with crap running in the background. A normal user has no clue what is running. Why not when you install the OS you just ask "Do you want a Firewall? Do you want a Server? Do you want to update your system time over the internet? Do you want to back your computer up every night" It is like most systems just install bloat ware because they *think* normal users want this stuff. Or it provides security. Well write the OS correctly where you do not specifically need a firewall or anti virus, or updates every Tuesday.

      Sorry got on a rant. I am just saying Let the Bios do its job...boot the system. Let the OS do its job, Schedule task, manage memory, and provide access to hardware.

      --
      I smoked pot once. But I DID NOT inhale. Will you hire me?
    5. Re:What about Abstraction? by treyTTU · · Score: 1

      besides just abstraction, what about POST. This is the primary time for the computer to make the decision it is unsafe to boot. POST codes are less useful than they have been in the past, but that doesn't take away from the importance of testing upon boot.

    6. Re:What about Abstraction? by CyberLord+Seven · · Score: 4, Interesting
      Danger! Will Robinson! Linux boxen tend to be used far longer than Windoze boxen.

      Purely anectdotal, but I see a LOT of Linux boxen that are very old running not so old Linux kernels.

      This means, over a period of time, you have a greater chance of creating a NEW Linux only legacy support issue with newer kernels running on old machines.

      This should not stop progress, but it is something that should be recognized up front.

      --
      We have always been at war with Eurasia!
    7. Re:What about Abstraction? by Intron · · Score: 1

      So if you know they will be running Windows, it should be OK to prevent loading any other OS? WRONG

      --
      Intron: the portion of DNA which expresses nothing useful.
    8. Re:What about Abstraction? by Anonymous Coward · · Score: 0

      Even Windows forgets about the BIOS and does hardware detection all over again.

    9. Re:What about Abstraction? by MBGMorden · · Score: 1

      If it's my computer then damn straight.

      See, I've got a Linux machine. I've got 2 Macs. I've got 3 Windows machines (the one on my desktop, the laptop I use to play movies on my TV, and the laptop that I actually use as a portabl), and a hacked X-box - yeah, I'm a geek.

      That Windows desktop machine? It's gonna run Windows. FOREVER, until I throw that bad boy in the trash it's gonna be a Windows machine because I have other OS's on other machines. And no, I don't really care if whoever pulls it out of the trash dump can get Linux to run on it.

      So, even though I only reboot when the power goes out (my Windows machine generally stays up just as long as my others), which means once every few months, if I could shave 10-15 seconds off of the boot time by making that a Windows-only BIOS, I certainly would. Same with the Linux machine. The Macs already don't really use a traditional BIOS, so they don't count.

      --
      "People who think they know everything are very annoying to those of us who do."-Mark Twain
    10. Re:What about Abstraction? by Anonymous Coward · · Score: 3, Informative

      Isn't it more important for the BIOS to present an efficient abstraction of certain hardware resources that *any* OS can easily communicate with according to a standard interface than to optimize support, possibly at the expense of flexibility and abstraction, for a single OS (even if that OS is Linux)?

      These guys are simply taking advantage of the fact that the BIOS is an unusably bad abstraction. Linux doesn't make BIOS calls, nor does Windows (since before Windows 2000). If you're booting Linux and XP, your BIOS is doing a bunch of slow hardware autodetection, and then passing the baton to your kernel, which ignores that and does its own faster and more reliable hardware detection.

      In that sense, if you really want the BIOS abstraction layer, the first step would be to write a reliable one. Putting Linux in there is the logical first step. If you want to hack LinuxBIOS to do the full hardware autodetection, and then hack Linux to trust hardware info from LinuxBIOS, you're welcome to do so (though the benefits are unclear).

      We broke this abstraction in Linux for reliability, not performance. If somebody wants to remove some useless old cruft to increase performance for free, I have no problem with that.

    11. Re:What about Abstraction? by phantomlord · · Score: 2, Interesting
      My nntp/webserver:

      cat /proc/cpuinfo
      processor : 0
      vendor_id : AuthenticAMD
      cpu family : 5
      model : 8
      model name : AMD-K6(tm) 3D processor
      stepping : 12
      cpu MHz : 451.021

      # cat /proc/version
      Linux version 2.6.22-gentoo-r6 (root@hell) (gcc version 4.1.2 (Gentoo 4.1.2)) #1 Fri Sep 14 15:07:46 EDT 2007
      IIRC, I bought the processor and motherboard in May 1999, probably around the same time I finally registered my /. account.
      --
      Don't leave your mind so open that your brain falls out. Don't close it so much that you cut off the blood.
    12. Re:What about Abstraction? by j35ter · · Score: 1

      Uhh, aside from setting up memory parameters and preparing the bootloader, I don't really see any real need for a complicated BIOS...except for the (medicore) overclockers who get a hard on when they see a fat BIOS

      --
      Delta-Mike November Bravo Tango
    13. Re:What about Abstraction? by billcopc · · Score: 4, Informative

      You, like many others before you, are confusing BIOS with what was once called "CMOS Setup".

      The BIOS is essentially a set of low-level device drivers for the motherboard and basic peripherals (keyboard, display). Overclockers don't care about it, as long as it works.

      The "CMOS Setup", or more appropriately System Setup, is an interface to configure the motherboard's features. The fancier ones offer many tweaking options, some even have a minimal Linux OS like the Asus P5K3 Deluxe (extremely handy for pre-boot stuff - or web/media browsing). Overclockers love big feature-rich control panel on their board as they allow them to tweak their system to further heights, and offer added functionality like built-in flashing (from a USB key or hard drive) and "smart" overclocking which is like the opposite of Intel Speedstep :)

      --
      -Billco, Fnarg.com
    14. Re:What about Abstraction? by CodeBuster · · Score: 1

      I am just saying Let the Bios do its job...boot the system.

      It is still wise (at least in theory) to allow the BIOS to handle some low level hardware issues behind the abstraction barrier, at least until the OS specifically overrides a certain function for direct control (assuming that it is logical to allow such a low level override). The abstraction layer allows both the OS and the BIOS to vary independently without causing changes in each other and that is a good thing. Suppose, for example, that your mainboard wants to use the Acme Computer Inc 56IXPG chipset or something else that is low level and obscure. Shouldn't the BIOS handle the coincidental low-level on board stuff like that instead of the OS doing it directly? I agree that there is a line to be drawn at some point, the OS has to be free to manage hardware at *some* level after all (that is the whole point of the OS), but there is still value in abstraction so that the interface between the hardware and the OS can be "virtualized" to some extent (i.e. separating important hardware concepts like the kind you read about in your computer design textbooks from the sometimes coincidental details of a particular low level implementation).

    15. Re:What about Abstraction? by empaler · · Score: 1

      Linux doesn't make BIOS calls, nor does Windows (since before Windows 2000). I was about to refute you, but according to MS KB321779 you are right on the money. Windows NT 4 (not really that surprising and Windows 98 (WTF?!) was "Plug and Play Capable". For some reason they're also asserting that WinME is one, but that must be a typo.
    16. Re:What about Abstraction? by Anonymous Coward · · Score: 0

      So what happens when every system sold has a Windows-only BIOS so it can boot faster?

    17. Re:What about Abstraction? by MBGMorden · · Score: 1

      This whole conversation has been about homebrew flashings - NOTHING is sold with with this Linux-only BIOSes. The original post against this was arguing against using such a product. I'll argue that it's fine. Flashing my own computer to run only Windows is not the same as all computers coming that way out of the box.

      That's somewhat beside the point though - barring a system INTENTIONALLY preventing other OS's from running, I'm sure running something else would be trivial. Mac's don't have a BIOS, and the OpenFirmware is geared completely towards running and booting MacOS, but Linux distro's have no issue booting and running on Macs.

      --
      "People who think they know everything are very annoying to those of us who do."-Mark Twain
    18. Re:What about Abstraction? by vidarh · · Score: 2, Interesting

      I don't think any reasonably modern OS actually does what you suggest, other than possibly as a last resort fallback (though I'm not even sure anybody does that). Linux for example can run perfectly fine on a BIOS-less system with only extremely minor modifications in the boot/init code (I don't know if even that is needed anymore - it's been years since I did that last).

    19. Re:What about Abstraction? by Anonymous Coward · · Score: 0

      Boxen and Windoze are not words.

    20. Re:What about Abstraction? by richlv · · Score: 1

      yes, but bioses have bugs. and most bioses (and firmwareas) are proprietary. and vendors rarely care enough to fix most of the bugs...

      just check out kernel and other bugzillas - there are quite a lot of bios/firmware workarounds in there.

      --
      Rich
    21. Re:What about Abstraction? by Anonymous Coward · · Score: 0

      R2! You just typed them out!

    22. Re:What about Abstraction? by geminidomino · · Score: 1

      That could explain why my dopey Linux box insists on assigning my new 500G SATA drive to /dev/sda even though it's in the third slot...

      Had to yank it lest everything fails to boot...

  3. Deck chairs on the Titanic by BadAnalogyGuy · · Score: 5, Insightful

    The majority of boot time is spent initializing drivers and bringing the system to a usable state. The 3 seconds it takes for the BIOS to init the disk, locate the MBR, load the bootloader, and jump to it is negligible compared to the tedious hardware scanning and initialization done by the OS itself when it is finally loaded by the bootloader.

    If you want to speed up the boot sequence, take a look at cutting the number of attached devices down to the bare minimum. Don't start any services during init. Do as little as possible to get the system to its usable state and you'll have minimized the boot time. Unfortunately, technology just doesn't work that way. System requirements (of both a hardware and a software nature) will require that you perform extra initialization at boot time, so any possible gains are already offset by the increased load.

    Getting off of x86 may be one way to optimize the boot process, but how many of us really have the wherewithal to make an architecture jump from x86?

    1. Re:Deck chairs on the Titanic by Chirs · · Score: 2, Insightful

      I don't know what hardware you have, but it takes a LOT more than 3 seconds for my machine to do its POST, check the floppy drive, check the CDROM, check the SCSI cable, find my hard drives, check the partition tables, and finally start up my bootloader.

      Probably more like 30 seconds.

    2. Re:Deck chairs on the Titanic by jabuzz · · Score: 1

      30 seconds, that is positively speedy. On my servers it is around 150 seconds before the bootloader even gets a look in. Admittedly a good chunk of that is as it spins up the drives in the RAID array one by one. You can turn it off, but if you turn all the servers on at once (like after a power cut and they automatically restart) there is a nasty spike as the load on the UPS is pushed to just shy of 100%.

    3. Re:Deck chairs on the Titanic by KC1P · · Score: 5, Interesting

      You're absolutely right. It seems like every OS (including Linux) goes through this -- in the early days it boots much faster than the competition, but once people start routinely layering all kinds of junk on it then it starts taking minutes to boot even on super-fast hardware.

      What really bugs me is how much of the startup config is done serially. A lot of startup tasks take time, and step N+1 has to wait until step N is finished whether or not it depends on that step. It seems to me that it would be worth the trouble to mechanize startup so that each step is isolated from all the others and knows which previous step it's dependent on and waits for only that step, while everything else cruises ahead in parallel. It'd be a big change from the way things are done now but it'd be worth it. Having my system stop dead for 60 seconds on every boot just because one of the NICs is unplugged (so DHCP isn't answering) is really annoying. Same deal with Apache choking on virtual domains ... one at a time ... if the name server isn't answering. All those "wait X seconds for Y to happen" things can really add up.

      Also, Linux isn't the entire universe, and some of us really do use those legacy BIOS features. Backwards compatibility is the *only* reason the PC architecture has survived, so deciding to toss that to the wind now is just stupid. The cost is minimal (it's not like the code is going to change once it's written) and if whipping up a few tables and setting a couple of INT vectors is honestly adding dozens of seconds to the boot time, well that's just programmer incompetence, it's not the architecture's fault. The rest of the older BIOS code doesn't do anything if you don't call it, so this just sounds like an excuse to be lazy.

    4. Re:Deck chairs on the Titanic by kisielk · · Score: 1

      You apparently haven't used any machines with a good number of devices being initialized by the BIOS. Particularly machines with multiple network interfaces that support PXE booting, RAID and SATA controllers, and some other random devices can take over a minute just to get past the initial BIOS initialization. I manage several servers which take just long to get to the bootloader as they do to actually boot the OS. This gets tedious quickly if you're doing some work on the OS (think kernel updates and testing) which require multiple reboots. Not fun. I'm definitely all for trimming some of the fat off the BIOS.

    5. Re:Deck chairs on the Titanic by hjf · · Score: 1

      what does the HD Spinup time has to do with BIOS loading speed?

    6. Re:Deck chairs on the Titanic by hjf · · Score: 1

      What I don't like about Linux is the amount of unnecessary services installed by default. For example, I have an old computer (P133/16MB RAM), and Debian 3.1 on it. Debian demands that I run Sendmail (or Exim, or Postfix). Why can't I live without a MTA? I doubt that regular home users actually send their e-mail through their local MTA, they probably use their ISP's SMTP, which, I think, it's the proper way to do it.

    7. Re:Deck chairs on the Titanic by modecx · · Score: 1

      FWIW, most init scripts I've seen recently already background DHCP and stuff like that, so they are parallel to a point. So, if DHCP fails, it just doesn't sit there for minutes on end. As far as kernel modules and stuff like that... There's probably good reason they're checked/loaded in serial fashion, but you're right, it would be nice. The closer to instant-on we get, the better.

      --
      Constitutional rights may be respected, repealed, or modified; but they must never be ignored.
    8. Re:Deck chairs on the Titanic by Karellen · · Score: 1

      how many of us really have the wherewithal to make an architecture jump from x86?

      Um, anyone running Debian. I recently changed (painlessly) from x86 to x86-64 (AMD64), but I'd be just as happy if the hardware were cheap and easily available to go to Sparc, Alpha, PPC or ARM.
      --
      Why doesn't the gene pool have a life guard?
    9. Re:Deck chairs on the Titanic by Lord+Ender · · Score: 1

      Some people say changing the BIOS around is like rearranging the deck chairs on the Titanic. That's not true; the BIOS isn't sinking. In fact, the BIOS is soaring; if anything, it's like rearranging the deck chairs on the Hindenburg.

      --
      A slashdotter who didn't build his own computer is like a Jedi who didn't build his own lightsaber.
    10. Re:Deck chairs on the Titanic by Karellen · · Score: 4, Informative

      It seems to me that it would be worth the trouble to mechanize startup so that each step is isolated from all the others and knows which previous step it's dependent on and waits for only that step, while everything else cruises ahead in parallel.

      We're working on it...
      --
      Why doesn't the gene pool have a life guard?
    11. Re:Deck chairs on the Titanic by katani · · Score: 1

      Apparently, his BIOS won't boot the operating system until the hard drives are completed spun-up.

    12. Re:Deck chairs on the Titanic by sconeu · · Score: 2

      Because it's so easy to boot from a hard drive that hasn't spun up yet.

      --
      General Relativity: Space-time tells matter where to go; Matter tells space-time what shape to be.
    13. Re:Deck chairs on the Titanic by Cycon · · Score: 1
      Having my system stop dead for 60 seconds on every boot just because one of the NICs is unplugged (so DHCP isn't answering) is really annoying.

      hell while you're at it, why not start paying attention to whether or not an ethernet cable is even plugged in in the first place?

      windows has been able to re-start DHCP automatically if you unplug and plug back in a cable for years and years now, why can't linux?

      easily my biggest pet peeve.

      --
      Your Brain + EEG + LEGO Robots = Brainstorms
    14. Re:Deck chairs on the Titanic by DaleGlass · · Score: 1

      What I don't like about Linux is the amount of unnecessary services installed by default. For example, I have an old computer (P133/16MB RAM), and Debian 3.1 on it. Debian demands that I run Sendmail (or Exim, or Postfix). Why can't I live without a MTA?

      Because the standard way to send mail on an unix box is to send it through a 'sendmail' program, which is provided by Sendmail (or Exim or Postfix)

      I doubt that regular home users actually send their e-mail through their local MTA, they probably use their ISP's SMTP, which, I think, it's the proper way to do it.

      That's because for example cron doesn't know how to talk SMTP. It calls sendmail which does know. With the configuration you mention the way to do it is to run a mail server locally which then relays the mail to your ISP's one.

      The advantage of doing it that way is that you don't have to code a full SMTP implementation into every program that wants to send mail, and don't need to bother handling retransmission and every possible error condition, your mail server already knows how to do all that and can do it for you.

      The disadvantage is an extra server, but you could run it from inetd, so that it's not really running unless something needs to be sent.
    15. Re:Deck chairs on the Titanic by 644bd346996 · · Score: 1

      The majority of boot time is spent initializing drivers and bringing the system to a usable state. The 3 seconds it takes for the BIOS to init the disk, locate the MBR, load the bootloader, and jump to it is negligible compared to the tedious hardware scanning and initialization done by the OS itself when it is finally loaded by the bootloader. Hmmm... You must not have heard of ACPI. Every PC I've used that supports it takes more than 5 seconds to start loading grub, and some take a lot longer because of the timeouts for entering the BIOS configuration utility.

      If you want to speed up the boot sequence, take a look at cutting the number of attached devices down to the bare minimum. Don't start any services during init. Do as little as possible to get the system to its usable state and you'll have minimized the boot time. Unfortunately, technology just doesn't work that way. System requirements (of both a hardware and a software nature) will require that you perform extra initialization at boot time, so any possible gains are already offset by the increased load. We already have bootchart. It works, and can be used to configure a system that spends less time loading services than in the bios-controlled hardware probing.

      The neat thing about stuff like LinuxBIOS and flash-based booting is that your system can theoretically send out a DHCP request before the hard drives have spun up. If you have enough flash space, you should also be able to put part of your X server in there, so that the graphics card can be put in the right mode and be ready to display the log-in prompt (or desktop) within a few seconds of when the OS starts getting data from the hard drive.

      Getting off of x86 may be one way to optimize the boot process, but how many of us really have the wherewithal to make an architecture jump from x86? This bit seems a bit odd, since the only x86-specific stuff in this issue is the BIOS itself, and the article is about replacing that. The actual processor architecture isn't a bottleneck.
    16. Re:Deck chairs on the Titanic by cdrguru · · Score: 1

      Sadly, I think you are misinformed. Greatly. None of the code that you are waiting around for is in the BIOS. It is all in BIOS extensions that are called blindly by the BIOS because of address slot assignments dated from the IBM PC.

      So, if you want your RAID to work it's BIOS extension needs to be called. The fact that you replace the BIOS with something else isn't going to change that requirement one little bit. Now you might be able to work around this if you didn't boot from the RAID and did not access it until an OS had taken over completely. In that case you could move the initialization from BIOS-time to OS startup.

      The PXE problem is also outside the BIOS and running code on the network adapter, not part the BIOS.

      Could you have a BIOS that didn't call extensions? Sure. But then lots of hardware simply would not work.

    17. Re:Deck chairs on the Titanic by Anonymous Coward · · Score: 0

      Among other things, launchd in Mac OS X already does that what you're talking about.

    18. Re:Deck chairs on the Titanic by Seq · · Score: 2, Informative

      Any distribution that ships with Network Manager (such as recent Ubuntu versions, I'm assuming suse as well) do this. For wireless, it may only works for interactive graphical sessions, but should work without an interactive session for a wired connection (on my desktop I have a network connection without logging in)

      Also, ifplugd is extremely simple to install and requires extremely minimal configuration. I used this in college for a number of years without issue before all this fancy new stuff.

      --
      -- Seq
    19. Re:Deck chairs on the Titanic by Anonymous Coward · · Score: 0

      If you're on Gentoo Linux, then you could try parallel startup to alleviate that step N+1 waiting for step N problem.
      http://gentoo-wiki.com/TIP_Speed_up_your_boot_time#The_RC_File
      I imagine that other distros probably support something similar.

    20. Re:Deck chairs on the Titanic by npsimons · · Score: 1

      It seems to me that it would be worth the trouble to mechanize startup so that each step is isolated from all the others and knows which previous step it's dependent on and waits for only that step, while everything else cruises ahead in parallel.

      There is work being done on this already. I can't remember specific links right now (googling turns up some interesting links), but I remember I first heard about it on Planet Debian, an RSS feed collector for Debian developer's blogs; I've found some very interesting things by browsing by there every once and a while. See also init-ng.


    21. Re:Deck chairs on the Titanic by IpalindromeI · · Score: 1

      In addition to what your other responder said, daemons are sometimes configured to notify the admin user of critical errors by sending mail, in case the admin isn't a vigilant log-checker. This is why Debian asks what user should be mail-aliased to root. In this case, that user would probably be you, and you might want to know when/why your cron'd apt update failed.

      --

      --
      Promoting critical thinking since 1994.
    22. Re:Deck chairs on the Titanic by Anonymous Coward · · Score: 0

      Ooh. Looks almost as cool as launchd.

    23. Re:Deck chairs on the Titanic by Radhruin · · Score: 1

      Solaris 10's Service Management Facility (SMF) currently loads services in parallel. It keeps track of a service's dependencies so it can boot them in the proper order.

    24. Re:Deck chairs on the Titanic by Frozen+Void · · Score: 1

      In every computer i used it usually less then 10 seconds.Try quickBoot/fastboot options and disable floppy seek checks in BIOS.
      There few other options that may be turned off to save time,but i'm not sure if its worth it.

    25. Re:Deck chairs on the Titanic by funkatron · · Score: 1

      There's settings in the BIOS to disable most of those, turning on quick booting (I think that's what it's called) and setting your hard drive as the first boot device should improve things.

      --
      "Welcome to our world. We are the wasted youth. And we are the future too." Yes, I know these are stupid lyrics.
    26. Re:Deck chairs on the Titanic by Cycon · · Score: 1

      good call on ifplugd, that really helps me out, thanks!

      --
      Your Brain + EEG + LEGO Robots = Brainstorms
    27. Re:Deck chairs on the Titanic by ArsonSmith · · Score: 1

      SCO actually had an interesting reverse method for doing this. It had no way to tell if things dependencies have been started, but if you know nothing depends on a startup service you could enter it with P##service rather than S##service. This would spawn the startup and move on to the next one.

      I'm sure they had a patent on the mechanism or something but it sure seemed like a pretty quick and easy way to tune a system to run faster.

      --
      Paying taxes to buy civilization is like paying a hooker to buy love.
    28. Re:Deck chairs on the Titanic by TheRaven64 · · Score: 1

      There's also RCng, which originates in NetBSD and has been in FreeBSD for a few years, which does exactly what the grandparent describes (each init script has a line indicating which services it provides, and which it requires, and will not start until a script that provides the services it requires has run).

      And, of course, Apple's Launchd also does this (and loads more), and is released under the Apache 2 license. So does Sun's SMF, which is probably CDDL'd.

      --
      I am TheRaven on Soylent News
    29. Re:Deck chairs on the Titanic by Lisandro · · Score: 1

      What really bugs me is how much of the startup config is done serially. A lot of startup tasks take time, and step N+1 has to wait until step N is finished whether or not it depends on that step.

      Gentoo allows for parallel startup of services - after the kernel is loaded, services are brought up in parallel if they have no dependency issues. It works fine, but it doesn't seem to do much for the boot time of my system.

    30. Re:Deck chairs on the Titanic by VGPowerlord · · Score: 1

      Same deal with Apache choking on virtual domains ... one at a time ... if the name server isn't answering. All those "wait X seconds for Y to happen" things can really add up.

      That's why the Apache group tells you how to avoid that. If you specify an IP on the VirtualHost line and include a ServerName (and optionally ServerAlias) line inside the VirtualHost block, Apache doesn't need to do forward or reverse DNS lookups when it starts.
      --
      GLaDOS for President 2016! "Well here we are again. It's always such a pleasure." -- GLaDOS, 2011
    31. Re:Deck chairs on the Titanic by PeteTheHack · · Score: 1

      BIOS isn't really the problem......it's EVERYTHING else.....

      Sure, the BIOS may take 5-10 seconds to get through the memory setup for 32GB of memory, and another 5 seconds to run the pre-memory part of TPM (and all the rest of the TPM measurements at various points in the BIOS POST processing), and another 3 seconds to do a keybaord reset (to keep the old PS2 controller capability, then another 3 seconds to setup and discover all the USB devices behind all the hubs they are putting in the front panel and back panels....that ain't the frustrating part....

      it's the LSI Raid controller taking 45 seconds to find the drives it knows it controls (try a PERC 5 on a DELL server to watch that one).....

      it's the NIC ROM's that want to tell you they can boot or get into their config ROM, and wait 5-seconds to tell you that EVERY boot, (even though most modern systems have a net boot hotkey...even most servers),

      it's the Management engine's option ROM that takes 5-7 seconds doing 'stuff' before asking you if you want to get into it's 'info' screens for another 5 seconds...

      it's all the stuff you have to do to setup ACPI structures for the numerous various flavors of OS's particualr 'idiot'-syncracies. They all want 'their' versions of ACPI structures, so you do all of them (and special case every darn one of them).

      Then you throw in EFI, and it's OS-like layered-to-inifity-and-beyond 'driver' structure that wants to hot-load EVERYTHING, and the fact that FEW card vendors are even going to support EFI option ROM's for their cards in the near future (and how long are THOSE ROM's going to take to run...45 seconds to find my drives is bad enough).....

      We need to hold these vendors feet to the fire to give us fast booting machines (heck, my DELL WS670 with 8G of memory, and 2 Dempsey Xeon's is done with POST, and waiting for my 2 - 1T drives to finish spinning up (in 11.8 seconds from power on) before launching any OS I want, barely beating out my LCD panel...)
      But it has to start with EVERYONE involved, not just the system BIOS vendor....until option ROM's are given a 100ms limit (like the big push years ago on video cards) to run, it isn't going to get better (especially with EFI).

      I'd love to push it all into the OS (as some suggest), but the work for the 'boot' device has to be done before that happens, and all that setup isn't trivial, and once there, the OS's aren't good enough yet to handle it all....

      Someone has to do the work, and I don't trust the OS (considring all the rest of the stuff it tries to do) to do it any better than a bunch of dedicated BIOS programmers that are making sure it works with THIS HW, not some generic OS code that HAS to work on everything from a Compaq luggable (circa 1991) to a quad-core quad-socket server...

      Expecting a bunch of C coders to write EFI code efficiently in the barely-debuggable EFI infrastructure is not realistic...

      The GOOD BIOS coders have to come from somewhere, and they need to be focussing on more than just the system BIOS. The peripherals make it worse. The legacy leftovers hold us back, but that's not the real problem.....

      Off my soapbox.

    32. Re:Deck chairs on the Titanic by Assembler · · Score: 1

      For wireless, it may only works for interactive graphical sessions Check out Fedora 8's feature list..
    33. Re:Deck chairs on the Titanic by AbRASiON · · Score: 1

      What really bugs me is how much of the startup config is done serially. A lot of startup tasks take time, and step N+1 has to wait until step N is finished whether or not it depends on that step

      I couldn't agree with this fellow more, I'm a windows user (the shame, the shame) but I notice the same thing, why can't this stuff be done in parallel, sure it may cause some disk thrash but I'm sure that can be optomised.

      Hell both XP and Vista actually seem to pause for about .5 to 1.0 seconds while the bloody splash screen fades in!
      MILLIONS of computers, re-booted hundreds of times, all wasting 1 second of our time, even by conservative estimates on those figures I figure that's 118 years of life wasted by that alone.

      I know it's pedantic but for @#% sake when I was a boy, I'd flip a switch and my C64 would be ON and that baby was a computer, not just a games machine.

      We should be having under 5 second boot times nowadays, from power button to actual use of the machine... sigh.

    34. Re:Deck chairs on the Titanic by Anonymous Coward · · Score: 0

      Because the standard way to send mail on an unix box is to send it through a 'sendmail' program, which is provided by Sendmail (or Exim or Postfix)

      The standard way to create an email is to use the mail program. I see no reason why mail can't talk SMTP directly to a remote SMTP server.

      The advantage of doing it that way is that you don't have to code a full SMTP implementation into every program that wants to send mail, and don't need to bother handling retransmission and every possible error condition, your mail server already knows how to do all that and can do it for you.

      You don't need to add SMTP to every program: provide a library or call mail. SMTP is so dead simple you can write your own "sendmail" program in a couple of hundred of lines of C. I can write you a simple bash script that does it in about 20 lines.

      The only advantage you mention is that by queuing mail locally and allowing an MTA to relay it, you can handle error conditions and retransmission in a more reliable manner. That's useful on a server, but for the majority of users running Linux on their desktop computers, it's a non-issue.

    35. Re:Deck chairs on the Titanic by hjf · · Score: 1

      Yes, but that's a hardware limitation (power supply and hard drive), not a BIOS limitation. The article was about speeding up BIOS load times, not hard drive spin up time.

    36. Re:Deck chairs on the Titanic by seebs · · Score: 1

      Wrong.

      I do embedded Linux work sometimes. I also have some servers.

      BIOS: 5 seconds, minimum, often 10 or 20.
      Linux or BSD, from the initial jump into kernel code to running init: If it's more than 2 seconds, something's very wrong, or a driver has "issues".

      I think in embedded land, our assumption is that we should be able to get from the first jump into kernel code to running userland in half a second or less on virtually any real hardware.

      And, frankly, since the OS has to reinitialize everything anyway, the BIOS time is pretty much mostly wasted.

      This isn't an x86 problem, it's a BIOS problem.

      --
      My blog: http://www.seebs.net/log/ --- My iPhone/iPad app: http://www.seebs.net/seebsfrac/
  4. Why not EFI? by Anonymous Coward · · Score: 3, Insightful
    Why not use EFI?

    It does what you want and has been in desktop computers (Macs) for over a year now.

    1. Re:Why not EFI? by seebs · · Score: 1

      When I originally wrote the article (October 2005), I wasn't aware of EFI. (That article got delayed MUCH longer than usual in the editing process, for reasons beyond anyone's control.)

      --
      My blog: http://www.seebs.net/log/ --- My iPhone/iPad app: http://www.seebs.net/seebsfrac/
    2. Re:Why not EFI? by DeathPenguin · · Score: 2, Insightful

      EFI is a specification, not an implementation, where the core pieces are still controlled (And _never_ opened up) by vendors and is usually still a big wad of real mode assembly that nobody wants to touch. There is no 100% open-source EFI-compliant BIOS implementation. The specification alone for EFI is over 1,000 pages.

      To top it all off, to even begin development on stuff like Tianocore you need to agree to draconian licensing terms such as: "You acknowledge and agree that You will not, directly or indirectly: (i) reverse engineer, decompile, disassemble or otherwise attempt to discover the underlying source code or underlying ideas or algorithms of the Software; (ii) modify, translate, or create derivative works based on the Software; (iii) rent, lease, distribute, sell, resell or assign, or otherwise transfer rights to the Software; or (iv) remove any proprietary notices in the Software." ( https://www.tianocore.org/nonav/servlets/LegalNotices?type=TermsOfService ).

      So I guess your question is sort of like asking why people don't like to use proprietary drivers, even though there are some out there that work very well. The nice thing about Macs is that Apple seems to have went out of their way to make EFI invisible to the user. I don't trust that this will happen on most other pieces of hardware. The BIOS belongs out of the way, IMHO.

    3. Re:Why not EFI? by rickb928 · · Score: 1

      I've dealt with EFI on Itanium systems. Fast isn't the adjective I would associate with EFI.

      In fact, until the damned OS boots, fast doesn't really go with Itanium. After the boot, yeah, sure.

      --
      deleting the extra space after periods so i can stay relevant, yeah.
    4. Re:Why not EFI? by segedunum · · Score: 3, Insightful

      Because EFI is very much proprietary, and the subject of this article is Linux and Open BIOS.

      EFI is also pretty broken. It tries to look better than BIOS, but really it isn't. Think of ACPI (Intel brain damage, as Linus Torvalds calls it) which looked good and looked like we'd get some standard interfaces.........and we didn't because hardware was too complex, it had quirks and everybody ended up doing variations on a different theme. EFI is the same, because of course, everybody's intellectual property has to be protected. I mean, we can't just have manufacturers downloading, installing and contributing to a standard Linux or OpenBIOS, because that would be too easy, it would make things work far too well and everyone would have wonderful boot times ;-). Maybe a motherboard manufacturer will bite the bullet and implement Linux or OpenBIOS when they realise how much better it will make their hardware, and how much cheaper it is without umpteen updates.

      EFI is also an awful lot more complex than BIOS, which adds to the list of things to go wrong in terms of different implementations. At least the BIOS we have today is a boot loader - and it doesn't really pretend to be anything else (hell, you'd be crazy to try anything else with it!). Now think about how many BIOS updates we have for various boards today to fix lots of broken things, and then extrapolate that out........... It's not a pretty picture.

    5. Re:Why not EFI? by segedunum · · Score: 1

      Additionally, I would add that because EFI is supposedly defining interfaces (if only it were that simple), Intel has crazy ideas of implementing drivers and shit - in EFI and the hardware! Just think of the bloody hassle we have today with drivers and hardware. Intel is crazy when it comes to these things.

    6. Re:Why not EFI? by TemporalBeing · · Score: 2, Informative

      Why not use EFI?
      Because it an UEFI - and its cousin that PheonixBIOS, which now seems to be defunct (can't find a reference to it) - are part of the Trusted Computing/Paladium nightmare. if you want TPM to lock you out of your computer or tell you how to use your computer, than so be it.

      I choose freedom.
      --
      Truth is like the sun. You can shut it out for a time, but it ain't goin' away. - Elvis Presley (source: imdb.com)
    7. Re:Why not EFI? by Anonymous Coward · · Score: 0

      EFI and BIOS are both dead. The replacement is/should be total virtualization.
      Instead of BIOS you just jump to a hypervisor. All new hardware should come with its own firmware to interface to a virtualized device. Use the hypervisor to configure and partition the hardware for any virtualized OS's you want to run.
      Stick in a new RAID card with drives and use the hypervisor to configure and partition the storage. You shouldn't even have to reboot the virtualized OS to see the new storage, it should just emulate some dynamically resizable/hot-swappable storage device.

    8. Re:Why not EFI? by Anonymous Coward · · Score: 0

      You are describing ZFS.

    9. Re:Why not EFI? by fjhb · · Score: 1
      Have you looked at the commands? DIR, ATTRIB, ... Sounds like the Nth instance of MS-DOS.

      I just wish it had a "FORMAT C:" command to wipe itself out :-)

  5. In theory, yes. by khasim · · Score: 5, Insightful

    But the problem is that the BIOS's cannot be trusted today.

    So the more advanced operating systems probe the devices themselves to see what capabilities are available.

    We've arrived at the point where we need to choose between updating the BIOS's on the motherboards every time a new capability is added (and all previous motherboards) ... or just simplifying the BIOS to the point where it can boot the OS and allow the OS to probe everything.

    It's easier to update the OS than the BIOS.

    1. Re:In theory, yes. by lgw · · Score: 1

      The BIOS should provide a *usable* set of drivers from ROM for all hardware. Otherwise, if the current version of the OS you have handy doesn't *already* have the drivers it needs to access the boot device you're stuck. People have become so used to dealing with this pain they forget it's not necessary.

      yes, the OS may have better driver to use in place of the BIOS drivers. Yes, you might want to probe the hardware to get beyond basic minimal functionality, all of this is true. Even so, providing enough driver functionality to boot the OS to the point where it can do all of that would be *very* helpful, especially in cases of disaster recovery, restoring a system image to new hardware, etc.

      The current situation forces the OS to have drivers for all possible boot devices (and the device chain to reach them) "on the CD" (or whatever the OS distro media is). This makes support of new types of boot devices slow, and is simply unnecessary.

      Driver both in the BIOS (for booting, at least the first time) and in the OS is win-win!

      --
      Socialism: a lie told by totalitarians and believed by fools.
    2. Re:In theory, yes. by Eli+Gottlieb · · Score: 1

      Ah, but that would force them to write a BIOS that supports 32-bit protected mode, or even (GOD SAVE US!) 64-bit protected mode.

    3. Re:In theory, yes. by TheRaven64 · · Score: 1

      That's exactly what OpenFirmware does. OpenFirmware is used on most SPARC and PowerPC machines, and OpenBIOS in TFA is an open source implementation of it for x86.

      OpenFirmware contains a Forth interpreter (or compiler), and each expansion card is expected to provide a simple driver written in Forth. An OS can either use this, which is typically slow but useable, or replace it with a better one. This also has the nice side effect that the boot firmware can interface with all of the hardware, and so you can write fairly complex software that runs in the firmware's Forth runtime. Things like GRUB would not be required; PowerPC Macs have a graphical multiboot system stored in the NVRAM, and users can add even more complex ones if they desire.

      --
      I am TheRaven on Soylent News
    4. Re:In theory, yes. by lgw · · Score: 1

      EFI was the same way, but Intel tied EFI to the Itanic as a way to force everyone to switch to EFI. When the Itanic sank, it sadly took EFI down with it.

      --
      Socialism: a lie told by totalitarians and believed by fools.
    5. Re:In theory, yes. by Anonymous Coward · · Score: 0

      That is until Apple tied EFI to all of their Intel-based Macs.

  6. I don't know by Anonymous Coward · · Score: 0

    It seems like the bulk of my boot time is not spent waiting for the BIOS but the operating system. In the case of Windows, its waiting for all of the (mostly unnecessary) background processes to launch. Removing legacy support in the BIOS may help a little, but I seriously doubt that it will significantly decrease boot time overall.

  7. I wouldn't touch this! by schnikies79 · · Score: 4, Insightful

    As the subject states, I wouldn't touch this, unless it was an official release from my board manufacturer. With a bad install or software bug, I can just re-install, but a bad bios can hose the motherboard. I might try it if someone had it running on the exact same hardware, down to part #'s for the ram.

    I'm admittedly not terribly bleeding-edge when it comes to hardware or electronics, but mucking with my bios is a no no.

    --
    Gone!
    1. Re:I wouldn't touch this! by miscz · · Score: 1

      I wouldn't do that if my motherboard wasn't fully supported but many modern motherboards have backup BIOS that can be loaded with proper jumper setting.

    2. Re:I wouldn't touch this! by DeathPenguin · · Score: 2, Informative

      >>I might try it if someone had it running on the exact same hardware, down to part #'s for the ram.

      Fortunately, you don't need exact matching hardware to recover from a botched BIOS update if you have a socketed BIOS chip. The flash memory your BIOS is stored on can be easily removed, placed in someone else's computer with a compatible socket (It can be a whole different architecture, even), and reprogrammed with the vendor's BIOS using Linux+Windows compatible utilities such as Flashrom ( http://linuxbios.org/Flashrom ), vendor-provided flash utilities which usually run in DOS, or through Linux MTD. There are even services set up to do it for you ( http://www.badflash.com/ ) if you don't have access to another mainboard with a compatible socket.

      Unfortunately, BIOS upgrades can become necessary after purchasing a machine if only to support more advanced CPUs (Remember the transition to dual-core CPUs?), to get power management right, etc. The lesson: If you're worried about BIOS updates, buy a motherboard with a socketed BIOS.

    3. Re:I wouldn't touch this! by schnikies79 · · Score: 1

      I have a desktop that I built, but I primarily use a notebook. I've yet to see a modern notebook with a socketed BIOS or even jumpered.

      --
      Gone!
    4. Re:I wouldn't touch this! by evilviper · · Score: 2, Informative

      With a bad install or software bug, I can just re-install, but a bad bios can hose the motherboard.

      No it can't.

      First, it's been several years since I saw a motherboard with a socketed Flash chip, and even then, it was only the dirt cheap OEM boards from the likes of Dell/HP/etc, while the retail boards used a socket.

      It's actually pretty easy to buy a replacement Flash chip, or salvage one from a dead system, and do a little hot-swap trick to Flash it with your current BIOS image for back-up/recovery purposes.

      Secondly, the better motherboard manufacturers (MSI, Asus, Gigabyte) have included recovery methods for a few years now, either in the form of a dual Flash chips, or a built-in mini-BIOS of sorts, that can read an image from a floppy disk and flash the BIOS, even if you otherwise can't boot.
      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    5. Re:I wouldn't touch this! by VGPowerlord · · Score: 1

      Secondly, the better motherboard manufacturers (MSI, Asus, Gigabyte) have included recovery methods for a few years now, either in the form of a dual Flash chips, or a built-in mini-BIOS of sorts, that can read an image from a floppy disk and flash the BIOS, even if you otherwise can't boot.

      The latter method is outdated now, because it makes the naive assumption that you have a floppy disk drive.
      --
      GLaDOS for President 2016! "Well here we are again. It's always such a pleasure." -- GLaDOS, 2011
    6. Re:I wouldn't touch this! by evilviper · · Score: 1

      Even if you don't normally use floppies anymore, you're crazy not to have at least a single drive and a few blank floppies lying around somewhere. There's always one scenario like this which continues to make them a critical tool. This happens very, very rarely, but it does still happen.

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    7. Re:I wouldn't touch this! by smash · · Score: 1

      Even if you don't normally use floppies anymore, you're crazy not to have at least a single drive and a few blank floppies lying around somewhere. There's always one scenario like this which continues to make them a critical tool. This happens very, very rarely, but it does still happen.

      Floppy drive i'll never use = $15au, box of disks i'll never use, 4/10 of whic will piss me off because they don't work anyway = $7. New motherboard = $150. Probability of needing floppies = pretty fucking remote. I haven't used floppies other than for a scsi driver in winxp install on one machine since 1996 (slackware 3.1 downloaded onto floppies, joy).

      THink i'll run the risk of buying a new motherboard if it fucks up :)

      --
      I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
  8. Disk-on-Chip Linux by RancidPickle · · Score: 4, Interesting

    If they could come up with a dedicated Linux Bios combined with a Disk-on-Chip setup, it would make an impressive little computer. Fast-on, perhaps with a drive or removable flash drive, and all updatable. It certainly could make an inexpensive box, and could be an ideal homework machine for the kids or a combo stand-alone box / terminal for offices. If the network went down, people could still work.

    --
    "First things first, but not necessarily in that order."
    - Doctor Who
    1. Re:Disk-on-Chip Linux by TooMuchToDo · · Score: 1

      And tying that together with Google(TM) Applications (and I do mean all of them: Search, Gmail, Apps, etc) means you would be able to run a thin client for a majority of day to day tasks.

    2. Re:Disk-on-Chip Linux by AnotherBlackHat · · Score: 2, Informative

      If they could come up with a dedicated Linux Bios combined with a Disk-on-Chip setup, it would make an impressive little computer.


      Yeah, but who would do such a thing? http://www.phoronix.com/scan.php?page=article&item=870&num=1
    3. Re:Disk-on-Chip Linux by jon_anderson_ca · · Score: 1
    4. Re:Disk-on-Chip Linux by prencher · · Score: 1

      Isn't this pretty much exactly what the Asus Eee PC is?

  9. Benefits from experience by vil3nr0b · · Score: 5, Informative

    I have repaired clusters for the last two years and most have OpenBios. These are the likes: 1)Fast as hell!! 2)Easy to change options 3)Can mount the file to a disk, edit, and then replace. 4)Errors can be determined by watching console, No video needed. One serial cable, One laptop=priceless. 5)Free

  10. /. news that mattered by Anonymous Coward · · Score: 0

    31 Aug 2006
    Not only rehashed from digg and reddit, this article is from Aug 2006. :(

  11. Depends on Priorities by smcdow · · Score: 1

    Generally? What if performance is your goal?

    --
    In the course of every project, it will become necessary to shoot the scientists and begin production.
  12. Did you ever notice? by Anonymous Coward · · Score: 0

    I'm sceptical. One would hope, but I would absolutely swear that the time to go from "power on" to a "boot:" prompt has stayed EXACTLY the same over the past 25 years.

    You would think that modern CPUs would get through the BIOS quicker than they did for the 8086, the 286, the 386, etc. For each new, faster CPU, I've been amazed that they all still take so long, and take about the same amount of time. The latest CPUs are possibly even slower (that's certainly the case with the Itanium).

    Go figure.

    1. Re:Did you ever notice? by BUL2294 · · Score: 2, Interesting

      You honestly think your BIOS is slow? Ever watch a 4.77MHz IBM XT with 640KB RAM go thru its memory test and POST?

      16 KB OK.....(5 sec).....32 KB OK.....(5 sec).....48 KB OK.....(5 sec).....64 KB OK.....(5 sec).....

      I seem to remember it taking 1 minute to go thru the memory test.

      --
      Windows 3.1x calc: 3.11 - 3.10 = 0.00
    2. Re:Did you ever notice? by DrSkwid · · Score: 2, Informative

      You can be as skeptical as you like. LinuxBIOS has been doing 3s boots.

      --
      There are places where the networks are not touching,and there are places where they are-Boeing's Lori Gunter
    3. Re:Did you ever notice? by Bert64 · · Score: 1

      Modern bioses have to:
      Probe for more hardware
      Test more memory (although the memory is faster)
      Support booting from more types of hardware
      Test more processors/cores
      And some things (like the wait time for hard drives to spin up) hasnt decreased..

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    4. Re:Did you ever notice? by JesseL · · Score: 2, Insightful

      And then the OS (as long as it's less than 10-15 years old) does it all over again. A Modern BIOS should do as little as possible before handing operations over to the operating system.

      --
      "Prefiero morir de pie que vivir siempre arrodillado!"
    5. Re:Did you ever notice? by niko9 · · Score: 1

      Add one or two more seconds for booting into an X server:http://www.youtube.com/watch?v=nuzRsXKm_NQ

  13. Open source and documentation by Tim+Ward · · Score: 1

    From TFA:

    Of course, the exact meanings of these codes vary from one BIOS to another, and only some vendors document them. Luckily, the open source vendors are very good about documenting them.

    Wow!! - Who are these open source people who are "very good about documenting" beep codes?? Any chance of deploying them to all the other open source projects out there?? - they could sure do with the help!

  14. Open BIOS is Mission Critical. by asphaltjesus · · Score: 4, Insightful

    Why? Well, Trusted Platform Computing needs to start on the BIOS level in order to maintain a trusted environment. If motherboard manufacturers actually move to an always-on TPM, then OSS developers may be locked out of newer hardware.

    The mobo manufacturers will love the price versus commercial tpm and thereby limiting tpm deployment.

    That's why getting involved with these projects in particular is essential to everyone who understands the importance of computing Freedom and overall innovation.

    --
    Got Trader Joe's? friendwich.com RSS feeds work now!
    1. Re:Open BIOS is Mission Critical. by Silkejr · · Score: 1

      I agree.

  15. To save time: by seebs · · Score: 4, Funny

    No, I don't know that much about what's happened in the field in the year and a month or so since this article went up, a month or so after I wrote it. I've been busy.

    --
    My blog: http://www.seebs.net/log/ --- My iPhone/iPad app: http://www.seebs.net/seebsfrac/
  16. Instant-on computers by Z00L00K · · Score: 1
    weren't uncommon in the early 80's - but they had a ROM basic built in. When we got the PC there was suddenly need for a lengthy and cumbersome procedure before the computer even was remotely usable.

    All those procedures performed in BIOS today are often unnecessary unless you run a legacy operating system like DOS that actually uses the BIOS. Linux as an example only uses BIOS for a limited amount of tasks while it does most of the hardware management in the kernel without much need for BIOS to be around. So replacing or at least speeding up the BIOS would be very nice.

    --
    If builders built buildings the way programmers wrote programs, then the first woodpecker would destroy civilization.
  17. Flash Hibernate by Doc+Ruby · · Score: 2, Interesting

    I want my PC to hibernate to flash, storing an image that requires only the slightest update to reflect network state, time, and a few other counters. And all apps to store their state so they can be "rebooted" to flush memory leaks, but return to their highlevel state.

    That would give instant-on that's great for mobiles, but also good for desktops. Why is that so hard? Isn't hibernating to flash with a little update a lot easier than rewriting the BIOS?

    --

    --
    make install -not war

    1. Re:Flash Hibernate by evilviper · · Score: 1

      I want my PC to hibernate to flash,

      What? Why?

      Hibernate to RAM is infinitely faster than having to copy all that data anywhere, and the power requirements of keeping RAM refreshed are ridiculously low. My desktop in suspend (S3) draws 1W more than fully powered off. Powers up in maybe 4 seconds (as fast as the HDD can spin-up, really).
      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    2. Re:Flash Hibernate by Doc+Ruby · · Score: 1

      Because it's unreliable.

      --

      --
      make install -not war

    3. Re:Flash Hibernate by evilviper · · Score: 1

      Because it's unreliable.

      I haven't had S3 suspend to RAM fail in any way, even ONCE, even though I've used S3 about 3 times a day on my desktop (which I'm using right now) for about 6 months now.

      I'm using FreeBSD 6.2 FWIW.
      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    4. Re:Flash Hibernate by Doc+Ruby · · Score: 1

      I mean that it requires power. Else why use anything but RAM for storage of anything?

      Also, reliability is not measured in 6 months on a single workstation, but across millions of workstations across years of use.

      --

      --
      make install -not war

    5. Re:Flash Hibernate by evilviper · · Score: 1

      I mean that it requires power.

      And why is that a problem? If you have regular power outages, the cheapest little $30 UPS could keep a single system powered in S3 mode for a couple weeks. On notebooks, even a nearly discharged battery has enough power to keep RAM refreshed for days. Much more time and power is needed to write-out data from RAM to a different form of storage, even Flash, so you'll need to be keeping your computer powered down for days each time for it to even potentially be a power advantage.

      Else why use anything but RAM for storage of anything?

      Because RAM isn't cheap. If I could buy 400GBs of RAM for $200, I'd happily replace my hard drives. A tiny battery built-in can keep RAM refreshed in the event of even lengthy power loss. In fact, that's exactly how high-end RAID controllers work...
      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    6. Re:Flash Hibernate by Doc+Ruby · · Score: 1

      But even those other systems aren't as reliable as Flash. Batteries wear out and fail, especially after 3-4 years of use.

      This is not an all or nothing proposal. Clearly there is a spectrum of reliability, grades of risk, that are better addressed (and increasing cost) by RAM, +UPS, +battery, Flash, HD. Flash is the "happy medium": relatively cheap per capacity (within the scales required for what we're discussing), relatively high performance, physically small, relatively low power, and highly reliable.

      --

      --
      make install -not war

    7. Re:Flash Hibernate by evilviper · · Score: 1

      Batteries wear out, but it's quite easy to detect reduced battery capacity and notify the user before it becomes an issue. Batteries are very easy to replace. And if you want to double the "reliability" you can pretty easily just include TWO batteries...

      And if you don't mind the lack of performance and increased power requirements of Flash, as well as long-term "reliability" I fail to see the problem you have with hibernate (S4) storing an image of RAM on the HDD. HDD throughput is easily faster than most all Flash.

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
  18. Treacherous Platform Module by z0M6 · · Score: 1

    EFI does a whole lot more than what I want it to do. A whole lot more than it should do as well. Kind of the same reason I don't want anything to do with things that have a TPM.

    Now if only we could have larger bios chips, then having a linux kernel on one makes sense.

  19. why the PC is so slow to boot by Skapare · · Score: 4, Interesting

    One major reason a PC is so slow to boot is the totally free-wheeling nature of attached devices. There's actually too much liberty to do bad things in device hardware. In some cases, probes to see if a certain specific device is present can cause some other device to go into a locked up state. PCs also have the complication that interrupts don't really identify the device in the same terms as how you access the device. This means we have to do things like timed waits in device probes. Ideally we should be able to discover all the devices in a computer within a millisecond for as many as 100 devices.

    We need a whole new system level (as opposed to CPU level) architecture. We need to have a uniform device address range for all devices, and a uniform set of basic commands for all devices. Then all devices in the same class (storage devices are one class, network interfaces is another class, etc) to have a common set of commands to operate the normally expected functions of that device class.

    And we really don't need a BIOS, or at least not much of one. A simple switch that lets us select between 2 flash areas to load at reset or power on would handle almost all cases. And even that's not necessary if we choose to run a stripped down boot selector program from flash that lets us select other flash areas to load. That combined with a hardware based "JTAG over USB" protocol to store new flash images when no present ones work (maybe when an on-mainboard or rear-access switch enables it) would provide any needed recovery capability.

    And why can't we have gigabytes of flash? I bought a 2GB SD card the other day for $20. Can't they put that on the mainboard? An SD slot would not only provide for a lot of capacity (way more than what you get on a CDROM), but also a means to stop writing, and a means to swap out bad flash or reload it in another computer.

    I have been working on a description document for a new architecture. It's not ready, yet, or I would post it here. But I'll try to speed it up.

    --
    now we need to go OSS in diesel cars
    1. Re:why the PC is so slow to boot by Todd+Knarr · · Score: 3, Insightful

      That depends on the hardware. If you have to deal with legacy ISA devices, yes. Anything in the last 5 years or so doesn't have an ISA bus. The PCI bus has a defined way for devices to identify themselves and what I/O addresses and interrupts they need. USB similarly has a defined way to determine what's on the bus. Since the BIOS itself controls things like on-motherboard serial ports, it already knows which ones it's turning on and where they go. So basic initialization should be relatively quick and easy.

      Frankly the only things the BIOS should need to do with modern OSes is to reset the hardware and provide the basic I/O interface to the disks, screen and keyboard that any boot loader's going to need (so the boot loader doesn't need drivers for video, USB vs. keyboard-port keyboards, etc.).

      Alternatively, the BIOS should initialize all hardware, assign all interrupts etc., and the OS should simply take what the BIOS gave it. But IMO having the BIOS do only the minimum required and leaving the bulk of the work up to the OS gives more flexibility and resilience in the face of hardware changes or failures.

    2. Re:why the PC is so slow to boot by evilviper · · Score: 2, Interesting

      An SD slot would not only provide for a lot of capacity (way more than what you get on a CDROM), but also a means to stop writing, and a means to swap out bad flash or reload it in another computer.

      The cost of the hardware needed to support an SD card slot (fully, in hardware-only, before POST) would be more than the cost of a lot of ($40) low-end motherboards.

      Directly wiring a Flash chip to the memory space is MUCH cheaper, and what's more, the most basic socket for the Flash/CMOS has all the same advantages of an SD card slot... ie. It's not the inability to swap chips that stops people from doing more experimentation with their motherboard's firmware.
      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    3. Re:why the PC is so slow to boot by Anonymous Coward · · Score: 0

      It's not the inability to swap chips that stops people from doing more experimentation with their motherboard's firmware.
      It doesn't put a stop, but it puts a limit. If you have an interface that doesn't change with media capacity, you can expand it later, as new capacities become available, or needed. Flash chip pinout is different for a larger capacity chip, so upgrade can sometimes be impossible. Larger Flash capacity would allow i.e. migrating system code and configuration to it allowing for much faster boot. Discs would be used to harbor "/home", swap, logs, media files and what else?
    4. Re:why the PC is so slow to boot by Anonymous Coward · · Score: 0

      I whole heartedly agree that a new system level architecture is due. There tend to be problems at every level and usually the problems can be contributed to supporting the worst-case scenarios at its respective level. This has formed a web of exceptions that makes it difficult to make some solid computer development progress.

      I have been wanting (and sometimes brainstorming) a computer system, inspired by the Commodore 64, that would just be "instant-on" and "ready-to-program" for kids to inspire the next generation of programs, with support for the common applications and games they would use. It seems simple in theory but, given that I briefly worked at a toy/electronics company that quickly gave up on something as seemingly simple as a child's educational console and hand-held [to put it in perspective, they were attempting the same thing that V-Tech has done but with much less staff and much less of a budget], it seems not too likely to happen.

      I like the JTAG flash idea. Linksys routers (at least the WRT54G line) run a open-source linux distro in firmware that they write specifically for their routers. And, of course, people have made custom linux firmware to do virtually everything on the hardware. What I thought was rather ingenious is if you brick the router, you can bring it back by touching two contacts that will boot it into a TFTP mode whose sole purpose is to receive a new firmware. (Linksys doesn't talk about this but their are websites that describe how to do it-- it requires opening the router which voids any remaining warrenty.) I've though (and I hear a few motherboards do this or something similar), but I would like to see the ability to flash the BIOS/Boot area with a recovery system like the WRT54G does and like you mention with the JTAG idea-- in that case, I think a motherboard jumper would be best to initiate it as you don't really want anyone sitting at your computer to rewrite the BIOS/Boot area by pressing some keys at bootup.

      My two cents.
      --Dave Romig, Jr.

      BTW, if you do post your sys-arch idea, let me know as I would be interested in reading it: drjrdave at gmail dot com

  20. Speed booting??? by gstoddart · · Score: 4, Funny

    Speed boot: (noun) What we water ski behind in Canada.

    Thanks, I'm here all week. Try the veal. :-P

    --
    Lost at C:>. Found at C.
    1. Re:Speed booting??? by kcbrown · · Score: 1

      There's non-frozen water to water ski on in Canada?

      *Ducks*

      --
      Use 'slashdot stuff' in the subject line in any email you send me if you want to get past the spam filter.
    2. Re:Speed booting??? by CamD · · Score: 1

      What's this non-frozen you speak aboot?

    3. Re:Speed booting??? by gstoddart · · Score: 1

      There's non-frozen water to water ski on in Canada?

      Sure, why else would we have the canoes and the speed boots?

      *Ducks*

      And Geese. Lots of geese. Geese everywhere.

      Cheers
      --
      Lost at C:>. Found at C.
  21. unneeded by lukesky321 · · Score: 0, Flamebait

    I'll probably never use this. My computer(linux) has a very good uptime to down rate, so it is very rare that i'll reboot my machine this year. Even if their is a power failure, my UPS will kick in.

    1. Re:unneeded by Anonymous Coward · · Score: 0

      forever is a long time you pussy.

      and nobody gives a flying fuck whether you do or don't. :-)

  22. Not needed. by WindBourne · · Score: 2, Interesting

    My Home server boots from a Sandisk 4G CF drive. Speedwise, it is blazing. The mounts are a bit different. / is on the drive, while /home, /opt, and parts of /var (such as /var/logs) are on HDD. Roughly, any directory that varies is put on HDD. Next year, I will buy another CF only it will be 8G. By then, the price will be much lower, and the speeds increased.

    --
    I prefer the "u" in honour as it seems to be missing these days.
  23. ...not holding breath by datapharmer · · Score: 1

    I'm completely behind you - this would be really nice, but it doesn't seem to be the way technology has been panning out. Every new device I get takes longer than the last one: Cable boxes, dvd player, music players, even cellphones. It seems every time I upgrade there is more crap I don't use and it means I need to wait longer from the time I press "on" until the time I can actually use it.

    I hope these folks are successful and can lend some advice to device manufacturers as well!

    --
    Get a web developer
  24. Excuse me? by Anonymous Coward · · Score: 1, Informative
    "Modern OSes don't trust what the BIOS tells them"

    Heh. I wish that were true. Cisco IOS depends SIGNIFICANTLY on what ROMMON reports, and that's a modern OS (with BSD roots). I would say Modern well designed OS's don't depend on what the BIOS tells them. If you ever looked at the design of ROMMON, you'd break out laughing. It's a classic example of an over-engineered design made by substandard talent. Honestly, if you ask any semi-intelligent technical question on Cisco's internal rommon mailling list, you will usually be greeted with by silence. Simply because the current engineers simply don't know.

    I suspect it's because of Cisco's massive importing of H1-Bs, as that seems to make up most of the crowd dealing with ROMMON, but I digress.

    Also note well that all OLD UNIX's didn't depend whatsoever on the "ROM BIOS". Hell, originally you had to either flip the right switches, or type in the bootstrap code yourself to boot a UNIX kernel (on the DEC PDP-era machines).

    The key point here is that the ORIGINAL model for the kernel was not to use the ROM BIOS at all. And this applies to the first UNIX on the 286 and the 386 PC's.

    If you look at the Linux kernel code, you'll see that it's only been lately (within the past 5 years or so), that some people have been adding code for various architectures to depend on specifics from the ROM BIOS (and I don't just mean APCI).

  25. Yeah - but why do this check every friggin' time? by cheros · · Score: 2, Insightful

    My main bone of contention with the bootup checks is that they test for somethign new where 99% of the time such 'new' doesn't exist. Once a box is stable, all that will go in and out is USB devices and the odd CD or DVD, so it would immensely speed things up if we could register the device status somewhere and thus get rid of all this useless probing.

    We're running machines that are clocked in the GHz, yet bootup is still no faster than an ancient 80386 at 25MHz - despite Linux BIOS demonstrations that were so fast to come online they had to slow it down because the hard disks hadn't quite spun up yet.

    When we get to the OS, the same observation applies. There too are wait states which only exist because of the default assumption of change. Why not give the user the option to lock that state so you don't have to probe for it other than (as said) USB, DVD and maybe a new DHCP lease? That was what suspend is trying to do as well, but that is made more complex by the need to come out of it and (again) check if something has changed other than time..

    About the only time you'd need to trigger a full check is unplanned shutdown because such a drop may have caused damage. Just my 2 cents, of course. I haven't designed hardware or coded in a good 2 decades now so I may be a little bit rusty :-).

    --
    Insert .sig here. Send no money now. Owner may sue, contents will settle. Batteries not included.
  26. LinuxBIOS by Funzo22 · · Score: 1

    The Slashdot effect has kicked in here

    1. Re:LinuxBIOS by Alibloke · · Score: 1

      Try these links instead.

  27. So the answer is no. by Anonymous Coward · · Score: 0

    Well, then the answer is "no". 3 seconds isn't "instant on", and my scepticism is warrented.

    No offense, but 3 seconds is what I'd expect a 3 GHz CPU to do to 386 boot code.

    1. Re:So the answer is no. by DrSkwid · · Score: 1

      3s is quicker than my CRT takes to have a picture, ymmv.

      --
      There are places where the networks are not touching,and there are places where they are-Boeing's Lori Gunter
  28. EFI or GTFO by Anonymous Coward · · Score: 0

    If you want to "replace" the BIOS, write UEFI firmware, preferably 64-bit, based on the UEFI 2.1 specification. Anything else is already legacy.

    Apple's computers are half way there, with 32-bit EFI 1.1, though I'd like to see a shell in firmware and a slightly better implementation of the legacy BIOS CSM.

  29. Apple's launchd by Malekin · · Score: 2, Informative

    Also, Apple released launchd under the Apache licence specifically to make it easier for other systems to adopt.

  30. What about instant off? by Zaiff+Urgulbunger · · Score: 1

    Instant would obviously be useful, but the thing that always amazes me is that it takes soooo long to shut a modern computer down! Surely shutdown is a piece of cake? So why does it take (I dunno, about..) 20 seconds or so?

    1. Re:What about instant off? by VGPowerlord · · Score: 1

      The OS waits for all services to do their cleanup (such as closing open files), as well as writing any delayed writes to disk.

      --
      GLaDOS for President 2016! "Well here we are again. It's always such a pleasure." -- GLaDOS, 2011
    2. Re:What about instant off? by Zaiff+Urgulbunger · · Score: 1

      Yeah, I understand the need to do that, but that shouldn't really take to long should it. Surely 2 or 3 seconds would be enough?!

    3. Re:What about instant off? by smash · · Score: 1

      Depends how big your disk cache is, and what the internal status of processes is. They trade off writing to disk for better performance when actually being used. Performance when shutting down is not a concern - why do you care how long it takes to shut down anyway? Set machine to shutdown and walk away... no need to sit there waiting for it :D

      --
      I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
    4. Re:What about instant off? by VGPowerlord · · Score: 1

      The typical SysV-style shutdown starts by serially running a number of shutdown scripts, then sending all remaining processes the TERM signal, then KILLing any processes that are still running a few seconds later.

      You don't know what processes are going to do when you send them the TERM signal. I know at least one program that doesn't actually terminate, choosing instead to save its files.

      --
      GLaDOS for President 2016! "Well here we are again. It's always such a pleasure." -- GLaDOS, 2011
  31. Amiga Kickstart by Anonymous Coward · · Score: 0

    The original Amiga 1000 had the Kickstart ROM chips, which allowed them to boot nigh-instantly.

    Hold on there, cowboy. The Original Amiga 1000 had Kickstart floppies.

  32. 2007: the year of LinuxBIOS on the desktop? by ffflala · · Score: 1

    Appropriately geeked by the prospect of LinuxBIOS and OpenBIOS, I recently picked up the first AM2 desktop mobo supported by LinuxBIOS, the Gigabyte M57SLI-S4. Now the MSI K9N-Neo has been added, and I hope to see more recent sockets & chipsets on the supported mobos.

    http://linuxbios.org/index.php/Supported_Motherboards

    I thought I'd done my homework, too, but wasn't as thorough as required. Replacing proprietary BIOS with LinuxBIOS is more than simply flashing the BIOS.

    The Gigabyte M57SLI-S4 has one of two types of BIOS chips, determined by the revision. I was unable to get the revision type from my vendor before purchase, and wound up with the more difficult (and more recent) version. While this motherboard has the space for an additional BIOS chip, both revisions require hardware modification of the sort that includes soldering either a socket (if you're lucky and got the 'easy' revision) or a chip onto your motherboard (among other things.)

    I'm very excited at the future possibilities for LinuxBIOS and OpenBIOS. But in reality, at this point and on this mobo, LinuxBIOS on the desktop requires precision soldering. While I'm not adverse to developing this skill, getting a LinuxBIOS desktop will take more time (and hardware) than I initially realized.

  33. Whatever happenned to UPTIME? by NemoinSpace · · Score: 1

    My how times have changed. If you want instant on, stop rebooting your machine and learn how to use /sbin/service. responses with 100 inane examples of why you absolutely must reboot your machine to prove the exception to the rule to follow in 3..2..1...

  34. I wouldn't trade my init for the world by kwabbles · · Score: 1

    I dunno - sometimes it's relaxing to watch a linux kernel boot. Kind of like watching fish in an aquarium.

    --
    Just disrupt the deflector shield with a tachyon burst.
  35. OpenBEOS Cool!!! by stoicio · · Score: 1

    OpenBEOS !!!????
    Oh my goodness, is it 64 bit? I can hardly wait!!! .....oh..., it's BIOS.....
    Awe, shucks!

  36. And the kernel? by SanityInAnarchy · · Score: 1

    What about those first however many seconds that the kernel takes to boot, then the initramfs loads even more...

    I mean, yes, Upstart is cool, but right now, fairly irrelevant -- hibernate is stupidly fast when you have any kind of RAID. But the BIOS and the initial Linux boot (during which a fresh kernel loads all the hardware support it will need to... load the hibernate-image-kernel) do still take entirely too long.

    Then again, it might help to simply have hibernate images supported directly by bootloaders.

    --
    Don't thank God, thank a doctor!
  37. IBM!? by jaliathus · · Score: 1

    Anyone else find it funny that IBM is supporting this project? Given the history of Compaq reverse-engineering *their* BIOS to jumpstart the PC industry?

  38. You just described "sessions". by SanityInAnarchy · · Score: 1

    I believe both GNOME and KDE have something rudimentary set up here, so that if an app supports this, and you log out (telling it to "save your session", which may be the default), it will save your session. At which point, there is no point to putting it on flash -- disk is more than fast enough. It's also a bit more flexible this way -- log out and switch users becomes much faster.

    Here's the problem:

    1) The on is no longer instant. Sure, it's quick to shut down, but now the app must be "rebooted", which means reading the entire thing off disk. The reason you think Flash is fast for this is because it doesn't have seek problems -- but normal PC hibernate doesn't, either.

    2) Every app has to support it, or there's no point. Unless you want to be checking a particular app for "hibernate support", what usually ends up happening here is either the app gets killed completely on hibernate, or it gets started again properly, but without its state stored.

    Now, suspend to RAM is fast enough. Suspend to disk is actually almost as fast for me, were it not for the other hassles of boot. I'm going to test this right now:

    Very rough estimate:

    Boot -> OS is some 25 seconds. This includes at least a few pauses in both BIOS and OS designed to give me the opportunity to press some keystroke to enter some setup -- I believe that's BIOS, RAID, and the Grub bootloader. Lilo and Macs have the right idea -- why not just let me hold a particular key combo while the box is booting? Even Windows was better about this, sometimes -- when resuming from hibernate, I can press F8 if I want to cancel the resume and do something else.

    Maybe it's not intuitive that you can hold Apple+C (or is it Apple+D?) to boot from CD, but it's also something that has to be done maybe one in a thousand boots, and I'd rather have the other 999 boots be as fast as possible.

    Then, it's still some 5-10 seconds while Linux churns and loads drivers, etc, before it actually gets to resuming.

    The actual act of resuming is about 10 seconds flat, after which my desktop is pretty close to ready to use. Maybe 20 seconds, tops, counting disk thrashing, but that may also be my updatedb cron job.

    But even 20 seconds, I could live with. What I hate is that there's another 30 seconds or so that's completely wasted, so it ends up being a minute to resume from Hibernate, when it could've been maybe 20 seconds. (It takes even longer to actually boot.)

    Magnetic hard disks are certainly not the limitation here.

    --
    Don't thank God, thank a doctor!
    1. Re:You just described "sessions". by Doc+Ruby · · Score: 1

      Well, there are some problems with that approach.

      As you say, apps have to use the facility. Any exceptional app that doesn't use the session support leaves a "hole in the session". And there are apt to be many.

      Also, the difference between 1-2s poweron and 30s poweron is a total loss of the "mental moment". There's a qualitative loss of "instant on". Which is why the Flash is worth the small improvement: while the disk is just spinning up, the Flash can be done reloading the image to RAM. Especially if the Flash is connected to the RAM by an ASIC that does only that: pump the image, and maybe recalc the parameters that need new state, like DHCP and timers (clock).

      One way or another, the massive redundant computation at startup (plus at shutdown) has got to go. The OS should compute an image that is persistent between boots that can be saved and save it, even before the command to shutdown. Then, at shutdown, only the part of the image that needs updating from the new state should be updated and stored. Then, at poweron, just reload the whole image, and update the parts that need updating for current time, DHCP, etc. That entire up/down cycle could take a second or two. Which also means that Flash's zero startup time, and a Flash/RAM bus faster than that to disk, would reduce the small storage time that would then still be a significant percentage of the entire short store/restore time. If all disk access is buffered through that Flash, then startup/shutdown could be nearly instantaneous.

      The app sessions are really useful for "reboots" of apps once the OS has effectively no reboot of its own to take down those apps and restart them periodically. Most of those processes have memory leaks or other accumulation of corrupted state over time, so it's good to restart them "from scratch" once in a while. Stop/start the entire RAM image eliminates the periodic refresh we're used to. So a facility to do so for each app will become essential. Storing highlevel state in app sessions is a good way, because it makes app reboot much faster. And there's probably a good argument here for making app "Quit" and "Launch" into exactly the kind of image based schemes I just detailed for the OS.

      We've now been using these kinds of PC OS'es for over a quarter century. Some of the fundamental use cases are now very clear and stable in their operational outline. We clearly have 4 "restart" scenarios: "reboot" from scratch (regenerate executable image, regenerate user state); de/activate from execution (save/load executable image, persistent user state); "reset" to flush corrupt state (regenerate executable image, save/load user state); and "restart" (save/load executable image - or just retain it, persistent user state). For both the OS and apps, and the DB objects that are something else.

      If we can add support to those 4 lifecycle phases generically to the OS for those executables and their state, and some simple GUIs (and automation, like timers for app "reset"), we'll have both a much more interactive, and reliable, platform.

      --

      --
      make install -not war

    2. Re:You just described "sessions". by SanityInAnarchy · · Score: 1

      Also, the difference between 1-2s poweron and 30s poweron is a total loss of the "mental moment".

      Hmm. 20s, more like. And really?

      Consider also that 10s of that is likely due to it being a bad time (a nightly cron job was running).

      Which is why the Flash is worth the small improvement: while the disk is just spinning up, the Flash can be done reloading the image to RAM.

      How much?

      Because most Flash I know isn't that fast. Fast seeks, slow throughput.

      The big advantage would be that you could save a smaller image -- really just swap out what you have to, and otherwise purge your cache. Then, things would be loaded on demand. The reason hibernate doesn't work like this already is -- well, actually, it used to, but the problem was, your disk would thrash for another minute or two as various programs would wake up and have to be pulled off the disk. Flash, with 0 seek time, would make that fast.

      The OS should compute an image that is persistent between boots that can be saved and save it, even before the command to shutdown. Then, at shutdown, only the part of the image that needs updating from the new state should be updated and stored. Then, at poweron, just reload the whole image, and update the parts that need updating for current time, DHCP, etc.

      Well, actually, most of what wastes disk during boot is pure waste, not redundancy. There doesn't need to be a distinction between loading an app and loading an image, for instance. Consider the difference between OpenOffice and a more modular approach -- a shell script, say. OpenOffice loads a huge chunk of the app off the disk, while a shell script loads a collection of small programs, each on demand.

      As for redundancy, well, it actually doesn't take that much time to run DHCP, update the clock, check what monitor is plugged in, etc. Really, most of what's done during boot would be faster if it was decently parellized -- even moreso if it was on a medium with 0 seek time.

      We clearly have 4 "restart" scenarios: "reboot" from scratch (regenerate executable image, regenerate user state); de/activate from execution (save/load executable image, persistent user state); "reset" to flush corrupt state (regenerate executable image, save/load user state); and "restart" (save/load executable image - or just retain it, persistent user state).

      You forgot "reinstall".

      Reboot, reinstall, and reset are all essentially hacks to deal with bad software. Even the concept of a running program vs a binary on disk is an abstraction we don't need.

      What we do need is "de/activate", or suspend, but not in the form of a completely blind dump to RAM -- this should be more like "save/load user state". With a flash-based disk and well-written software, there'd be no performance difference between intelligently saving/loading state and blindly dumping RAM.

      And by "saving/loading state", I don't actually mean that there should be some magic signal that every app should obey. I mean apps should be written to use common libraries that will do orthogonal persistence for them, that understand the difference between volatile and nonvolatile storage, and between critical data and various types of cache. There would be other performance gains of such an architecture -- when the system needs RAM, it can flush everyone's cache, of all kinds of things, not just the FS cache -- same goes for disk cache.

      Imagine that classic Unix idea -- imagine everything is a file, including your running programs. But how do we think of files? You mount the filesystem, which takes almost no time, and then you can get inside and poke around. Or unmount it, and it's static on disk, and you can't get to it. But when you make changes to the filesystem, they stay. And the system makes it impossible for you to make changes that damage the FS itself, though you can certainly screw up files, and delete

      --
      Don't thank God, thank a doctor!
  39. I have an instant-on computer by Anonymous Coward · · Score: 0

    It's a Psion Series 5mx.

  40. Flash OSes by empaler · · Score: 1

    I actually remember reading about "Windows-on-a-flash-disk" when the miniature computers started to pick up. I remember thinking how awexome that would be to have, especially if your system went FUBAR - just tell it to zero out driver settings on next boot. No tedious reinstallation procedure, save for a few drivers.

  41. Whatever happenned to SHUTTING THINGS OFF? by jesterpilot · · Score: 1

    Why do so many geeks want you to keep your PC running all the time? When i'm done computing, i just shut it down, together with monitors and x powersupplies sucking energy. I do it with lights and washing machines too. It will save you enough electricity to buy a few gigs of memory at the end of the year. Now that's a speed improvement!

    --
    Trust me, I work for the government.
    1. Re:Whatever happenned to SHUTTING THINGS OFF? by smash · · Score: 1

      Because waiting for machines to boot whenever you go to use them sucks balls. Trying to play media off your media centre box on another pc on the network, and realising it's not powered up, sucks balls...

      --
      I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
    2. Re:Whatever happenned to SHUTTING THINGS OFF? by pintpusher · · Score: 1

      In all honesty I never shutdown for a few reasons, some of which are not really valid, but make me happy:

      1) I can't stand waiting for a boot. When I sit down at my rig, I want to work *NOW* not at some later time. A super fast boot would help, but might not eliminate this particular issue for me.

      2) I run debian sid. Sometimes rebooting is a problem. I want to reboot when I'm in a position to potentially spend time fixing something. It hasn't happened often, but it has happened.

      3) I generally use slightly older/scavenged hardware, if it's working at the moment, I don't want to risk it not powercycling. Sometimes that old video card or whatever won't come back up (I suspect this is some sort of technological equivalent to voodoo).

      4) Uptime r0x0rz!!!

      --
      man, I feel like mold.
  42. BBC Micro by Dr_Barnowl · · Score: 1

    MMMMmmmp ...meep!

    BBC Computer 32K
    BASIC
    >

  43. Slow loads were due to poor load in C64 kernel by Anonymous Coward · · Score: 0

    The 2 second pause at power-on was almost all the RAM test, which, if you eliminated, the C64 became an instant-on machine.

    The slow load times of the C64 was mostly due to a poor implementation of the serial driver in the C64 kernel itself. The drive had an 8-bit bus but the kernel transfered 1 bit at a time. With a properly written loader or something like the Epyx FastLoad cartridge, load times immediately jumped by 8 times! In addition the 1541 disk drive had its own processor, RAM, and ability to be programmed. A really well written loader could make loading blazingly fast (or implement copy protection ;) ). I had a copy of Epyx's Jumpman Junor that fully loaded into RAM and ran in literally seconds. (I wish more games back then were as efficient.)

    Back then, the common slow downs were avoidable, but it took clever programmers. Every new computer I buy lately seems to be slower than the last to get into a usable condition-- it's a shame because it's obviously avoidable. I hope we get back to that with more than just proprietary embedded systems some day.

    BTW, some trivia, the Commodore BASIC ROMs originally came (modified or no) from Microsoft (pay once, no royalties) back when the company was starting out. Some have the copyrights shown, some don't (C64 didn't). Fun read: http://en.wikipedia.org/wiki/Commodore_BASIC

    --Dave Romig, Jr.

  44. Re:Yeah - but why do this check every friggin' tim by smash · · Score: 1

    ... to check for hardware failure - or failure of a device to init properly. be it due to damage, power surge, etc.

    --
    I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
  45. So, just how unreliable is your hardware? by cheros · · Score: 1

    We've hit a core question here. If fails, restart and probe properly, if not, leave well alone (IMHO).

    I give away my age here, but when the Apple ][ got its first disk drives the floppies as well as the mechanisms were dead unreliable, not helped by us punching a hole in the floppy and using the unverified side which made it worse. However, in half a year or so, clone drives came out (yes, I kid you not, CLONES. Apple clones!) which were a lot better apart from where we could resist the temptation to use the wrong sides of floppies. A good friend of me then produced a much faster disk OS by simply reducing the waitstates and repeat readings - whihc was OK due to improved hardware. The same happened with TCP/IP - originally that happened over unreliable modems.

    I can't recall the time when a piece of hardware failed on me other than when I tipped over an external USB drive (duh) so it's at leats in my case an exception rather than rule. So my position is that we should get a little bit realistic about just how good the kit is we use these days. Even laptops are much better - and by leaving a fallback algorithm in place (it failed so do it again the slow way) it ought to be possible to get rid of 50% of the bootup time. Zap Windows and kill services you don't need (and again those probes) and you'll get probably rid of another 30% or so. That was also the main advatnateg of a static kernel - it knew what was around. Sure, the modular approach is much better and flexible, but why not build the kernel module structure on first boot (maybe with a BIOS checksum as trigger?) and then make that a sort of 'hibernated' kernel from which you restart?

    All desktop, of course. A server needs to probe properly (IMHO).

    --
    Insert .sig here. Send no money now. Owner may sue, contents will settle. Batteries not included.