OSDev.org

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

All times are UTC - 6 hours




Post new topic Reply to topic  [ 24 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: Comparison between Windows NT and Linux kernels
PostPosted: Mon May 13, 2013 5:23 am 
Offline
Member
Member

Joined: Wed Oct 01, 2008 1:55 pm
Posts: 3192
CWood wrote:
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.


No? What about an OS that uses a micro-kernel design for 64-bit drivers and a monolitihic design for 32-bit drivers. Is it monolithic or a micro-kernel? As an example, in a mainly 32-bit configuration it could run all drivers in kernel, while for a 64-bit configuration it could run all drivers in user-space. Would you assign different labels to it based on configuration?


Top
 Profile  
 
 Post subject: Re: Comparison between Windows NT and Linux kernels
PostPosted: Thu Jun 20, 2013 10:21 pm 
Offline

Joined: Tue Jan 01, 2013 11:57 am
Posts: 8
a monolithic kernel remains monolithic even if you move drivers out of it and into userspace. the reason is that in microkernels there is an elaborate IPC between the different "user space" services whereas in a monolithic kernel there are just user space programs.

the windowing system is almost irrelevant. the compositor does the real work and the rendering API like opengl and directx renders actually renders the images to be composited.
in windows you can write your drivers to be in userspace. I don't know if there are restriction as to which ones, maybe someone can tell me.
i think in linux the printer drivers are in userspace too (like in windows)


Top
 Profile  
 
 Post subject: Re: Comparison between Windows NT and Linux kernels
PostPosted: Fri Jun 21, 2013 9:13 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
garegin wrote:
a monolithic kernel remains monolithic even if you move drivers out of it and into userspace. the reason is that in microkernels there is an elaborate IPC between the different "user space" services whereas in a monolithic kernel there are just user space programs.
Bogus argument. Linux has a much broader IPC collection than most microkernels, including a read() and write() pair, send() and recv(), shared memory and named pipes, therefore it is a microkernel?

_________________
"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 Jun 21, 2013 1:49 pm 
Offline
Member
Member

Joined: Mon Jul 05, 2010 4:15 pm
Posts: 595
The micro vs monolithic kernels is quite uninteresting because there are so many shades of gray between the two. However, the trend is obvious that both Linux and Windows are migrating more and more drivers to user space because it provides a number of benefits while the performance is still acceptable.

Still I'm intrigued by QNX why they decided to put their network drivers in the kernel. I'm a bit confused by this, can someone who knows more about QNX give more information about this and what part of the network driver is in the kernel.


Top
 Profile  
 
 Post subject: Re: Comparison between Windows NT and Linux kernels
PostPosted: Fri Jun 21, 2013 4:50 pm 
Offline
Member
Member
User avatar

Joined: Sat Nov 15, 2008 2:37 pm
Posts: 815
Location: The Fire Nation
The first bit to me just looks like a chance to bash Windows XP, id like to see how it pairs to 7 or 8 now.



m12 wrote:
?
Why do I care?


Nobody cares if you care. You either do or don't, otherwise don't post here at all.


Top
 Profile  
 
 Post subject: Re: Comparison between Windows NT and Linux kernels
PostPosted: Tue Jul 02, 2013 2:26 am 
Offline
User avatar

Joined: Sat Sep 18, 2010 2:31 am
Posts: 10
Location: Dortmund, Germany
There is also the exokernel design, which provides memory protection and a hardware multiplexer and not much more.


Top
 Profile  
 
 Post subject: Re: Comparison between Windows NT and Linux kernels
PostPosted: Thu Jun 23, 2016 1:19 am 
Offline

Joined: Thu Jun 16, 2016 3:53 am
Posts: 2
I found one more great article about Windows Nt Vs Kernels. Have a look
http://technozed.com/windows-kernel-vs-linux-kernel/


Top
 Profile  
 
 Post subject: Re: Comparison between Windows NT and Linux kernels
PostPosted: Thu Jun 23, 2016 6:03 am 
Offline
Member
Member

Joined: Wed Jun 17, 2015 9:40 am
Posts: 501
Location: Athens, Greece
Hi,


I have read the article and I decided to make numerous remarks about it.

Quote:
The kernel is usually operated by the programmers or by the developers.
"Operated"? Also every piece of software is "maintained" by developers, so this statement is redundant.

Quote:
The Linux Kernel is very similar to Unix operating system kernel.
The Unix kernel didn't include drivers for all of the modern hardware, as they obviously didn't exist back then. Linux instead includes drivers for this hardware. So how can they be similar?

Quote:
The only thing is the interface with is not very stable by design.
The user interface (I presume this is meant, since the article is most likely written by a noob) is not a part of the kernel.

Quote:
At the middle level, the UNIX Kernel is divided into 4 distinct areas.
Again, confusing Unix and Linux.

Quote:
Then starting with Windows 2000, Windows started to use Windows NT kernel architecture which is included in Windows XP, Vista, 7, 8, 8.1 and Windows 10 too.
Facepalm. The NT kernel architecture was present a lot earlier.

Quote:
I can state that we have to look for the similarities first between Windows, Linux, FreeBSD and any other x86 operating system. From this we can conclude that that all of these operating systems are Intel x86 CPU based, the only one that can run on any other hardware is Linux.
This is utterly wrong. FreeBSD can run in many different platforms, and there is a port of Windows 10 to (at least) Raspberry PI.

Quote:
Operating systems use “SYSENTER” and “SYSEXIT” system call to make a transition from ring 3 to ring 0, mostly known as x86 operating system.
SYSENTER and SYSEXIT are processor instructions, and not system calls.

Quote:
System call is almost identical for all x86 operating systems
Not sure what does the author mean here, but I presume he either means they switch to ring 0 in the same way (which is not true), or he means they have the same system calls (which is not true either).

Quote:
Also very CPU have its CR3 registers, and they can have different memory page tablets
"Page tablets" - I don't have to say more.

Quote:
and iti is common to have one page table in memory and share it among the different CPUs.
This is operating system development theory, not applicable to Windows kernel against Linux kernel.

Quote:
The Linux Kernel has all the access to the memory and can do whatever it wants with it. In order to keep himself alive it will start to kill other processes to acquire memory for him, if that will not happen, the system will crash.
Wrong, Linux swaps too. And Windows has access to the memory too.

Quote:
For Windows all graphics operations are don in Kernel windows
I didn't know you could open the kernel executable in a window on the desktop.

Quote:
As we can see, both Linux and Windows operating systems has a sort of Kernel.
I didn't know there are operating systems without a kernel.

Quote:
Between Linux and Windows kernels, the difference is that Linux is more like a king cleaning everything on its way to get more memory when it needs.
Nope. Linux tolerates insufficient memory in a better way. It even lets the user to set the "swappiness" parameter to fine-tune it according to usage cases.

I short, I might have missed something, but the wrongness of that article is much above tolerability level. Most likely it is terminology issues here.


Regards,
glauxosdever


Top
 Profile  
 
 Post subject: Re: Comparison between Windows NT and Linux kernels
PostPosted: Thu Jun 23, 2016 7:39 am 
Offline
Member
Member
User avatar

Joined: Sat Mar 31, 2012 3:07 am
Posts: 4594
Location: Chichester, UK
An appalling article.


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

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 42 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