Wednesday, June 12, 2019

Linux vs HP-UNIX Essay Example | Topics and Well Written Essays - 1000 words

Linux vs HP-UNIX - Essay ExampleA single class of process is a feasible approach in Plan 9 because the kernel has an businesslike system call interface and cheap process creation and scheduling. (Pike et al) Bell LabsThe kernel support for parallel programming in Plan 9 is a few hundred lines of portable code a handful of simple primitives enable the problems to be handled cleanly at user level. Although the primitives work fine from C, they are particularly expressive from within Alef. The creation and management of slave I/O processes can be written in a few lines of Alef, providing the hindquarters for a consistent means of multiplexing data flows between arbitrary processes. (Pike et al) Bell LabsUNIX is a multi-tasking OS, which means that there may be many programs and many programs and race using the same machine at the same time, by using the concept of a virtual machine. (Seth Noble, 2005)Linuxs bottom half handlers were invented so that braid drivers and other parts of the Linux kernel could queue work to be done later on. Figure 11.1 shows the kernel data structures associated with bottom half handling. Bottom half HandlingFigure 11.1 Bottom Half Handling Data Structures in that respect can be up to 32 different bottom half handlers bh_base is a vector of pointers to each of the kernels bottom half handling routines. bh_active and bh_mask have their bits set according to what handlers have been installed and are active. If bit N of bh_mask is set then the nth element of bh_base contains the address of a bottom half routine. If bit N of bh_active is set then the Nth bottom half handler routine should be called as soon as the scheduler deems reasonable. These indices are statically defined the timer bottom half handler is the highest priority (index 0), the console bottom half handler is next in priority (index 1) and so on. Typically the bottom half handling routines have lists of tasks associated with them. For example, the immediate bottom ha lf handler works its way through the immediate tasks queue (tq_immediate) which contains tasks that need to be performed immediately. (Rusling, David 1999)ShellThe shell application inside the UNIX Plan9 system are set up for standard input and output inter-group communication to the editable text of the window with such features as its own private bitmap and multiplexed access to the keyboard, mouse and other graphical resources.The UNIX shell is commonly defined as the command line which provides the user interface for the actual operating system. By executing input commands, the shell will then execute those exact inputs.There are different shells that are available for Linux and is very much the same as UNIX in its description of how the shell application works. The following shells are available for LinuxShell Name Developed by WhereRemark BASH ( Bourne-Again SHell )Brian Fox and Chet RameyFree Software FoundationMost common shell in Linux.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.