OSDev.org

The Place to Start for Operating System Developers
It is currently Fri Apr 19, 2024 9:53 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 24 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Comparison between Windows NT and Linux kernels
PostPosted: Sat Mar 30, 2013 6:09 am 
Offline
Member
Member
User avatar

Joined: Wed Dec 26, 2007 3:37 am
Posts: 117
Location: France
No troll intended.

Comparison between Windows NT and Linux kernels by Russinovich and Solomon (2006)

https://docs.google.com/viewer?a=v&q=cache:krYcJtWLDQIJ:lyle.smu.edu/~mhd/7343f06/casecomp.ppt+linux+2.6+vs+windows+nt&hl=en-419&pid=bl&srcid=ADGEESjTjem2t2zqGnXKG3eBRvogXc6WVW8o_RqImcHOyCSKzZpYEPrRtluOxJLb0Ml4SgroxVCFn-oJXhXQ3u_5MT9TIclETOe6K82Q6d4cAwIkEwWDoSsmC50EXx_y166mx7YNJ8GG&sig=AHIEtbRHkMrx6DAtxUu74GQUVyecbYdTQw&pli=1

_________________
OS for PowerPC Macs: https://github.com/narke/Einherjar
Operating system: colorForth computing environment for x86.: https://github.com/narke/Roentgenium


Top
 Profile  
 
 Post subject: Re: Comparison between Windows NT and Linux kernels
PostPosted: Sat Mar 30, 2013 10:34 am 
Offline
Member
Member

Joined: Mon Jul 05, 2010 4:15 pm
Posts: 595
Yes, so what are we supposed to discuss?


Top
 Profile  
 
 Post subject: Re: Comparison between Windows NT and Linux kernels
PostPosted: Sat Mar 30, 2013 12:17 pm 
Offline
Member
Member
User avatar

Joined: Thu Jul 12, 2012 7:29 am
Posts: 723
Location: Tallinn, Estonia
It's probably a bit outdated by now.

_________________
Learn to read.


Top
 Profile  
 
 Post subject: Re: Comparison between Windows NT and Linux kernels
PostPosted: Mon Apr 01, 2013 1:47 pm 
Offline
Member
Member

Joined: Sat Oct 22, 2011 12:27 pm
Posts: 409
?
Why do I care?

_________________
Programming is 80% Math, 20% Grammar, and 10% Creativity <--- Do not make fun of my joke!
If you're new, check this out.


Top
 Profile  
 
 Post subject: Re: Comparison between Windows NT and Linux kernels
PostPosted: Mon Apr 01, 2013 2:20 pm 
Offline
Member
Member
User avatar

Joined: Wed Jul 13, 2011 7:38 pm
Posts: 558
Interesting look at some of the things about requirements, seeing as Windows' memory requirements are eight times what they used to be, and the Linux kernel still only needs a handful of megabytes...


Top
 Profile  
 
 Post subject: Re: Comparison between Windows NT and Linux kernels
PostPosted: Mon Apr 01, 2013 5:17 pm 
Offline
Member
Member
User avatar

Joined: Tue Jun 02, 2009 4:35 pm
Posts: 737
Location: Supporting the cause: Use \tabs to indent code. NOT \x20 spaces.
Yo,

@OP: Thanks, that was a very interesting set of comparison slides. I enjoyed reading it.

--Peace out,
gravaera

_________________
17:56 < sortie> Paging is called paging because you need to draw it on pages in your notebook to succeed at it.


Top
 Profile  
 
 Post subject: Re: Comparison between Windows NT and Linux kernels
PostPosted: Tue Apr 02, 2013 12:10 am 
Offline
Member
Member

Joined: Wed Mar 09, 2011 3:55 am
Posts: 509
Blacklight wrote:
Interesting look at some of the things about requirements, seeing as Windows' memory requirements are eight times what they used to be, and the Linux kernel still only needs a handful of megabytes...


As much as I like to brag on Linux, I'll note that the requirements listed for Windows there are for a whole XP install, whereas for Linux it's just the kernel.

For an example of a 2006-era distribution, Ubuntu Edgy needed 32 megs of RAM for a minimal install or 128 for a full install.

Ubuntu Quantal wants 768 megs. (A debootstrapped Precise install with MATE for a DE will fit in around 256 though).


Top
 Profile  
 
 Post subject: Re: Comparison between Windows NT and Linux kernels
PostPosted: Tue Apr 16, 2013 2:45 pm 
Offline

Joined: Tue Dec 27, 2011 4:41 pm
Posts: 11
Nice presentation, thanks.
But is windows's kernel really monolithic? Sometime I read that kernel is "micro kernel". What is true definition of windows's kernel?


Top
 Profile  
 
 Post subject: Re: Comparison between Windows NT and Linux kernels
PostPosted: Tue Apr 16, 2013 3:02 pm 
Offline
Member
Member
User avatar

Joined: Sat Jan 15, 2005 12:00 am
Posts: 8561
Location: At his keyboard!
Hi,

cybek wrote:
Nice presentation, thanks.
But is windows's kernel really monolithic? Sometime I read that kernel is "micro kernel". What is true definition of windows's kernel?


It's monolithic. The NT kernel consists of a HAL, kernel mode drivers, and a "kernel core". Marketing fools try to pretend that the "kernel core" is a micro-kernel, but it's just part of the monolithic kernel. ;)


Cheers,

Brendan

_________________
For all things; perfection is, and will always remain, impossible to achieve in practice. However; by striving for perfection we create things that are as perfect as practically possible. Let the pursuit of perfection be our guide.


