COSY Operating System to Support Multiple Processors

Words
902 (2 pages)
Downloads
45
Download for Free
Important: This sample is for inspiration and reference only

Table of contents

Introduction

COSY is a microkernel based operating system designed specifically for work on parallel computers with multiple processors (hundreds or thousands of processors). The development of COSY began in 1992. The system is designed to grow with the number of processors without any jobs or tasks becoming delayed or halted. There are two other operating systems, with similar functionality as COSY, Chorus and Mach. Yet, COSY has the advantage in that it was developed to improve on the quantity of processors an operating system could support.

Comparison

While there are not many operating systems designed to work on parallel computers, there are two that are comparable to COSY. These two, Chorus and Mach both use server federation instead of the kernel federation that COSY uses. The server federation is easier to set up. It does not require the modifications of an existing kernel as COSY might. The tradeoff however, is that the overhead is massively larger than COSY as the system will need to make several kernel calls for each communication sent. By running on the kernel federation COSY can reduce communication errors and keep data loss to a minimum. Mach and Chorus were designed to handle a very specific number of processors, 2-64. This limits the applications on which those two operating systems can be used. On the other hand, COSY was built to handle more than a hundred processors, which also limits its use to larger projects.

No time to compare samples?
Hire a Writer

✓Full confidentiality ✓No hidden charges ✓No plagiarism

Overview

Currently COSY is implemented solely on two platforms: the Parsytec-PowerXplorer and the SC and GC families. COSY uses distributed intelligence and autonomous units. It performs its communication using LAN and fieldbus. The interface is X-Windows object based. COSY is preferable for use on parallel computers as it requires low overhead and its scalability is incomparable. With the current scalability COSY is able to support hundreds of processors at a time while providing the automatic scheduling of parallel programs. It also brings dynamic multi-programming, autonomous operation and dedicated communication primitives to the table.

Architecture

When the idea of developing a parallel operating system which could achieve a similar efficiency of a run-time libraries approach system, two different kernel structures were considered for implementation as the backbone of COSY. Kernel is the core of an operating system which controls the mediate access to the CPU, RAM, and I/O devices and manages system resources between application and hardware. Monolithic Kernel in which the user services and kernel services are implemented under the same address space, making the operating system execution faster, but it increases the size of the kernel. Microsoft Window 9x, Linux, and Unix are the most modern operating systems implemented with a Monolithic Kernel architecture.

Similarly, microkernel is another kernel structure that also offers CPU scheduling and memory management along with other operating system functions. However, with microkernel structure, the user services and kernel services are implemented in its own address space which is kernel address space and user address space. Only the essential services such as inter process-communication, memory management, and CPU scheduling are inside the kernel. The remaining OS services are now inside the system application program. The advantages of a microkernel structure is that if anyone service fails it won't lead to the failure of the entire system which is essential for parallel computing. It also offers customizability and modularity to the user as many essential components are not fixed into the kernel, allowing the user to modify, update, replace, and remove module during runtime without interrupting the kernel itself. Security is also another factor that is crucial to many of the users. Microkernel offers a far more secure environment compared to a monolithic kernel with restricted privileges given only to the components that are needed for the job as opposed to services and drivers running without restrictions in kernel mode [2]. For these reasons, microkernel was the architecture of choice for COSY.

Inner Workings

The seven object types that are put into use by COSY. The kernel manages the operating systems resources. As shown in Figure 1 the kernel works with segment and address space as an object container. The segment which is the physical memory adds mappings into the address spaces. This allows the memory to be accessed. The address space could be defined as the memory that the processes sees. An address space can also contain process groups. This allows for several processes to be in the same address space and share the data. The address space also holds the channels and numlocks. Channels are easier to understand. They are the gateways for communication. Messages are sent using the channels. This provides the benefit of creating dynamic servers. Numlocks are also fairly simple concepts. They are general semaphores used for synchronization. Both numlocks and channels are not only accessible through the address space (as they are contained there) but also through node boundaries.

Conclusion

Although, COSY is still an ongoing project and has not been released for commercial use yet, various applications have successfully run on COSY. Examples of applications are: heat flow simulation, molecular dynamics simulation [3], ray tracing over different types of equation solvers, and optimization problems implemented with tree search algorithms. The results from the applications showed COSY is capable of providing the components of a resident operating system which is efficient without compromising on memory or speed for parallel computing. With developers keen on improving the autonomy and programming environment to be more user friendly, COSY could be critical for parallel computing.

You can receive your plagiarism free paper on any topic in 3 hours!

*minimum deadline

Cite this Essay

To export a reference to this article please select a referencing style below

Copy to Clipboard
COSY Operating System to Support Multiple Processors. (2020, October 08). WritingBros. Retrieved April 26, 2024, from https://writingbros.com/essay-examples/cosy-operating-system-to-support-multiple-processors/
“COSY Operating System to Support Multiple Processors.” WritingBros, 08 Oct. 2020, writingbros.com/essay-examples/cosy-operating-system-to-support-multiple-processors/
COSY Operating System to Support Multiple Processors. [online]. Available at: <https://writingbros.com/essay-examples/cosy-operating-system-to-support-multiple-processors/> [Accessed 26 Apr. 2024].
COSY Operating System to Support Multiple Processors [Internet]. WritingBros. 2020 Oct 08 [cited 2024 Apr 26]. Available from: https://writingbros.com/essay-examples/cosy-operating-system-to-support-multiple-processors/
Copy to Clipboard

Need writing help?

You can always rely on us no matter what type of paper you need

Order My Paper

*No hidden charges

/