News for hackers. Stuff that matters.
Re:Mach's designers simply assumed that systems would be reb... by derleth on Wednesday February 23, 2011 @02:30PM (#2255400)
Mach is a microkernel. That means it's a way to design an OS such that most of the things application programs rely on are outside the kernel, provided by servers that can be restarted and replaced without rebooting the whole system. For example, the majority of the filesystem is provided by a filesystem server, most of the networking code is in a networking server, and so on.

You begin to see why a microkernel that needs to be bounced more often than, say, Linux, which is not a microkernel, begins to lose some of the appeal of having a microkernel in the first place.

(Aside: Mac OS X is based on Mach, but practically all of the stuff applications see is provided by a single server which (to the best of my knowledge) can't be restarted without taking down the whole system. It's a hybrid design.)

Also, just to confirm a stereotype, do you use Windows for your servers?

Re:Mach's designers simply assumed that systems would be reb... by stcredzero on Wednesday February 23, 2011 @02:41PM (#2255457)
Also, just to confirm a stereotype, do you use Windows for your servers?

Related tangent: There was a time when the the US military's COTS (Civilian Off The Shelf) initiative resulted in AEGIS missile cruisers running largely on machines running Windows NT. Yes, the ships responsible for screening carrier task forces against attack -- had to be rebooted on a weekly schedule.

To be fair, the unmolested NT kernel is rock solid. I know people used to run RAID arrays with it, but for the desktop, Microsoft allowed the crossing of certain architectural lines.

Re:Mach's designers simply assumed that systems would be reb... by rst on Wednesday February 23, 2011 @03:05PM (#2255571)
And if the NT machines running your missile cruiser don't come back up, then you have real problems. During trials, the USS Yorktown had to be repeatedly towed into port after systems failures...

http://lists.essential.org/1998/am-info/msg03829.html

Re:Mach's designers simply assumed that systems would be reb... by patrickgzill on Wednesday February 23, 2011 @11:37PM (#2256923)
From what I understand the NT kernel was rock solid, if a little picky about hardware. The problem was that graphics performance suffered due to the strict isolation of the drivers from the kernel. MS relaxed those restrictions in later versions of their OS (either NT4 or Windows 2000), gaining better graphics performance at the cost of kernel stability.
Re:Mach's designers simply assumed that systems would be reb... by VladRussian on Wednesday February 23, 2011 @04:59PM (#2256005)
>the unmolested NT kernel is rock solid.

which, if memory serves me right, directly translates to "OS/2 kernel is rock solid"

Re:Mach's designers simply assumed that systems would be reb... by wmf on Wednesday February 23, 2011 @06:08PM (#2256218)
No, I don't think NT is a derivative of OS/2.

"Given these issues [with OS/2], Microsoft started to work in parallel on a version of Windows which was more future-oriented and more portable. The hiring of Dave Cutler, former VMS architect, in 1988 created an immediate competition with the OS/2 team, as Cutler did not think much of the OS/2 technology and wanted to build on his work at Digital rather than creating a "DOS plus". His "NT OS/2," was a completely new architecture." http://en.wikipedia.org/wiki/OS/2

Re:Mach's designers simply assumed that systems would be reb... by stcredzero on Wednesday February 23, 2011 @05:10PM (#2256044)
Also closely related to "VAX kernel is rock solid"
Re:Mach's designers simply assumed that systems would be reb... by derleth on Thursday February 24, 2011 @04:39AM (#2257431)
Windows NT is more closely related to VMS than OS/2, but most directly related to DEC's unreleased Mica OS for their unreleased PRISM CPU architecture.

This is unsurprising: They're all designed by the same guy, Dave Cutler.

Re:Mach's designers simply assumed that systems would be reb... by rbanffy on Wednesday February 23, 2011 @05:13PM (#2256058)
> the unmolested NT kernel is rock solid

Too bad it resents running programs on it so much...

Re:Mach's designers simply assumed that systems would be reb... by stcredzero on Wednesday February 23, 2011 @05:34PM (#2256114)
It's not that. It's more boneheaded stuff like injecting components supporting the GUI into the kernel.

When that happens, it doesn't resent those programs so much as that it's been violated and turned into a warped version of itself. Sort of like Jeff Goldblum's character in The Fly.

Re:Mach's designers simply assumed that systems would be reb... by reeses on Wednesday February 23, 2011 @03:24PM (#2255641)
Mach isn't a microkernel. For example, NeXTSTEP was based on Mach 2.5, which is a monolithic kernel. Mach 3.0 was the only microkernel version, and to my knowledge, no one has adopted it with any success.
Re:Mach's designers simply assumed that systems would be reb... by msbarnett on Wednesday February 23, 2011 @04:03PM (#2255796)
Mach 3.0 was folded into XNU in roughly the same way that earlier versions of Mach were used, but with more of the BSD functionality ported down into Mach rather than hosted POE-style in kernel space.

So 3.0 was adopted, with success, but not as a microkernal hosting user-space servers.

Re:Mach's designers simply assumed that systems would be reb... by glhaynes on Wednesday February 23, 2011 @05:04PM (#2256020)
Does "POE" stand for something? POSIX Operating Environment, maybe? A quick Googling and a look at the Mach Wikipedia page doesn't reveal the answer.
Re:Mach's designers simply assumed that systems would be reb... by msbarnett on Wednesday February 23, 2011 @09:34PM (#2256715)
I poked around various mailing lists and even an archive of the poe source from a CMU server, but I couldn't find an authoritative expansion.
Re:Mach's designers simply assumed that systems would be reb... by quadhome on Wednesday February 23, 2011 @09:35PM (#2256718)
Proof of example.
Re:Mach's designers simply assumed that systems would be reb... by mobilemonkey on Wednesday February 23, 2011 @04:59PM (#2256003)
Thanks for the great explanation, too, btw.
Re:Mach's designers simply assumed that systems would be reb... by mobilemonkey on Wednesday February 23, 2011 @04:38PM (#2255924)
Hmm, nope. Solaris of some flavor I think.
Re:Mach's designers simply assumed that systems would be reb... by rbanffy on Wednesday February 23, 2011 @05:16PM (#2256068)
Oh boy...

That's what you get when you assign the management of Solaris servers to MCSAs...

Re:Mach's designers simply assumed that systems would be reb... by josephcooney on Thursday February 24, 2011 @02:55AM (#2257299)
So if windows systems are unreliable it's windows fault, and if other OSs are unreliable it's also windows fault?
Re:Mach's designers simply assumed that systems would be reb... by rbanffy on Thursday February 24, 2011 @04:38AM (#2257430)
No. It's just that Solaris (and every other kind of Unix) admins know very well that they don't bounce servers when they don't know what's wrong - they find out what's causing the problem and correct it. There is a very rich set of tools to make that easy.

Bouncing a server may even make the problem go away, but it does little to enlighten you on why it happened in the first place.

And yes, If your MCSAs tend to bounce servers all the time, that's because their experiences have shown this works for Windows.

Re:Mach's designers simply assumed that systems would be reb... by josephcooney on Thursday February 24, 2011 @05:03AM (#2257450)
There are plenty of tools for troubleshooting problems on windows. And your statement that "every kind of unix admin knows not to do that" seems plainly at odds with the reality here.
Re:Mach's designers simply assumed that systems would be reb... by rbanffy on Thursday February 24, 2011 @06:13AM (#2257540)
> seems plainly at odds with the reality here.

You have a human resources problem, not a technical one.