Top
 Profile  
 
 Post subject: Re: Comparison between Windows NT and Linux kernels
PostPosted: Thu Apr 18, 2013 3:52 am 
Offline
Member
Member

Joined: Thu Aug 09, 2012 5:10 am
Posts: 41
Brendan wrote:
It's monolithic. The NT kernel consists of a HAL, kernel mode drivers, and a "kernel core". Marketing fools try to pretend that the "kernel core" is a micro-kernel, but it's just part of the monolithic kernel. ;)


I've always read the NT kernel as being a 'hybrid' kernel, whatever that's supposed to mean.

_________________
<PixelToast> but i cant mouse

Porting is good if you want to port, not if you want maximum quality. -- sortie


Top
 Profile  
 
 Post subject: Re: Comparison between Windows NT and Linux kernels
PostPosted: Thu Apr 18, 2013 4:05 am 
Offline
Member
Member

Joined: Sun Jun 20, 2010 1:21 pm
Posts: 127
Chances are, 'hybrid kernel' is supposed to mean, "I don't know what this is, or even if it makes sense, but if I put it on the box, we might get more sales." It's a marketing buzz word, a kernel is either monolithic, or micro. There isn't really any in between.


Top
 Profile  
 
 Post subject: Re: Comparison between Windows NT and Linux kernels
PostPosted: Thu Apr 18, 2013 4:18 am 
Offline
Member
Member
User avatar

Joined: Tue Jun 02, 2009 4:35 pm
Posts: 737
Location: Supporting the cause: Use \tabs to indent code. NOT \x20 spaces.
Yo:

You can define a hybrid kernel as the sensible compromise between microkernel and monolithic kernel design -- essentially a design approach that prefers practicality and functional efficiency wherever possible.

For example, a pure microkernel may offload memory management to a separate address space, and have scheduling in a separate address space, and even process execution in a separate address space. It would naturally also have less critical subsystems such as networking and storage in separate address spaces.

A monolithic kernel would have all of these subsystems in-kernel.

A hybrid kernel would keep whichever subsystems are considered "performance critical" in-kernel, and offload the rest, preferring performance to aesthetics. I would even go so far as to say that the hybrid approach is "correct", in that it refuses to sacrifice the performance of the most performance-critical piece of software on a machine for the satisfaction of a perfectly elaborated design. If I were to define the principle behind hybrid kernels, I would say that they are the natural produce of a microkernel designer who has come to take the real world (and real hardware) into consideration.

--Peace out
gravaera

_________________
17:56 < sortie> Paging is called paging because you need to draw it on pages in your notebook to succeed at it.


Top
 Profile  
 
 Post subject: Re: Comparison between Windows NT and Linux kernels
PostPosted: Thu Apr 18, 2013 4:32 am 
Offline
Member
Member
User avatar

Joined: Wed Oct 18, 2006 3:45 am
Posts: 9301
Location: On the balcony, where I can actually keep 1½m distance
CWood wrote:
a kernel is either monolithic, or micro. There isn't really any in between.
By their simple definitions, Mono means all drivers are run in the kernel, micro means no drivers run in the kernel. Therefore it is suddenly impossible to have some drivers in the kernel?

In practice, running "most" drivers with the privileges of (...) is considered acceptable criterium for both a monolithic or microkernel. As far as where the grey area actually starts and where "hybrid kernel" applies, is somewhat up to debate. For instance, can you point out where your "RAM driver" is?.

And yes, gravaera just ninja'd me to the point that insisting on academic purity is more often than not a bad thing. However, an impure microkernel doesn't IMO lose rights to it's title.

_________________
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]


Top
 Profile  
 
 Post subject: Re: Comparison between Windows NT and Linux kernels
PostPosted: Fri Apr 19, 2013 1:50 am 
Offline
Member
Member

Joined: Mon Jul 05, 2010 4:15 pm
Posts: 595
Combuster wrote:
By their simple definitions, Mono means all drivers are run in the kernel, micro means no drivers run in the kernel. Therefore it is suddenly impossible to have some drivers in the kernel?

In practice, running "most" drivers with the privileges of (...) is considered acceptable criterium for both a monolithic or microkernel. As far as where the grey area actually starts and where "hybrid kernel" applies, is somewhat up to debate. For instance, can you point out where your "RAM driver" is?.

And yes, gravaera just ninja'd me to the point that insisting on academic purity is more often than not a bad thing. However, an impure microkernel doesn't IMO lose rights to it's title.


QNX must have interrupt, timer and network driver in kernel, still it is considered a microkernel. If QNX isn't a microkernel, what is?


Top
 Profile  
 
 Post subject: Re: Comparison between Windows NT and Linux kernels
PostPosted: Mon May 13, 2013 4:14 am 
Offline

Joined: Mon May 13, 2013 4:07 am
Posts: 1
The big structural difference is that linux is a monolithic kernel and the NT kernel has a hydrid structure. It separates out a Hardware abraction layer at the base in a seperate memory space. In addition the win32 API is separated out into it's own memory space as well.

Linux runs a lot more hardware tarchitectures than NT. It also manages drivers in-tree so that it is a lot more practical to make changes to fix security flaws or update driver structures. Whereas windows NT does not, so it has to maintain the old ABI's when adding new ones.

As far as just the kernel goes Linux is really better in about every way. However side considerations mean that each has it's place and use.

_________________
iPhone Apps Development
Android Development Company
Hire iPhone Developers
Hire Android Developers


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 24 posts ]  Go to page 1, 2  Next

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 46 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group