Linked by Thom Holwerda on Tue 22nd Jul 2008 12:27 UTC, submitted by danmassa7
Microsoft Scott Finley, a researcher at the University of Wisconsin-Madison has ported the Linux files system Ext2 to Microsoft's new research operating system Singularity. One of the most striking observations was the author's comments on Singularity's robustness. "Perhaps the best testament to Singularity's dependability was the extremely good system stability during the development of ext2... If the ext2 process terminated as the result of a failure, it only resulted in open channels closing. Other processes could (and did) recover gracefully." Finley's report details all his findings quite extensively.
Thread beginning with comment 324071
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE: Managed OS (somewhat OT)
by andrewg on Tue 22nd Jul 2008 15:05 UTC in reply to "Managed OS (somewhat OT)"
andrewg
Member since:
2005-07-06

I don't think the fact the Singularity is mostly managed code makes it interesting. The managed code allows the features that seperate it from other OS's and as far as I am aware none of the other managed OS's are as radical as Singularity. Singularity has: -

1. Software isolated processes (SIP)
2. Contract based channels
3. Manifest based programming

SIP allows a single address space so there are no task switching penalties.

See http://research.microsoft.com/os/singularity/publications/osr2007_r...

Reply Parent Bookmark Score: 5

silvergate256 Member since:
2008-07-22

... Singularity has: -

1. Software isolated processes (SIP)
2. Contract based channels
3. Manifest based programming

SIP allows a single address space so there are no task switching penalties.


Are you sure about SharpOS uses CPU-based process/memory isolation? I think that would be stupid since code is verified before/while execution (the same for JNode OS).

Reply Parent Bookmark Score: 1

andrewg Member since:
2005-07-06

I think you are right and I am wrong about SIPs. I have done a little reading and it seems that singularity has inspired a few design decision in other managed OS's. It also seems that manifest based programming is being implemented in differing forms in other managed OS's.

http://lab.obsethryl.eu/content/sharpos-stream-c-sharp-c-kernels was in interesting read for me.

From the interview

Bruce Markham: There has been a bit of debate as to how we should approach this. There is no doubt that we want the performance and security gains of SIPs, (with the exception, from the original Singularity implementation, of still having code sharing.) But we also expressed a desire to be able to virtualize other OS's application binary interfaces (ABIs) down the road, so that basically we will be able to run, say, a Windows program, without recompiling the way WINE and ReactOS already allow. This would require hardware isolation, and reduce performance for any processes involved.

William Lahti: The SIP functionality that Singularity integrates is really one of the exciting parts of a managed operating system. Although we do not have code for processes yet (as we are still flushing out the AOT compiler, runtime, and corlib), we intend to use SIP (software isolated processes) as the first-class citizen process in SharpOS.

With that said, we realize pragmatically that hardware isolation will be required for unsafe/unmanaged code, and we want to account for that. Our SIPs will run in the same address space/ring as the kernel, allowing us to reduce context switching time considerably, as well as the overhead of communication between the kernel core, drivers, and the individual processes. For those who are unfamiliar with SIPs, the idea is that verification of IL code replaces the need for barriers between separate software entities.

Reply Parent Bookmark Score: 2