Tuesday, April 16, 2019

Mac Os X Essay Example for Free

macintosh Os X stressThe mac OS X Panther operation system has met with both technical and commercial success. Since the introduce of macintosh OS X in 2001, its features have continued to improve. The initial system mack OS X 10. 1 was originally shipped in September 2001 and was referred to as Puma Jaguar, version 10. 2, was shipped in swaggering 2002, and Panther, the current version, was shipped in October 2003. The focus of this paper is on the key technologies that have made mackintosh OS X Panther a technical success such as CPU computer programming, symmetric multi litigateing, storehouse protection, and virtual memory we begin with an overview of the MAC OS X operating system. Overview of Mac OS X Panther Mac OS, from Apple Computer, can be considered two families of operating systems the older and now idle classic Mac OS (the system that shipped with the first Mac in 1984 and its descendants, culminating with Mac OS 9), and the newer Mac OS X. Mac OS X Panthe r is a UNIX-based Operating System with the intuitive user user interface called Aqua. The modern nub UNIX-based Operating System brings benefits such as protected memory and preventative multitasking to Macintosh computing.Mac OS X Panther also has a sparkling user interface capable of visual effects such as translucence and drop shadows. The central characteristic of the Mac OS X architecture is the layering of system softw ar, with one layer having dependencies on, and interfaces with, the layer beneath it (see Figure 1-1). Mac OS X has four distinct layers of system software (in order of dependency) Application Environments consists of the frameworks, libraries, and serve indispensable for the runtime execution of programs developed with those API.Mac OS X currently provides five application (or execution) environments Carbon, Cocoa, Java, Classic, and BSD Commands. Application work incorporates the system operate available to all application environments that have some impact on the vivid user interface. It includes Quartz, QuickDraw, and OpenGL as well as essential system managers. Core Services incorporates those system services that have no effect on the graphical user interface. It includes Core Foundation, Open Transport, and certain core portions of Carbon. Kernel Environment provides the foundation layer of Mac OS X.Its primary components are Mach 3. 0 and FreeBSD, moreover it also includes networking protocol stacks and services, file systems, and device drivers. The eye environment offers facilities for developing device drivers (the I/O Kit) and loadable kernel extensions, including Network Kernel Extensions (NKEs). This integrated kernel environment is called Darwin and it is an Open Source engine room available from www. apple. com/darwin. The following is the components that Mach 3. 0 and FreeBSD provide Mach support for SMP untyped IPC and RPC memory management support for real-time services external pager modular architectu re improved performance BSD file systems networking basic security policies such as user IDs and permissions the system framework a mechanism for exporting APIs to the application layers the BSD process model, including process IDs and signals FreeBSD kernel APIs Pthreads (POSIX threads implementation) pic Figure 1-1 System Layer CPU Scheduling The kernel environment of Mac OS X, specifically Mach, provides the fundamental thread support.Mach maintains the register state of its threads and schedules them preventively in relation to one another. In general, multitasking may be either cooperative or preemptive. Classic Mac OS implements cooperative multitasking which was not very intelligent. In cooperative CPU scheduling the OS requires that severally task voluntarily give up control so that other tasks can execute, so trifling but CPU-intensive background events might take up so much for a processors time that more important activities in the foreground would become slugg ish and unresponsive.On the other hand, preemptive multitasking allows an external authority to delegate execution time to the available tasks. Mac OS Xs Mach supports preemptive multitasking in which it processes several antithetic tasks simultaneously. To affect the structure of the address space, or to reference any resource other than the address space, the thread must execute a special trap charge which causes the kernel to perform operations on behalf of the thread, or to send a message to some federal agent on behalf of the thread.In general, these traps manipulate resources associated with the task containing the thread. Mach provides a flexible framework for thread scheduling policies. Mac OS X supports both the multilevel feedback queue scheduling and round- redbreast (RR) scheduling algorithm. The multilevel feedback queue scheduling algorithm partitions the ready queue into several separate queues and allows a process to move between queues. In the multilevel feedbac k queue scheduling algorithm, each run queue has various priorities that are handled in different ways.A multilevel feedback queue scheduling threads priority is raised and lowered to correspondence its resource consumption against other threads. Round-robin threads execute for a certain time quantum (time slice), and then are put at the end of the queue of threads of equal priority. Setting a round robin threads quantum to infinity effectively makes the thread run-till-block within its priority. Mac OS X internally has 128 priority levels, ranging from 0 (lowest priority) to 127 (highest priority).

No comments:

Post a Comment

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