Distributed Operating System

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
Ghazal

Distributed Operating System

Post by Ghazal »

Hi,

I am working on distributed operating system and I have some questions to ask but first i want to know that any one here has done some work on Distributed Operating system or not.

Centralized Operating Systems usually have Monolithic kernel and I am working on Microe kernel and therefore i need help on the microkernel.
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:Distributed Operating System

Post by Pype.Clicker »

well, i still have no networking in my OS, so i can hardly make it distributed so far, but it's more or less microkernel-based ...
suhmaamiar

Re:Distributed Operating System

Post by suhmaamiar »

as far as choosing a micro kernel as a foundation
for DOS is concerned, its a right decision.

i havent worked on micro kernel but i have done
some research work on this issue (ie mono/micro/DOS).

suhmaamiar
Ghazal

Re:Distributed Operating System

Post by Ghazal »

I have a confusion in the kernel design i searched fopr the material every where they explain that there are two types of kernel. and one is this and one is this,

but when it comes to implementation they don't mention the structure os the kernel. i found a sytem for the thread on this forum "read this befre you post" it is quite good.

The main problem i have that i want to use java for the os lang buat i can't use it i sw every example of the os in C/C++. for the distributed system I an using JINI that can be incorporate by the use of Corba.

Do I need to implement each and every thing in C.
any suggestion
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:Distributed Operating System

Post by Pype.Clicker »

well, if you really want to make it in java, you have two options: either you'll have to incorporate a virtual machine into your OS, or you'll need a tool that can produce native code out of java text -- and afaik, i think GCC3 (GCJ) can do this ...

now, even in the case of native code, be prepared to face a huuge runtime support library that you'll have to port ...
Ghazal

Re:Distributed Operating System

Post by Ghazal »

Which option is simple to implement and how will divided it in the phases as first i want to amke a basic small os then want to expand it having Networking support and that can provide the distributed system functionalities.
mystran

Re:Distributed Operating System

Post by mystran »

Maybe build a "virtual"/"secondary" operating system for the JVM running on top of some other "normal" operating system. That way you could just concentrate on how to make it distributed, and you could run it on pretty much any architecture.

Having a virtual machine is great for distributed operating system, since it allows moving code between different architectures, but is it necessary to run that virtual machine on bare metal.
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re:Distributed Operating System

Post by Solar »

Ghazal wrote: Which option is simple to implement...
Neither, which is why the vast majority of OS are written in C/C++. C/C++ can run without any runtime support, or very little thereof.

To run Java bytecode, you need lots of runtime support - in fact, a whole virtual machine.

Even with GCJ, you need exception support, since you cannot (as opposed to C++) just turn exceptions off in Java. As I am finding out the hard way right now, exception handling is a tricky business with far too few docs, tutorials and examples around.
Every good solution is obvious once you've found it.
Post Reply