Booting A PIII System In .8 Seconds
gizmo_mathboy writes: "General Software has announced the fastest BIOS boot time on record. The embedded system was clocked at 0.8 seconds from system power-on to transfer of control to LILO. This was on an Intel SOYO motherboard (440BX chipset) running a PIII 400. I think the quote of the article is: 'This Embedded BIOS quick-boot operation allows the device to restart and resume operations well within three seconds -- the maximum amount of downtime allowed per year for a device that must support "seven nines" or 99.99999 percent uptime.'"
It's only 0.6 seconds from power-on to BSOD!
...but I can certainly crash one that fast. AMD rul3z j00r 4$$!
--
I like to watch.
Once i add some scsi , network, raid cards I can slow it down again :o)
Anything that can be done to help those online gamers deal with crappy, untested game clients that crash their computers should help Electronic Art's, Sony's and other MMORPG game companies profit margins. I can see the recession turning around already, especially with gamers able to reboot so quickly.
Go Lakers!
sometimes i would like to have a sec more to press the delete button to get into the bios and change a few settings.
Why are the geeks so concerned about things being as fast as possible? What's an extra 5 seconds of your life? If it takes that long to get things done (and get them done right) then I'm all for a 5 second start up. Yes, it's killed productivity, but let's look at the math: 5 seconds per computer, figure about 1000 computers booted up per month (50 computers, booted up once per work day). That means you're wasting about (carry the 2...) 80 minutes per month waiting for computers to boot.
Now think about the time it takes you to get coffee in the morning; we're talking about 30 seconds or so (if you don't take it black) every day; that's 480 minutes of wasted productivity
Don't get me wrong, this is great, but is it worth the implementation? The numbers say no.
I've been waiting for something like this for a while! My car MP3 player takes too long to boot up... can't wait to get my hands on this. No mention of cost, but I've sent an e-mail to their contact link and will reply to this message with price if/when they get back to me.
I am disrespectful to dirt! Can you see that I am serious?!
...assuming you ever reboot. I've got machines that have been up for 300 days, and I've seen machines that have been up for 700. What good does a minutes' worth of saved booting time get me when I do it less than once a year?
- A.P.
"Remember when the U.S. had a drug problem, and then we declared a War On Drugs, and now you can't buy drugs anymore?"
Was that supposed to be 1400 MHz PIII, or PII/400, or some other speed of PIII? (Or was it a Celeron, or 286?) I checked the article, they got it wrong there-- not /.'s fault.
Dear Slashdot: next time you want to mess with the site, add a rich-text editor for comments.
Can you imagine a B...
...never mind.
If Linux is so darned stable, why do you guys care?
yes, that was sarcasm
- RLJ
I've personally achieved faster boot times using
f tw are/firmware/acsfl/abstract.htm
Intel's System Firmware library.
http://developer.intel.com/platforms/applied/so
Straight from rom to 32bit protected mode
without passing through typical BIOS steps.
It's taken 20 years, but they finally got a system
that can boot faster than a TRS-80.
Ha...no such thing.
Seriously
The SPARC architecture does not use a BIOS with REAL mode drivers for booting. It has protected (or whatever it is in non-x86 parlance) mode drivers built right into the firmware. On x86, the BIOS contains Real mode drivers, THis was fine for operatings systems like DOS and Win 3.1. However, modern OSs (Windows, Linux, etc) need protected mode drivers. BY placing these right in the fimware Sun is able to smoke x86 performancewise ALWAYS. I thin its time to ditch our legacy DOS hardware and start getting x86 machines with protected mode BIOS drivers. Anyone with more technical information, please comment.
-zr
That explains a lot about how you can hit the lameness filter when just cutting-and-pasting from another web page, which with Netscape will insert a lot of spaces. Good compression == lame post, apparently.
How about posting your example alternative code somewhere else, and just not licensing it so that it could be used with slashcode? It would be interesting to see if you could come up with a method that would penalize (no pun intended, really) ascii art posts but not cut-and-paste quotes.
Your right to not believe: Americans United for Separation of Church and
So, basically, if Windows can get down to one reboot per year, they could actually get those 5 9's they're always talking about in their ads.
I'm only crashing once a week on average under Windows 2000, so I'd say they're well on their way to achieving this by 2045. Good luck guys!
"A coward is incapable of causing destruction; it is the prerogative of the brave" - Mahatma Ghandi
What good is a fast boot time, when you hit the brick wall at the end...
"my system can go from boot to blue screen of death in 3 seconds, biatch"
fear.
Isn't there something like this where they throw a bootloader or something right in the flash on the mobo?
/.
I vaguely remember this from
could just be that I have yet to have my coffee
-paul
meatbarn.com
OK, while that's a pretty nice thing, what's the big deal? That .8 sec is only [button push] to the lilo prompt. So? The box STILL has to boot. What if you've got a box that still has to fire up a bunch of daemons before it's even online and usable? What if it was a dirty shutdown (and the silly fool is still running ext2) with a nGig drive(s)? How does this help uptime?
I'm not a prophet or a stone-age man,
I'm just a mortal with potential of a super man.
Wow! Geek perfection! Cold to LILO in 0.8 seconds. Women will flock to me!
Now if I can just get LILO working again...
I would rather be ashes than dust!
any day now Intel will have a callback cause those idiots probably forgot something... i won't be surprised... better let AMD handle processors... after all they're efficient, reliable and quite stable... notice how all the big companies blow it out the rear?
Get that rats nest off your head, you numbskull -- Wesley Willis
Quick boot time for embedded devices is a nice thing. The last thing you want is to have your microwave take 15 minutes to boot.
Of course on stuff that matters, boot time is quite longer. Let's take for example a Sun Enterprise 10000, it takes at minimum of 20 minutes and up to a few hours just to run POST. This still doesn't include time to boot the operating system. But once that system is up and running, it stays there until either something bad happens or the admin shuts it down.
For obvious reasons you wouldn't install this BIOS in your home PC or linux server, where checking memory, detecting SCSI and drives and so on are pretty much necessary.
"If you insist on using Windoze you're on your own."
Install Win2k and it will take 120.8+ seconds to boot up :P
Okay, for everyone alternatively complaining that this is overkill on the desktop, or that they would prefer all the checks, etc. in place... this is NOT built for desktop systems.
Read the post; this is for an embedded system requiring seven nines. Though it can (and most likely will) be adapted for desktops, any desktop running this will be a high-reliability server, with all the checks (except memory, which this chip does after a fashion) built into the hardware...
I am disrespectful to dirt! Can you see that I am serious?!
you're fat and stupid..
the point is that if a machine goes down, it will reboot right away, exactely what is mentioned.
and yes, i know what you look like in real life, and you are a fat and stupid tool. you smell terrible and i know you read this whole post because you feel cool now that you know that somebody knows you.
Slashdot also has seven-nine uptime. Except it's not 99.99999%, it's 9.999999%.
Once I got a call from a plant that had an old Novell server that needed to be cleaned out. The company produced cotton yarn, so this was a really dusty environment. They had an old Compaq 486DX2/66 server that had an uptime of almost 4 years! I wish I had my camera when I saw that. Try that with NT!
While a fast boot is obviously good for those embedded developers who are stuck with PC-clone hardware, I think the lesson here is that the PC-clone architecture is only barely acceptable in many embedded real-time situations.
The last thing I want is my Microwave running a Pent anything and some variant of Windoze. When that happens I'll be out back with some wood, rock, and flint to cook my meals :)
Top Most Bizarre/Disturbing Error Messages
Just imagine this in an environment where you can't keep the machine running all the time... like your car.
Hammer of Truth
(This is probably going to be flagged as a troll or flamebait, but think about it. We have put up with crap for so long, that when we finally get sub-second boot times back it's a big deal. It's like hiding toys from your kids for 6 months and then bringing them out as winter sets in - they get all excited about stuff they used to have.)
I'll admit ignorance as to all the required checks, double checks and initialization that must go on to get a decent OS up and running, but I still can't help but think that inefficiently designed / written bloat-ware could be done much better to improve the boot times of modern machines. Why not lazy load the drivers, etc as required?
I'm in my right mind and I have the answer to everything!
Ocassionaly certain devices(telephone switches) require a reboot for firmware upgrades. With this device the reboot time can be minimized thus, maintaining HIGH-availability required in this environment.
We're not talking about crashes here. Crashes are simply out of the question.
Can your Linux box do that?
These baords/BIOSes aren't meant for J. Random Hacker. They're meant for the embeddable computing sector. These types of systems don't change the hardware setup, so all that configurability is useless. These are systems where downtime means something BAD. Thinks nuclear plant regulator systems, telephone switching systems, etc. These could even be used for high-end PBX style boxes where there's zero need for constant upgrades and hardware swapping, but you need fast off-to-operational status.
jX [ Make everything as simple as possible, but no simpler. - Einstein ]
What I'd like to see is an EPROM to contain a kernel. Any kernel. A generic 8 megabyte EPROM that will hold the linux kernel (or, if you are stupid, a doze kernel) and various modules so that you can very quickly bring up your system instead of waiting for this daemon, that daemon, etc.
Sure, some of this stuff would still have to take place outside the EPROM, delaying powerup-to-input time but it could be minimized by sticking as much as the user wants (and can fit) into the EPROM. It should be generic so that it can hold doze, linux, sunos, freebsd, whatever you want as your primary os.
My system remains much the same from boot to boot so I wouldn't need to constantly reprogram the EPROM to fit with my latest change. There could be a simple utility like a BIOS upgrader app to handle the EPROM programming. Make it so that it isn't absolutely required so that if something goes wrong with the EPROM you can still boot off you harddrive - which you would need anyway if you use a bootloader and want to bootup another os periodically.
What is it that prevents this sort of thing? Design mobos with a new chipslot for the kernel EPROM and design the chip to contain enough mem to hold any one of the os kernels that are generally used (or likely to be used). If there is a lot of leftover space, perhaps you could fit another kernel and supporting modules into it until it is full allowing for a very fast dual boot setup.
In Bushworld, they struggle to keep church and state separate in Iraq as they increasingly merge the two in America.
You don't think it would be cool to have a neural network that adjusts output based on sensor readings of what its cooking and how done it is?
That's going to take some number crunching. Granted you could do that purely in hardware, but there's a reason we make the hardware generic and wicked fast & write software.
You sound like the people who say that there's no reason for anyone to buy anything over 1GHz because there isn't any software to take advantage of it - such people
1. Have no imagination, and
2. Are content eating rubbery chicken and half popped popcorn (and the software equivalents).
ka-pow!
You want fast boots? Put the KERNEL in the BIOS. No need to run BIOS code if you don't have to.
My Commodore 64 boots in
Two comments:
Doesn't Soyo mean "gentle" in Japanese?
And, if you really need "7 nines" uptime, you shouldn't be relying on a single processor -- you should be relying on a processor farm that supports hot-swappable processors, so you can lose one or two or fifty and only lose a fraction of performance for as long as it takes to replace those processors.
On a high availability machine, there should never be any reason to reboot until you must upgrade the kernel, and I'm sure there are ways to do that without requiring a hard reboot. IBM has had farms like this for years.
--brian
Seven nines of uptime is 315 seconds a year. I think you mean nine nines of uptime. Or maybe you mean seven nines after the decimal.
"I can reboot twice as much in half the time!"
.8 seconds and still maintain 99.99999%? Or rather, why don't you just cluster your services and reboot the individual servers whenever you want?
--Direct quote using a p60 around 1994
So how many times can I reboot in
Eh, that's nothing! There's a company in Europe somewhere (I forget the name) that's been running an OpenVMS system for 17 years with zero downtime. Now that's impressive :)
-- Brett
Using my well-shod foot, I can boot a Pentium MUCH faster than that!!
My system spends more time loading the OS than the BIOS cycle - why does anyone really care?
;-)
Find me a stable/decent desktop OS that boots in less than 5 seconds like a gamebox - and I'm ready to jump ship
This is very clearly a product aimed towards users of 9x versions of the popular Redmond based OS. No one else will get a kick or efficiency boost out of (re-)booting that fast.
If it's been said before, well d'uh. I ain't got no karma to lose.
+++ath0
IIRC that's the national train service in Ireland
The first PIII was a 450. Regardless, the biggest difference between the PII and III was the name. Intel released the faster models under the name PIII but it was basically a PII with a slightly larger cache. That is why you could use it with the same motherboards. And Celerons are basically what the PII used to be, they wanted to "cheapen" the name of the low end processors or else they might hurt PIII sales. Just like the PIII will soon be renamed Celeron in order not to hurt the sales of the P4.
Ok, you turn off a majority of the system checks to make this possible. Nice if you plan on having a regular reboot schedule. However, if the system fails due to hardware, you're forced to go in and turn all the checks on, then reboot again just to find out what broke. Seems to violate that "seven nines" rule, doesn't it? You'd have to have a lot of faith in your system being reliable to do that.
Electronic Frontier Foundation for online civil rights information
Here's the URL spelled out in full to get past the $&#$(! filter: http://www.intc.com/pressroom/archive/releases/dp1 02599.htm
da Amiga 4000 took 13 secs from power on to HD stop, full GUI. Shutdown was 0 secs(power off). OK so you would have to do it more timnes that you would want to. Is there another GUI platform that comes close? or is there a way of getting Linux or windoze to perhaps load completly from a memory image?
What I may sound like and what I am are two totally different things. I've already got a 1GHz server in my house and bought a 700MHz AMD Athlon when they first came out. I tend to be an early adaopter. But even so, there are some things that , to me, are overkill. And Pentium III processors running non Real-time OSes in appliances just don't get me excited. No thanks. Embedded devices have to start fast but they also have to be super stable. In teh embedded arena - simple is best to avoid getting burned later (I do embedded design) I'm perfectly happy with my Microwave - its 10 years old and works just fine. My chicken isn't rubbery cause I don't cook in my Microwave. I have an oven, stove, and Weber grill to do that. My microwave is for reheating leftoves and well, leftovers never taste like they did when tehy were cooked.
The point here is that just because you think some things are overkill doesn't mean you have no imagination. Hell, I've designed home automation gear - and I still think the idea of networking all your appliances together is looney. Scanning items in my fridge? Yeah - that's gonna happen - talk about a waste of time! But hooking up an central controller to your house systems (HVAC So don't be so quick to judge next time. I'll probably buy the first 0.13 micron Athlon that comes out. But a Microwave running a PC based controller - gack - no thanks.
Top Most Bizarre/Disturbing Error Messages
77.7777777% uptime is better than 9.999999%
Best Slashdot Co
Over Y2K the company I worked for insisted EVERYTHING be turned off and physically unplugged from any network point, power point and phone point.
The cause for their worry wasnt a Y2K glitch in any of those sub-systems. They were worried mostly about a power surge or spike when everyone who had turned off their equiptment over Y2K turned it back on again just after midnight.
Of concern to us was an old HPUX system. We just werent sure if we could reliably turn it off and then get it going again. The reason?
It hadnt been rebooted in 10 (TEN) YEARS.
Video meliora proboque deteriora sequor - Ovidius
DeanT
Sounds like it'd be much more useful for Windows than anything that LILO normally handles. I guess maybe for kernel re-compiles and such, but with kernel modules and most everything else runing in user-space, I almost never reboot my Linux box.
Who cares if you take .8 seconds to LILO? You don't have to boot a Linux machine 32,767 times a day anyway!!!!
EROS is an operating system that doesn't boot. Instead, it just loads a memory image from disk, which can be lightning fast when it's arranged as one contiguious file to eliminate seek times.
you think that you can fit everything that you need for a linux or windows bootup in 8MB of flash? You think that you can fit BOTH of them?
The linux kernel is small, yes, but that's because all of the needed modules and drivers aren't in it! They're loaded on the hard drive.
Not to mention that flash is very slow... and expensive...
You'd be better off to store a memory image of a booted kernel at the beginning of your hard drive, along with all necessary information to initialize all of the hardware. Just have a small bootstrap/lilo type of thing that quickly loads up enough to access the hard drive and file system, then load the rest into memory directly, then initialize the hardware.
But I reboot so infrequently that it doesn't really matter how long it takes. Hell, I have my system set to do a full memory check on bootup. It takes an extra 45 seconds, so what?
And stop bashing windows... My W2K Server has been up for 145 days now and counting. Check it out along with CodeRedII attack info realtime (yeah, shameless plug) =>
If God gave us curiosity
Then I suggest you look into this page that is working on a Linux BIOS.
Enjoy.
I'm not a prophet or a stone-age man,
I'm just a mortal with potential of a super man.
Evergreen's Performa 500 can boost your early Pentium II to 500-MHz Celeron power--but it's costly Early adopters of the Pentium II processor were left in the lurch when Intel raised the bus speed for 350-MHz and faster Pentium II systems from 66 MHz to 100 MHz. Stuck with the older motherboards and chip sets, those users could not take advantage of faster processors. Enter Evergreen Technologies into the breach, offering its Performa 500 upgrade module, which features a 500-MHz Celeron CPU that runs on the 66-MHz bus. The Performa makes for a clean processor upgrade, since you won't have to buy and install the extra parts that assembling your own Celeron CPU upgrade requires. But there's a heavy premium on that convenience--the Performa's $299 price is a bit steep for what you get. Click here for more..
quote:port 17 udp
Rather, I think the issue is minimizing the unexpected downtime that occurs at a critical moment. Lets say you are using a computer in surgical equipment. Let also say that, heaven forbid, there is a bug in the software code. While the surgeon is busy fiddling around inside the patients head, the equipment freezes up. Every second that it takes to restart the equipment, there is the possibility of harming the patient.
Obviously, equipment this critical should never ever crash. It's nice to know, though, that should something happen, the equipment will restart quickly.
Come test your mettle in the world of Alter Aeon!
99.99999% uptime per year?
;)
3.15s/year downtime.
This is possible with a reboot? of any machine? Even if the post takes 0.8 seconds?
I think the only way to have that type of uptime is to not go down at all.
Or of course, you could say that you have a 99.99999% uptime (average, over 1000 years)
If God gave us curiosity
I would consider buying one instead of waiting for GameCube... but I'd probably still go with GameCube.
~ now you know
Disabling the memory count and disk seek are options in most BIOS's. Won't these make *any* mobo boot faster? Can't say I've ever tried.. Win2k still takes two minutes (and what's with the three seperate progress bars?)
--nobodyman
Unfortunately lilo is set to prompt with no timeout, it sure gets there fast though.
You're missing the point.
In order to be able to claim %99.99999 uptime you
would have to do your reboot in 3 seconds. It is
possible to boot in 2.1 seconds in a high
performance box with a tight kernel. If the person
running the box is 'a silly fool still running ext2, then they probably don't care about the
%99.99999 uptime.
"as plurdled gabbleblotchits on a lurgid bee" - Prostetnic Vogon Jeltz. (One man's humorous is another mans flamebait)
OK, it takes 0.8 seconds booting up, but what about booting down? It probably takes much more (killing processes and all), which means that, unless "powering down" means "unplugging", it'll take a bit more to reboot the whole machine; I guess the relevant figure for uptime should be "reboot" time, not just "boot" time.
It's just a BloJJ
Your Commodore64/Vic20/PETs, your Apples, your Atari 400/800/1200s etc all had their OS built into ROM (or ROM Cartridge). This is not a fair comparison. I'm sure if the Power On Self Test of even a P75 merely checked 64K of memory, initialized a few counters/buffers, and jumped to a ROM based OS, you'd wind up with a boot time in the millisecond range.
Why would an embedded system where reboot time was important have the bios delivering control to LILO?
Why would precious reboot time be devoted to a dual-boot kludge?
I think someone is tripping.... I remember the PIII entering the market at 450MHz. Am I wrong about this? I looked on pricewatch, and sure enough 450 is the starting speed. http://www.pricewatch.com/menus/m3.htm
(my emphasis)
A pet peeve of mine is that PHB's think that "device" uptime is the same as "system" uptime.
Decades ago, we had fault tolerant systems that had large-chunk redundancy. An entire mainframe could fail and the system kept serving.
OTOH, haven't you ever had a failing app take down your system, while running on perfectly healthy hardware?
The reason this misconception, that perfect-hardware==perfect-uptime, frustrates me, is that the PHB's get sold this bill of goods by hardware salespeople. Then they don't even allow for downtime to upgrade the effing OS every two years. Nor do they allow for a second system to either (a) take the load during an upgrade, or (b) test updates to the application.
For this silly reason, giant, fault-tolerant boxes are hurting, rather than helping, high-availability computing. Bosses would rather spend money on sexy hardware that won't solve the problem, instead of paying smart people who can design-in the uptime with combos of hardware, software, and procedures.
Quench-rant (for now).
Someone with some embedded experience will have to explain this to me.
.8 seconds to get to LILO will be too slow for it.
99.99999 percent downtime in a year works out to just over 3 seconds of downtime. Is that even possible? Feasible?
And if the machine is only down for 3 seconds in a year, who cares how long it takes to boot? Even
....if only I could get my X-windows profile to load in .8 seconds. Ahhh...
you know... I'd actually pay for an extended bios
in which you could designate a ethernet and serial
port to which you had access during the booting
process (a la Sun's RSC port).
Quick doesn't mean anything if the box is not
accessable while it's stuck in some sort of reset
boot reset loop.
You'd think the guys who develope BIOS would
actually be in tune with what is needed for tricky
remote support issues, but instead they're worried
about time to boot (think penis size vs more nerve
ending per square inch).
Dude, have you looked at your graph recently? You have some negative numbers at the beginning of August. Does your attack counter program subtract from the count when your server tries to attack other servers?
If it ain't broke, you need more software.
Nevermind, I forgot to shift the decimal place. Need some more caffeine. My mistake wouldn't have cropped up if we could trust slashdot authors on a more frequent basis. I just thought they had screwed up again.
It's been a long time since I've used it, but my Osborne 1 used to boot from a floppy in about 5 seconds. Of course, there was no network, no raid, no scsi, no hard drive and only 64KB of memory to check.
Even though this BIOS was intended for embedded machines, fast boot is also important for desktop PCs. Consider the Canon Cat designed by Jef Raskin (see "The Humane Interface" by Raskin). It takes a very short amount of time to boot, all you have to do is start typing and the computer powers on and loads the operating system, putting the cursor in the document exactly where you left it off. Not only that, but there is a hardware buffer for the keyboard so that it doesn't even lose the keys you typed while it was booting up. Now that is a computer designed with the user in mind. I'd like to make a PC operating environment and the first thing I'd do is make sure it boots fast. I was thinking the BIOS would be the slow part but if it's possible to speed that up, then that is all the better.
On the BIOS topic, do you know where I can find BIOS that talks via ttyS0 instead of the video card?
To me, this is a requirement for servers. It means I can completely administer it remotely via a cheap terminal server. It also means I can dump the video card in my servers. Sure, Linux can use the serial port for its console, but that doesn't help me when Linux isn't booting. I know there are remote KVMs, but they aren't the cheapest thing in the world.
Great! Now I won't have to waste as much time sitting through all those painfully slow Windows re-boots!
You're using her as bait, Master!
The microwave was supposed to be a box that you put anything uncooked into, you push a button, and you get cooked food out of. The fact that you go to your stove or grill, and the taste of leftovers is evidence that it has failed. I don't care if the new system is embedded in the box, or offloads the work to a bunch of these generic computing devices, but intelligent devices are the future.
/I/ consider to be a waste of time is going to the grocery store every time I need food.
I'll argue the scanning fridge point too - I predict in 15 years a sizeable number of people will pick a constant stock of food that will be maintained by automatic shipments, and people will only go to the store for emergency (ran out of milk unexpectedly) and custom (feel like trying this new kung pao chicken recipe tonight) stuff; both of which the system updates its rules in response to. We have the technology to do this now, but people obviously need to get used to the idea. Why exactly do you consider this scenario to be absurd? What
Automation and other use of technology to overcome what many people consider to be inconveniences is not overkill. Robustness is desireable, but not always at the cost of eliminating tremendously useful feature sets. Embedded-QOS is nearly achievable by a single modern desktop if you lock it down & it's dedicated, and maybe with a couple of them for redundancy. Either way I'd sacrafice a few second reboot once a year in order to be able to come home after work every day to a full fridge, pull anything, put it in the Universal Cooker, push a single button and have any possible meal cooked exactly to taste at the microscopic level.
ka-pow!
Not quite as fast, but still very cool
http://www.acl.lanl.gov/linuxbios/
The Dual Athelon setup sounds promising
The PII and PIII are identical in architecture (until coppermine), so, who cares if it was a PII or a PIII, for that matter, who cares if it's Intel?
"And we have seen and do testify that the Father sent the Son to be the Savior of the World"
1 John 4:14
But i head that it required you to reboot the machine if it booted "before" HDDs were up! (I do not know the current situation. I haven't checked it for more than a year).
You can *easily* fit all drivers to boot almost any given system in 8MB. In fact, you can almost certainly do it in one meg. What you can't do is have all the drivers in existence availabe -- but who needs that?
Let's get out our calculators, class...
365.24 days per year (from Space.com. I don't know of any more accurate (more decimal places) numbers than this. Even if you were to add 5 whole days to the year though, it won't even add one one-hundredth of a second to the final result, so I think we can go with this).
99.9999999% of 365.24 = 365.23999963476
365.24 - 365.23999963476 = 0.00000036524 days
This is the maximum allowed downtime.
Assuming a day is exactly 24 hours long (I'm fairly sure it is),
0.00000036524 days = 0.00000876576 hours
0.00000876576 hours = 0.0005259456 minutes
0.0005259456 minutes = 0.031556736 seconds.
Thus, 99.9999999% percent uptime requires NO MORE than ~0.0315, that's three hundredTHs of one second, downtime, per year.
Nope, don't think we're there yet, but you keep pushing that 99.9999999 number if it makes you look good. After all, the general public can't do math either... =)
-Kasreyn
Kasreyn: Cheerfully playing the part of Devil's Advocate to hairtrigger
funny =)
Umm, I just ran it and it reported fine, no negative numbers.
Maybe it can't hold more than one person accessing it at once =). It wasn't exactly written to be robust and hold load. I dunno, I figured that it wouldn't be around for more than a few days so I didn't exactly code perfect...
If God gave us curiosity
actually, this would be great for casual "embedded" uses as well, such as a computer being used in a car for GPS navigation. You want it to come on with the car, and not have a wait for a boot. Same with a computer being used as an MP3 player in a home stereo system. You want it to act like a component. Hit the power button and it is on, like your CD player.
It's nice having a few seconds to hit F2 or DEL to go into the BIOS if you need to change something.
This is obviously for the Suits.
"Would it kill you to put down the toilet seat?" -- Maya Angelou
That means, if you add the 75 seconds for windows to boot, you get... oh. about same as it was.
If you can't see this, click here to enable sigs.
Here, I took a screenshot of it: here. I think it might just render different on Mozilla.
If it ain't broke, you need more software.
So, you have machines that have been up for over a year without ever being rebooted.
Uh.. so I guess you never apply any security patches or bug fixes eh?
Glad you don't work for me.
News, hmmp, check out MRBIOS. I first discovered them back in 92/93. Back then they had auto IDE detection, support for big IDE drives, and of course a FAST boot option. A year or so after that they had (software like the promise) IDE RAID support in the BIOS. Today I still have a VLB 486 machine (my firewall/webserver) with MRBIOS. It has a 60 Gig harddrive and a 16.7 Gig harddrive plugged into it with a massive uptime ratio (greater than a year and a half at up at one point). The machine is sub .8 second warm reset times. Its basically instant. The screen clears and lilo starts booting linux (I have lilo configured not to stop unless the shift key is held down) if I press the reset button. If the machine is comming up from a cold start the bios flashes post for something less than a second and then displays a flashing "Waiting for Harddrive to spin up" while the harddrives are going Whhhhhhhhmmmmmmm... As soon as they sound spun up the machine starts booting. I have machines that are 3 years old that don't support 16 gig drives and this little box is getting on towards 10 years old and it has a 60 gig HD plugged into it. I put a dx4-100 overdrive in it a few months back and the board which was bought right when the Dx2-50's first appeared. Poped up and said,"Newer than Dx2 486 at 99mhz" ,or something like that.
Its really sad though that these guys never caught on. Most of the 'cool' bios features that have appeared in the last few years in award/AMI were in MRBIOS in the early 90's. Now they are just a shell of a compay and they don't have BIOS's for machines newer than a few years old. Some people are just ahead of their time, Well I guess i'm going to go home and reboot my machine from the third harddrive now... lol..
If it is an underclocked chip they hould point out that fact.
They probably figured that it should be obvious that any chip labeled "pentium !!!" running at 400 MHz is running less than its stated clock speed.
The first runs of PIII added only a larger cache and the new SSE vector instructions.
Will I retire or break 10K?
Take a look at the Edward Tufte books, particularly The Visual Display of Quantitative Information.
You mean the guys who upgrade the kernel every week?
Escher was the first MC and Giger invented the HR department.
The idea that someone today would actually _want_ a 16-bit legacy BIOS in a newly designed embedded device is laughable. The only reason to do it is if you want to run embedded DOS (gag!) or Windows, which ain't likely if you're shooting for 99.99999 percent uptime.
Now I use a variation of Linuxbios. It works great, it's free, and I'm free from debugging somebody else's crappy assembler.
314-15-9265
LinuxBIOS is at least that fast and is GPL. It's also been around for at least a year now.
as a PIII 400 - as I recall the first P3 was the 450.
This BOIS is a building block to be used in a system that needs to power-up quickly. An example of a place it might be used is a set-top box. People don't want to wait 20 seconds for their TV to come on, and people have also become a lot more aware of appliances that don't really shut down when you turn them off. I can see a market for this BIOS, but I don't really see it in the high availability market.
In my limited experience with a telecom product that needed 5 9s uptime, everything had a level of redundancy, because you had to assume some hardware was going to fail. That means that you are possibly running at reduced performance while the system is comming back online, but the system doesn't go down just because part of it was rebooted. The 79s thing sounds like something someone in marketing though sounded good, even if it's not that applicable. It has that cool buzzword, marketing feel to it.
would find this interesting. it's not the BIOS that is cramping your style, it's LILO.
I use Linux and I use FreeBSD. The FreeBSD boot loader rules. And, err, it's not the lack of journaling that makes ext2 suck. UFS is not journaled and yet does not ask you to wait as long as ext2 on a sloppy reboot.
Strict obedience to the law is the key to liberty.
I thought they meant 7 nines after the decimal place. =P
Hehe.
-Kasreyn
Kasreyn: Cheerfully playing the part of Devil's Advocate to hairtrigger
Who was comparing clock for clock? I was comparing SPEC benchmarks.
Oh, and you are wrong about clock-for-clock too.
500MHz UltraSPARC-IIe (Blade 100) SPECInt 165.
1400MHz Athlon SPECInt 495
The UltraSPARC is SLOWER clock for clock than the Athlon!!!
Fear: When you see B8 00 4C CD 21 and know what it means
What is the use of embedded linux in a microwave ?
Only morons will answer "cat".
Unless seven nines is 99.99999 and not 99.9999999 which you stated.
I used to have some old 486 motherboards that had MR BIOS, and they could boot in about a second or so. You normally had to wait for the hard drive to spin up when cold booting.
But I do find it sort of funny how as you get into machines with loads of processor power, it takes them eons to boot. Sure, self tests and all that stuff are nice to have, but it's still funny.
Read the article (or summary) - it said EMBEDDED, not desktop, systems.
Embedded systems often need good recycle times. A weapons programmer gave me the title quote, wish I could attribute it but it really made the point to me.
You can definately do it in 16 megs since I've seen a diskless linux box run on just 16 megs of ram. What I'd love to see is a barebones vmware-like OS done in ROM. I'm using windows on vmware on linux now (in raw disk mode) and I forget sometimes that I'm not windows directly, it's that fast (linux on windows sucks however). Of course my stupid BIOS doesn't let me stop the memory check so it takes me god-knows-how-long to check my half gig of memory (vmware loves memory).
With a vmware-like device you could easily store a memory dump to disk after bootup, and then load that directly into memory every time you restart (unless you need to update drivers).
ok then your [sic] infringing on my copyright! Could you as [sic] me next time before STEALING my comments for your own?
Desktop operating systems are designed for configurability, not zippy boots for HA. It has reams of code that's only there to make reconfiguration easier. You can pre-set a desktop kernel with its fixed peripheral configurations, but there are embedded OSes designed for that.
Linux would only be repurposed to do this sort of thing because it's open source, and because hackers understand its operation. That doesn't make it the right tool for the job.
--Blair
I think is goal was to simply give an extreme example. No kidding you don't want this type of embedded system in a brake control system.
aah ok, the problem isn't negative numbers, the problem is that you browser doesn't render DIVs correctly... I use a div for the graph with a height setting corrosponding to how high the graph should be (concept! :>) .. I had this problem on mozilla to, it has a minimum height apparently, and if you specify less than that height it displays the box much bigger than necessary. Try to load it with IE or netscape (dunno about the latter, but I know that it works in IE). Thanks for the feedback thou =)
If God gave us curiosity
Time to boot bios 0.8 seconds.
Time to boot linux 3.0 seconds.
Finishing your work before the windows user in the next cubicle finishes booting: priceless.
Dozings.com -- Its kinda funny... If you're as crazy as me.
My VIC-20 will also boot up in .8 seconds, and it only has a 1-MHz processor, and it'll go all the way up into the command-input mode!
READY.
you think that you can fit everything that you need for a linux or windows bootup in 8MB of flash? You think that you can fit BOTH of them?
floppyfw (Firewall on a Floppy) runs a linux 2.4.5 kernel. It handles ipchains, iproute2, traffic shaping, and can retrieve ip's for all its nic's with dhcp. It's held on a 1.44 MB floppy, so yes, I think I can fit everything I need for a linux bootup in 8MB flash. I might not be able to store *all* the modules I need, but I can certainly store enough to start the machine with.
with memory being DIRT FSCKING CHEAP... half gig isn't that out-of-this-world anymore, eh?? =)
Umm, yes, a totally stripped down and trimmed version of linux could run in 16MB, but a fully fledged and usable version? I doubt if it could fit in 16MB. Do a memory dump sometime to see how much memory your system is using right after bootup, I'd be interested to see actually.
You can't just do that load-a-memory-image trick because all of the devices in the system need to be in the exact same state that the drivers think that they are in. Thus if you were to just load a memory image, all of the drivers in the system must support hot-reset, including kernel drivers. Windows 2000 finally supports that (hibernate mode), so you could hypothetically boot up, immediately hibernate, and then just always use that hibernate restore. that would speed things up considerably. My system uses about 70MB total on boot (but I'm sure that if they were smart and didn't load stuff that "might be used soon" it could be 40MB. Compressed that's easily 30MB which is just a second or 2 to load off the disk. That's gotta be faster than doing a full boot all the time.
Anyways, it's not just as easy as it sounds. I don't think linux has it yet, does it? Is it in the works? Do linux users even want it?
I don't know why they don't implement that as a standard feature, but I'm sure they have their reasons.
If God gave us curiosity
However, from hitting power until the time I have complete control on my win98 box is ~22 seconds. I relish those seconds as my personal warmup time. Booting in 5 seconds would be kind of... jarring.
so did the HPUX reboot ?
OK, I stand corrected!! =)
But seriously then, what's the speed difference between that and just loading the image off the disk?
If God gave us curiosity
This society is fucking amazing sometimes. :-)
:-)
One half of this discussion concerns how reliable mainframes are. The other half concerns how quick reliable systems boot, must boot, or should boot. People seem to universally agree that the two are holistically connected.
Well, guess what: a mainframe takes HOURS to boot. It runs forever, but it also takes forever to start. I used to run a military-grade telco switch that took about three hours from powerup to in-service. How is that for a boot time?
Sigh, I miss my Commodore 64. Flick the switch and you were set to go.
So when will this BIOS be available to consumers?
What?!
8 entire tenths of a second?
But I want it now!
I read something about the Linux kernel summit a while back, saying that hibernation support was on the plate for v2.5.
...and I thought my 15 second BeOS boot was impressive....
Jaysyn
There is a war going on for your mind.
Seven 9's would be 99.9999999
you don't count the first two. M$ lies. They call 99.999 five 9's, that is not true and I doubt they can ever get that on an actice system
> you think that you can fit everything that you need for a linux or windows bootup in 8MB of flash?
Yes. Stripped down kernel + a couple of modules. Compressed. Waaay below 8Mb. Waay below 4 Mb. Way below 2Mb. I can fit that in a 1.44 floppy.
Of course, it buys absolutely nothing, as, to get a usable system you need daemons that are on disk, so you'll have to wait until the drive starts spinning. You also have to scan for hardware, but there have been a project to get this down (ie: don't scan for hardware, remember previous hardware found and just probe it).
Sure, it is possible to put userland tools in those 8Mb flash too (people tend to forget that 8Mb is a lot of space), but as a MP3 player is not usable before it can access the MP3 files, so it doesn't buy much. In general, most interesting applications are not usable until the disk spins.
Having all the userland stuff stored continuously on disk on a proper location (as every area of the disks don't have the same transfer time) could certainly be a plus (to avoid needless seeks at boot time, you can 'preheat' that disk content by reading it in a single pass: it will end in the memory cache and you'll get zero ms seek time). Of course, this root device should have no space left, and only contains things that have 100% probability of beeing accessed at boot)
* Spin disk at power on
* High perf BIOS
* Kernel compressed in flash, copied and decompressed in memory
* Booting kernel only probing expected devices (everytime the devices changes, you have to re-flash the bios). This may buy you nothing, as you'll have to wait for the disk at the next step.
* Wait for disk to be ready
* Pre-heat the root device (At 20Mb/s)
* Start userland boot
Cheers,
--fred
Ah... those were the days. I remember my (second :-) ) C=64. I tried using Geos. 2 5.25" floppys only to gain not much when I could go across the street to a friend's house who had one of the first Macs... :-)
I'm not a prophet or a stone-age man,
I'm just a mortal with potential of a super man.
Am I the only one here who remembers DOS3.3 machines that had DOS in ROM? By the time you took your finger off the power button, you were at the prompt, or your autoexec had run.
-fb Everything not expressly forbidden is now mandatory.
yeah, Windows XP monitors file access on bootup and rearranges files loaded on bootup in the same order that they're loaded on the hard drive, so after a few boots your system actually boots quite a bit faster, it's impressive. One of those "Duh, why didn't we think of that before??" =)
Compared to your boot process there, what's the difference between that and just a
* Spin disk at power on
* load simple BIOS that loads and uncompresses first xMB off the HD into ram
* execute from extracted.
I don't think that'd be much slower (if any slower at all, since you have to do the disk read anyways), but this way you don't have to worry about the whole BIOS thing.
Here's another silly question. Can't you postpone most of the BIOS checks to happen after the kernel has started loading? I.e. once you've decompressed the root kernel image from the HD into memory and the base kernel is loaded, do some of the less-important BIOS checks concurrently then (i.e. upper range memory check, floppy seek, etc, etc).
If God gave us curiosity
> with memory being DIRT FSCKING CHEAP... half
>gig isn't that out-of-this-world anymore, eh??
NVRam is not "dirt fscking" or any other kind of cheap. Also, RAM for embedded devices is not always cheap like it is for consumer devices.
Since we're talking about embedded devices, I think it's fair to point this out.
>Umm, yes, a totally stripped down and trimmed
>version of linux could run in 16MB, but a fully
>fledged and usable version?
It depends on what you mean by "usable"
I have a notebook I use all the time with only 16MB. It's nothing like "totally" stripped down.
Trimmed, as you'd do for any notebook install, but not as much as you seem to think. The same notebook runs windows95 just fine too.
-fb Everything not expressly forbidden is now mandatory.
There's a guy here at work (unnamed) that has successfully embedded a kernel in the bios of a Tyan 2390 motherboard. He says that he can type 'init 6' and have the login prompt back up in less than 2 seconds. We build cluster systems, and the reason for the project is so that with Linux controlling everything, it can report exactly why a node failed during boot up...even if it never POSTs!
I'm no techie...I just build the things, so I don't know much about all the technical stuff...but it's pretty amazing!
The major problem is the chipsets and the 20-year-old designs they're based around. Drop in full 32-or-more-bit DMA controllers or require all peripherals be bus-master capable, segregate the ISA bus to its own out-of-the-way 16MB window somewhere (see: Apollo DNx000 family), hardwire a handful of interrupts and a hardcoded address range to each slot (see: EISA), drop the legacy keyboard/mouse interface, and redo IDE entirely (see: SCSI). While we're at it, let's scrap BIOS and replace it with OpenBoot. Now there's a machine free of legacy crap that might be worth writing home about.
Geewiz, that sounds like my Mac (G3).
But you're right, there is a need for a chipset redesign, not a processor redesign (at least for now). Thankfully, Intel has the Itanium. It's a start, at the least.
My question is, what do IBM's Power-based systems use to boot?
Here's a real world example for some work we are doing on the new F/18 Super Hornets. The Navy came to us with the desire to add an extra redudancy to the system that controls the HUD. Currently it is a single redudant system, and if both systems go offline it takes aproximately 10-12 seconds for a full cycle and the system to come online again. Naturally, in combat 10 seconds is an eternity to be flying around with no HUD, so we were recently given the task of adding the ability for our fuel control box to also drive the HUD until the other systems come on line. So, quick boots are extremely important.
NVRam is not "dirt fscking" or any other kind of cheap. Also, RAM for embedded devices is not always cheap like it is for consumer devices.
The comment I was replying to was that the person had a half gig in their home machine, and since 128MB PC133 is $18.95 at the corner store now, fully populating your motherboard isn't expensive AT ALL. I can't believe how fast and quickly memory prices have fallen!! Can anyone else remember when it was like $30/MB back with SIMMs? Then with the DIMM price hike? Damn... So yes, SDRAM is dirt cheap right now =) Kinda pisses me off. About a year ago I paid $400 for 256MB RDRAM off ebay for my P4. Now it's like $81 for the same amount.
I have a notebook I use all the time with only 16MB. It's nothing like "totally" stripped down.
Trimmed, as you'd do for any notebook install, but not as much as you seem to think. The same notebook runs windows95 just fine too.
And what do you run on it? No, seriously. I want to know what you can run on a 16MB laptop, deemed "usable". If you're referring to maybe wordpad or 1 small old application, ok sure. But I remember with 32MB on a laptop trying to run Word with Win95 and it choked bigtime. Took forever to load, was ok to use provided that I didn't try to use any other application at the same time.
I think the point of this entire thread was that they were talking about doing this to your normal home machine to speed up booting time. I'm just not certain that it wouldn't be a lot easier, and no slower, to just put that block at the beginning of the hard drive and load it from a very simple bios. This way you're unlimited as to what you can do, you don't have to flash to test anything, and since you have to read stuff off disk anyways sooner-or-later during the bootprocess, do it all at once at the beginning and grab your bootstrap/ramimage at the same time.
If God gave us curiosity
4 year uptimes for NetWare are not that uncommon, especially in a controlled environment where they are assured of consistant power.
load "linux",8,1
liar! How could you have seen a 700 day uptime? Windows 2000 hasn't been out for that long yet!
Since my linux system only is switched
/var directory and until they
on when I read mail I'd rather have a more
robust handling of unexpected shutdowns.
(e.g me pushing the powerbutton)
Whenever I do this all kinds of apps leaves
.pid files i my
are deleted the apps refuses to start (e.g vnc)
Computers without a shutdown-menu rules!
All Hail ext3-fs which won't stall for 15 minutes
at startup.
Umm, yes, a totally stripped down and trimmed version of linux could run in 16MB, but a fully fledged and usable version? I doubt if it could fit in 16MB.
The idea is to put a minimal kernel (no apps) in the 16MB, and then DLKM the rest. Actually, my idea was to put a minimal linux with just enough support to run freemware or some other vmware-like product, directly in the kernel. I have no idea how much space that would take, though. It's basically a microkernel architecture, the meat of the OS (filesystems, networking support, etc) would go on top of it. Besides booting quickly, you'd hardly ever need to reboot in the first place, because the majority of the code will be dynamically loadable.
You can't just do that load-a-memory-image trick because all of the devices in the system need to be in the exact same state that the drivers think that they are in.
I did this all the time with vmware. I suspend the linux to disk, reboot windows, then resume. The TCP gets a little messed up, but it's quite simple to just bring the interface down and then up again. Pending disk I/O is presumably flushed before halting the OS execution, I'm not sure exactly how they do it but they do, and I'd imagine most of their work is spent making it compatible with guest operating systems, if you had the actual support of the guest operating system it'd be a lot easier.
The only potential problem I see for this approach is with gaming. Perhaps it could be worked around with raw I/O access and direct screen writes, or maybe you'd have to modify the intel architecture itself, I'm not sure. But other than gaming, introducing a small amount of latency into system calls is worth it IMHO for the gain in reliability. Again, I'm running windows on vmware on linux and I am noticing zero problems. This on a 500Mhz celeron with half a gig of memory (256 megs dedicated to windows). An earlier article mentioned about how people buy machines which are way too powerful to be used, I think we've reached the point where we can start trading processing speed for features.
ok then your [sic] infringing on my copyright! Could you as [sic] me next time before STEALING my comments for your own?
You are indeed correct, you probaly read about it in The Hacker Crack Down.
--
WHO ATE MY BREAKFAST PANTS?
Would you really want a SOYO board for a mission critical operation?
- what is the definition of simultanagnosia?! I've been meaning to look it up!
WTF? Last year the Linux advocates would have us believe that ext2fs was comparable to NTFS. Now it's a piece of shit? What changed? [Other than the release of ReiserFS]
Bah! My microwave is 26 years old!
Google search to find the home page.
Acting stupid isn't much fun when there's someone around who knows better
A few years ago (can't remember the exact year, but I could look up the receipt for the motherboard) I decided to jump into the car MP3 player craze... Since I frequently made round-the-corner trips, I didn't want something that would take forever to boot. I did a lot of talking with friends about custom-designing something, but ended up using off-the-shelf (actually, out-of-the-discount-pile) PC parts. Basically, I settled on an old Intel-made FX chipset socket 7 board with intergrated Vibra 16 sound, 16MB of RAM and a Pentium 90MHz downclocked to 75MHz to reduce heat.
:)
For storage, since I had just gotten one of those cheapie $199 2x CD-RW drives, I decided to use cheap, reliable CD-R media and an old 4x CD-ROM drive. I've seen FAR too many hard drives die in much more comfortable enviorments than the trunk of a car, so a hard drive was out of the question. Since this motherboard was old, it didn't have a CD bootable BIOS, so I figured I'd boot from a floppy. After all, it only needed DOS 5.0, the ATAPI CD-ROM driver, MSCDEX and MPXPlay (a very versatile DOS MP3 player) - space wasn't an issue. It worked fine but took forever to boot.
I then remembered that there were flash drives for embedded computers that required no spin-up time and are resistant to heat and vibration. I bought a 8MB M-Systems IDE flash drive for about $90... I look back on that price and cringe. This improved the power-to-music time to about 30 seconds - better, but not perfect.
It then dawned on me that since the motherboard I was using was old, there may be an MR BIOS available for it. Back in the day, I ran a BBS and still had all the files archived... MR BIOS was once distributed as shareware. Sure enough, I had a MR BIOS image for that motherboard. Since the flash drive requires no spin-up time, the system boots INSTANTLY. I'd try and stopwatch it, but I don't think my reaction time is quick enough. The system was now able to go from power on to MP3 playback in under 7 seconds, a process that involves booting DOS, loading CD-ROM drivers, loading MPXplay and scanning the disc for MP3s. I figure if I found a faster loading CD-ROM driver or bought a faster drive, I could get this total start time even lower.
Nowadays this hardware is worthless, but back when I got it, it was just cheap. MPXPlay has been updated since I started using it and now my car MP3 player also supports OGG. It is nice to know that if a new format comes out that requires a LOT more processing power, I can make a PIII boot just as fast as my old underclockded P90.
---
DRM is like antifreeze, to the MPAA/RIAA it's sweet, to the consumers it's poison.
"Insightful" .... sheesh!
You are right. However, while they are run in duplex mode (and simplexed for upgrades), it still involves a reboot of each individual board to do the upgrade. Reducing the amount of time spent in simplex is something that manufacturers spend a _lot_ of time (and money) doing.
Jason Pollock
Perhaps you missed, or chose to ignore, the fact that the links you posted to the CVSweb filter are calling files out of the Attic.
The Attic is for deleted files.
So, bitchslap and modslap aren't being used anymore. Yeah, the spirit of consorship probably lives on in other pieces of /. but you do your cause a disservice by pulling up deleted code and treating it like it's live.
You cannot apply a technological solution to a sociological problem. (Edwards' Law)
Who needs LILO?
Check out the linuxbios home page
Cold Boot to single-user in under 3 seconds.
Yeah Baby!
You are in a twisty maze of processor lines, all alike.
There is a lot of hype here.
..is perfect suspend (and resume) to disk with reliable OSes. If I don't need to reboot to keep my system running why "shut it down"? Why not pause it - surely loading back a state will be far faster (if currently less reliable)?
I maintain that OS'es should save as much system state across power-downs as they can, along the lines of APM sleep/wake (or better yet using an OS built out of persistent objects that can boot instantly and page in whatever is needed, on demand). Hell, with that no-POSTing BIOS and APM sleep/wake, you can already do a ten-second power-on without harming any non-volatile memory devices whatsoever. THIS IS NOT ROCKET SURGERY, FFOLKES.
-jhp
/. -- the Free Republic of technology.
PowerPC systems? depends on the system. Your G3 probably uses OpenFirmware.. Macs do POST tests like any other system, and when it all checks out, you get your "Happy Mac" face, OpenFirmware jumps in, and starts your booting.
Zachary Miller "if (1 != 1) printf("Oh crap");"
Now that we've got a PIII booting in 0.8 seconds, to achieve "seven nines", we have 2.2 seconds spare. What can we do with this time? I'm sure we can do a lot of valuable system maintenanace in this time that we would not have otherwise been able to do.
We could:
Of course, you might have to work fast....
The only thing necessary for the triumph of evil is for good men to do nothing. - Edmund Burke
I have been shutting down more lately due to power costs and wanting to do my part to conserve energy. In any case, I am more interested in the laptop end of things. Virtually no one leaves a laptop up and running all the time.
It is a pain-in-the-ass chore to bootup my laptop every day. Wait and wait for the whole bootup process to finish so I can do something with it. I'd say laptops/mobiles would benefit more from an instant-on kind of setup rather than desktop systems. Also, I'd like to dedicate all the battery power to productive work on the laptop, not wasting any juice on bootup and shutdown.
In Bushworld, they struggle to keep church and state separate in Iraq as they increasingly merge the two in America.
A standard C64 takes nearly two seconds to boot up; I think it does a non-destructive memory test (SYS 64738). Unless you've got a cartridge plugged in of course.
dont work with Opera either...
are you sure your in the right place dude, doesnt work with mozilla or opera...
this is slashdot.org, not msdn.com!!
get a job...
wish I had that much free time.
.kb
Two Wrongs Don't Make A Right-- But They Make Me Feel A Whole Lot Better
> One of those "Duh, why didn't we think of that before??" =)
:-)
Mind you, I thought of that before
> * load simple BIOS that loads and uncompresses first xMB off the HD into ram
In my experience, reading disk with the BIOS is slower than reading with the kernel (most the goodies are not enabled when the BIOS starts).
Anyway, what I described was an implementation of your general idea. You have to take into account that the kernel would be much faster to load the disk data (do the experience with, for instance, GRUB. You'll see that it does not come anywhere near performance of UDMA). What I described was, IMHO, not difficult to implement on current hardware with the current linux boot model (looks like everything but the pre-heat stuff is already done in some patch/embedded distribution)
Note that, in your idea, the 'extracted' thing will probably have to sit in RAM forever. In mine, it'll be dealt with by the disk cache, so the RAM will be avalaible as usual for applications. It will just boot fatser, but otherwise will work as usual. Note that, even if you don't have enough ram for this root device, the system will still boot (slowly).
> Can't you postpone most of the BIOS checks to happen after the kernel has started loading?
If I am not mistaken, some BIOS test will disable interrupts, reset things, and muck with the hardware in general. Furthermore, those tests have to be done while in 16 bits mode.
Cheers,
--fred
I have been shutting down more lately due to power costs and wanting to do my part to conserve energy. In any case, I am more interested in the laptop end of things. Virtually no one leaves a laptop up and running all the time.
:)
Did you actually stop to figure out the costs of running your computer 24/7? My friend gave me the same argument, and I calculated that the computer itself, to run 24/7, amounted to about $3USD/mo.
As for the laptop, no, but you have 2 easy options : suspend and hibernate. Almost all laptops support both, and have for many years now, and I always just put my laptop on suspend mode, and in the unlikely event that it will be off for more than a day, or away from a power outlet for more than a day, I'll just hibernate it.
If God gave us curiosity
last time I checked (yesterday actually) IE had a 86% market share. I'm running a Windows 2000 server. If your browsers don't implement the div tag with css style codes properly, ain't my fault =).
But in any case, I will attempt to correct the problem. Since it's just cosmetic, it's not very high on my priority list =(.
Thanks for the heads-up.
If God gave us curiosity
I built a linux system from scratch using LFS (www.linuxfromscratch.org) a few months ago, and was quite intrigued with the boot scripts. After playing around, making custom boot scripts in perl, etc, I got a brilliant idea:
/etc/inittab and disable anything from using tty2. X uses it, and when getty tries to use it, getty gets the input while X keeps the display. Yuck.
Why not run X immediately after mounting the filesystem? Thus, as soon as the kernel hands control to init, the filesystem is mounted and X is started. Then, all the daemons, network support, and big hoggy slow things start in the background (niced to 20) while I get on with my work.
Notes for those who want to do this;
Edit
Use setuidgid to start X in a user other than root.
The only real problem I've found is that I don't see errors that might occur in the boot process. (especially filesystem errors) However, once I notice something isn't right, I can Ctrl-Alt-F1 back to tty1 and see what's going on.
And, one person asked why a fast boot matters. The reason is this; most of us absolutely *hate* to wait, especially for a computer. All those little 2-, 5-, 10-second delays while the computer gets a web page, runs Netscape, whatever... they're very irritating. Like salt in a sore. Therefore, the more the waits can be reduced, the happier I am!
Yeehaw!
-lf11
This is a violation of my privacy!
yessir it did. We pulled it down, and it rebooted back up just fine. The dept wouldnt fork out cash for a new product (To track a car fleet, of all things) so they just "turned the date back ten years". Yeah. That wont hurt, right?
morons.
Video meliora proboque deteriora sequor - Ovidius
Why not go the whole hog and have the Kernel in microcode on the processor? Worked well enough for the Transputer. Even modern processors have a hard time competing with the context switch time of a 30MHz T800.
Take care,
Mark..........
--
If the world were an oyster, it would be mine.......
In order to accommodate the numerous requests for more information about the General Software Quick Boot Soyo Experiment, we've set-up a web page and an email address for more details and additional direct queries. The web page contains more details, and a FAQ which the company would like to update based on inquiries to the email address. We would have liked to provide information in real time using Slashdot's software yesterday, but there were so many threads started at once, it was obvious we were going to be unable to answer every query. I would like to thank the Slashdot writers for an ongoing discussion that continues to be read by the company's employees with interest. -- Steve Jones, General Software, Inc.
It took us a while to figure out how to post to Slashdot, but in the mean time set up a web page with more details. Click here to see more information about the project and what we did. Oh, we did clear up that 400Mhz thing here as well, it was indeed my fault, but what I should have said was we clocked a 600Mhz PIII at 400Mhz in safe mode. Basically, we were trying to get across a rough idea of the speed at which instructions were being retired to tie-into that 0.8 seconds. Many thanks for your post. Steve Jones, General Software, Inc.
Nice to hark back to the past once in a while.
:)
FastBoot gave you a method to snapshot the entire RAM to a file then restore back from this file at boot.
(Same way that some laptops implement suspend mode I think).
From power on to full working gui around 6 seconds using an old IDE HD.
No shutdown time required as no virtual memory - just pull the plug
I just use 2 pcs now - one to use while the other one is rebooting.
a Mac is not the answer. i agree that Macs have gone a long way in the "getting hardware reasonably up to date" department but, it seems to also take the platform longer to adopt new technologies. also, the Mac does not need a BIOS BECAUSE Macs are build identical in batches of 100's of boxes, they dont need to detect hardware in the system on each boot, its done once at the plant and burned into firmware for the next 100 boxes. you could do this on a PC but youd have to burn a new firmware for every motherboard, with everyCPU, for every type of RAM, for SCSI or IDE, etc.
Since getting my laptop I have done less than 10 reboots, and those 10 were for installation, updates and when I forget to shut it's lid(put it to sleep) and it runs out of battery...uptimes of 40days+ so far(osx)
(Yes that is my email)
The Java API for java.rmi.server.UID specifies that this "UID is unique under the following conditions: a) the machine takes more than one second to reboot [...]".
Now what?
-- H. Wilker