comp.lang.ada
 help / color / mirror / Atom feed
From: "Nick Roberts" <nickroberts@blueyonder.co.uk>
Subject: Re: Ada 0Y plans for garbage collection?
Date: Wed, 24 Sep 2003 02:46:44 +0100
Date: 2003-09-24T02:46:44+01:00	[thread overview]
Message-ID: <bkqt28$3v03r$1@ID-25716.news.uni-berlin.de> (raw)
In-Reply-To: 2q30nv4fain641rin9dia3onjr7ut01our@4ax.com

"Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> wrote in message
news:2q30nv4fain641rin9dia3onjr7ut01our@4ax.com...

[re booting and sleeping]
> Yep. Especially interesting it becomes with plug'n'play devices. You
> have, say a USB or PCMCIA device attached, before your Windoze
> hibernates. While it peacefully sleeps, you archly eject the hardware
> and then wake it up! The effect might be amazing, though predictable
> ...
> Of course in a truly memory-mapped OS, the present concept of
> hardware drives is out of place. One more reason for Ada OS?

I think the broad scheme I would like to adopt for AdaOS would be as
follows.

Each device driver, having at least once gone through a complete hardware
configuration procedure, would record the hardware configuration upon
shutdown. Upon the next reboot, the device driver would reinstate this
configuration, and would perform a quick check that the configuration still
accords with the detectable hardware (if this check failed, the full
configuration procedure would be activated).

With a bit of care, this technique should make it possible to fully shutdown
and then reboot very rapidly, but it would still be safe in the case of
intervening hardware changes (which would automatically cause
reconfiguration).

I intend to design the user application software for AdaOS so that it
(normally) remembers its important state in between the user logging off and
back on again. This is primarily to encourage users to log off whenever they
leave the workstation, but it also means that a user can log off, shutdown,
reboot, and log on, and all (or most) of their work (open windows) will be
reinstated as it was when the user logged off.

I don't know why operating systems (Windows, SunOS, and Linux in my direct
experience) are so slow at booting up, but I suspect it has a lot to do with
device drivers intialising themselves and their hardware. If this
initialisation can be either avoided (by the above tactics) or deferred (to
be done in the background after the boot procedure has got the system to a
usable stage), the user will perceive a fast boot process.

If the user can shutdown and reboot quickly (within a few seconds, I
suppose), and does not have to go through the rigmarole of closing a lot of
programs (windows) and then restarting them, I suspect the demand for a
'sleep mode' would be largely obviated.

If any OS is to be really secure, it must be basically reliable. I think
Dmitry has neatly illustrated the dangers of such fundamental complications
as sleep modes and other forms of partial shutdown. If a machine supports a
sleep mode, I think that's okay (especially as part of an overall power
management regime), but a full shutdown is better.

However, I'm open to debate!

--
Nick Roberts
Jabber: debater@charente.de [ICQ: 159718630]


[CROSS POSTED!  Please ensure replies go only to alt.os.development -
thanks.]





  reply	other threads:[~2003-09-24  1:46 UTC|newest]

Thread overview: 52+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-09 13:35 Ada 0Y plans for garbage collection? Jano
2003-09-09 16:24 ` Martin Krischik
2003-09-09 18:30 ` Jeffrey Carter
2003-09-10  6:55   ` olehjalmar kristensen - Sun Microsystems - Trondheim Norway
2003-09-11 15:09     ` Martin Krischik
2003-09-11 21:21       ` Robert I. Eachus
2003-09-12  8:43         ` Dmitry A. Kazakov
2003-09-12 15:38           ` Martin Krischik
2003-09-15 13:33             ` Dmitry A. Kazakov
2003-09-16 18:04               ` Martin Krischik
2003-09-12 15:49           ` Martin Krischik
2003-09-14 19:26             ` Matthew Heaney
2003-09-14 21:46             ` Berend de Boer
2003-09-14 21:58               ` Ludovic Brenta
2003-09-15  1:43                 ` Robert I. Eachus
2003-09-16 16:48                   ` Jon S. Anthony
2003-09-16 21:45                 ` Berend de Boer
2003-09-17  1:39                   ` Jeffrey Creem
2003-09-17  3:38                     ` Larry Kilgallen
2003-09-17 14:14                     ` Jon S. Anthony
2003-09-17 17:23                     ` Gautier Write-only
2003-09-18  0:39                     ` Berend de Boer
2003-09-18 16:52                     ` chris
2003-09-22 15:51                       ` Robert I. Eachus
2003-09-22 16:29                         ` Warren W. Gay VE3WWG
2003-09-22 16:30                         ` chris
2003-09-23  9:26                         ` Dmitry A. Kazakov
2003-09-24  1:46                           ` Nick Roberts [this message]
2003-09-24 14:28                             ` Maxim S. Shatskih
2003-09-24 16:01                               ` Preben Randhol
2003-09-24 16:52                                 ` Stephane Richard
2003-09-24 17:19                                   ` chris
2003-09-25 17:49                                 ` OT " Pascal Obry
2003-09-25 19:30                                   ` Pascal Obry
2003-09-25 20:32                                   ` tmoran
2003-09-26 18:57                                     ` Pascal Obry
2003-09-27  0:40                                       ` Stephane Richard
2003-09-27  8:05                                         ` Preben Randhol
2003-09-27 10:01                                         ` chris
2003-09-24 16:33                               ` Time Taken to Boot Nick Roberts
2003-09-24 20:11                                 ` Mark A. Biggar
2003-09-25 15:14                                   ` Maxim S. Shatskih
2003-09-25 17:29                                     ` Warren W. Gay VE3WWG
2003-09-25 15:00                             ` Ada 0Y plans for garbage collection? Robert C. Leif
2003-09-12 17:20           ` Robert I. Eachus
2003-09-13  9:54             ` Martin Krischik
2003-09-13 20:37               ` Robert I. Eachus
2003-09-15 13:33             ` Dmitry A. Kazakov
2003-09-15 21:17               ` Alexander Kopilovitch
2003-09-14 19:10     ` Matthew Heaney
2003-09-15  6:48       ` Martin Krischik
2003-09-14 13:19 ` Matthew Heaney
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox