Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
News

Faster Boot Times By Reducing 'Suspend' Latency? 11

Miles asks: "I'm planning to building a car MP3/DVD/Navigation/RealTimeAutomobileDiagnostic System. I've decided to use Windows95/98/ME as the OS, for the software I want to run. I've seen similar car computers that take 30 seconds or more to boot, however I want to get the boot time down to 10 seconds. I plan to use "suspend to disk" instead of just powering off the computer to achieve this and it'll just reload memory from the hard drive. I tried to search for HD's that have low spin-up times, but high transfer rates, and have come up empty. IBM's microdrive has a 0.5s spin up time, but only reads at 4MB/s. Another option is flash memory that simulates an IDE drive, but the maximum transfer rate I've seen is 8MB/s. Larger drives can read at 50MB/s, but take 8 seconds to spin up. Does anyone know of a storage medium that can be written to everytime the computer is shut off, and started up and read from in under 10 seconds (the less the better)?"

"Capacity is not an issue (as long as it is 64MB or more), because I'll have a separate conventional drive to store data. If there are better options than using suspend-to-disk, please tell me about them."

This discussion has been archived. No new comments can be posted.

Faster Boot Times By Reducing 'Suspend' Latency?

Comments Filter:
  • by Anonymous Coward
    NT needs to be rebooted every week in several of you installations?? I guess that doesn't say much for you sys admin skills. I have never had to reboot one of my servers to "resolve memory fragmentation." Do you even have any clue as to how memory is allocated/deallocated under NT? I have servers that are frequently up for 120+ days with no problems...only being rebooted to install/patch software (btw, if you're going to bitch about Windows, rebooting after installs is a good topic). Go back to your desktop support job and leave the real stuff to the pros.
  • I'm afraid you might be out of luck on this one.

    The problem is, Win9X simply cannot handle long uptimes, and while sleep mode doesn't render the system any more unstable, all that time you're running the OS will.

    You'll get more mileage (no pun intended) out of NT. It does still have to be rebooted in a regular basis, but because cars don't typically run continuously for weeks as a time, you can go for far longer than the typical NT installation.

    Your best bet would be to find something more stable that supported suspend-to-disk. The only problem is, I don't know of anything that can do that. Linux is more stable by a long shot, but last I checked you couldn't suspend to disk. MacOS can be made to do suspend-to-disk, but is certainly not as stable as NT. People have successfully made car-based MP3 players based on both Linux and MacOS (never heard of a Windows-based one but I don't doubt they exist). But you're really doing something different here with the suspend-to-disk feature; I like the idea (lower audio "warm-up" times are a Very Good Thing) but I'm not sure how it can feasibly be done with any of these three OS'es. You're going to have to look further afield.

    But if you can get something running, be sure to post about it here; I like this idea.
    ----------
  • I have this on my laptop, and I expect a lot of linux laptops have this, works fine. Suspend to disk needs apm compiled into the kernel and a bios that also handles it. When the suspend to disk in invoked, the bios takes over and either writes to a special partition or to a special file in a windows (fat32) partition, reverse is true to power up. All linux needs to do when the signal comes in is to stop various services and let the bios take over
  • Hey, why not have two systems in the car running Win95, then you can reboot one and put it into suspend mode when the boot has finished, so it'll be ready for the next car trip...
    ... while you're using the other to play music, and reboot that one on the next trip :-)

    EJB
  • Mmmm. I saw NT4sp3 loosing a lot of memory.

    Perhaps you should consider that NT4 is now at SP6a. Maybe that's been fixed?

  • What about building linux suspend to disk support?
    I mean if the _only_ reason you are using windows is because linux is missing some wanted feature, then maybe the community could build it?

    What would it take to add it?
    I guess kernel support would be needed to load/save kernel memory to a boot drive, plus a modified boot loader that could init the os that way. I suspose most of the harware would need to be re-initialised as well.

    There are enough linux laptops out there that this feature could be in demand. Furthermore we (the community) could make it more useful than commercial versions...

    i.e. On top of normal suspend/resume the user could:
    Start up their computer and save multiple different states, and allow the boot loader to select one -- i.e. I could have a prepared boot that goes straight to a logged in X, vs. a second one that goes to a terminal w/o X started. All while still benefitting from high-speed booting.

    Disscussion?
  • win2k is well behaved compared to other m$ oses....

    you can run it for a very long time without rebooting.... but some things may magically stop working (i run win2k on my school issued laptop, its not horrible, or i'd have switched to debian, but its not perfect either)

  • by rjamestaylor ( 117847 ) <rjamestaylor@gmail.com> on Friday September 29, 2000 @09:15PM (#743579) Journal
    It takes a brave man to admit to Slashdot users you want to use Windows for your product's OS... ;-)

    How about a CF card that (or EEPROM??) that contains enough to get the session started while the other media spins up? The "state" would be maintained on the instant-on media. There might be a small delay to complete functionality but it will appear to be instant on (which is the real need, I my opinion).

    Now hiring experienced client- & server-side developers

  • I've been wanting to do the same thing with an old P120 around my house and a couple old HD's.
    The only thing that has held me back (well I'm also broke) is the thought that everytime you hit a pot-hole, your going to tear your disk to shreds. I've been thinking of a way around this, such as suspending it by springs from the roof of the trunk, or pacckaging it in bubble wrap, but it still seems like it would get quite a jarring.
    Also what about heat, it doesn't seem like an already old PC would last very long in a hot car and/or trunk, what would be the solution? Just use a lot of fans?
  • I don't mean to bash any operating system, I publicly admit to running Win M.E. at home, but it would seem that for your particular implementation you would be best served by a smaller real-time OS that could fit on a CompactFlash drive. QNX quickly jumps into most minds. The problem of course is finding software for the OS. We all know the problem with DVD software only being commercially made for Windows and MacOS (that excludes css-auth).

    Depending on the kind of CPU you're going to use, wouldn't a small cheap low-power CPU suit better than a hungry Wintel chip ? You could then offload the MP3 decoding to a dedicated processor like the MAS3507D.

    I could tell you more, but then I'd have to kill you. If you're really designing a car-based PC for audio and video, you should know better than to use desktop hard and software.

    Good luck!
  • I was wondering if anybody had thought of using QNX to do this, and if perhaps QNX might have some sort of feature built in to do this seeing as it is a realtime OS designed for use in embedded devices. I dont know much about it but I thought I would throw the idea out for discussionwww.qnx.com [qnx.com]

In any formula, constants (especially those obtained from handbooks) are to be treated as variables.

Working...