Multi User Operating Systems Essay
Multi User Operating Systems
An operating system is a set of software programs, which manage computer hardware in a controlled fashion. The operating system controls the file-system, process management, memory management and peripherals.
Multi-user operating systems are used on large mainframe computers. A mainframe computer system has one very powerful processing unit, which may contain many microprocessors. Many users will all share this processing unit. They use terminals (a keyboard and a monitor) to access the mainframe computer.
A multi-user operating system lets more that one user work on a mainframe computer at the same time.
Features of a MUOS
The main features of multi user operating systems are resource sharing, multi tasking and background processing.
· Using resource sharing in a multi-user operating system allocates the CPU time of the mainframe computer between the different users. Each user in turn is given a small time slice of the CPU time. Because these time slices are very small the users believe that they are all using the mainframe at the same time. Resource sharing also lets users share peripherals such as printers or hard drives and also lets users share files on a network.
· Multi-tasking lets the operating system run more than one program at a time. One example of a multi tasking could be editing a word document while browsing the Internet. The way this is done is by the processor using time slicing.
· Background processing is a term which means when commands are not processed straight away but rather executed “in the background”, often while other programs are interfacing with the system in real time.
Types of MUOS
There are three main types of multi user operating system. These are distributed systems, time sliced systems and multi processor systems.
· In a distributed system, to the user it appears to be a single computer system but in fact is made up from a number of different host computers, which are connected together. This is completely hidden from the user. All decisions about what computer each user will connect to would be taken by the distributed system’s operating system. Each individual host within such a distributed could be any type of computer at all.
· Time sliced systems split each users time of use of the system to fairly allocate each user a fair amount of time of use. These time slices are so small that it appears to the user that their programs are running continuously when in fact the CPU is jumping from user to user. Each time slice is milliseconds long so each user is actually given several time slices every second. The more each user tries to do the slower their programs will run as their time slice has to split between their different tasks.
· Multi processor systems use more than one processor in a single computer to make themselves much more powerful and relieve the load of sharing the operating system and CPU. Users will again be distributed time slices but since there will be more than one processor there will be more allocation of time to each user rather than if there were only one processor.
Main Components of a MUOS
There are many components that are needed to run a multi user operating system. These include the processor, memory, data storage devices, terminals and input/output devices.
· The processor, also known as CPU or central processing unit In terms of computing power, the CPU is the most important element of a computer system. The CPU is the brains of the computer. Sometimes referred to simply as the processor or central processor, the CPU is where most calculations take place. On large machines, CPUs require one or more printed circuit boards. On personal computers and small workstations, the CPU is housed in a single chip called a microprocessor.
· Memory refers to the physical memory that is internal to the computer. Sometimes mistaken for mass storage devices such as hard drives the word ‘main’ is used to differentiate it from this. Memory is usual known as RAM or Random Access Memory. The computer can only manipulate data that is in main memory, therefore, every program that you execute and every file that you access must be copied from a storage device such as a hard drive into main memory. The amount of main memory on a computer is crucial because it determines how many programs can be run at one time and how much data can be readily available to a program.
· There is a couple of data storage devices used in multi user operating systems. The term usually refers to mass storage devices such as hard disk drives or tape drives. Large amounts of data such as the operating system itself and any other programs that are installed on the computer are all kept on such devices so that can be accessed by the RAM and then processed to be used by the user. The main types of storage are: –
o Hard disk drives: The most common type of mass data storage used on a computer because of the large amounts of data which can be held and the speed it can be accessed at.
o Floppy disks: Much slower than hard drives and hold very little data but are easy portable and inexpensive.
o Optical disks: This method uses lasers to read and write data. Optical drives hold a large capacity but are not as fast as hard drives but are as portable as floppy disks and with the right equipment (CD Writer) can be used to read and write data.
o Tapes: Not too expensive and hold large amounts of data but do not permit random access of data.
· There are two main types of terminal used to access multi user operating systems. One is a dumb terminal, which just consists of a computer and a keyboard, but practically no processing power. They allow a user to carry out work on the remote server, minicomputer or mainframe. Smart terminals provide additional resources to perform local editing and simple processing. Basically, smart terminals are low cost PC platforms with no external storage like hard drives booting from a network.
· Input/Output devices refers to devices with allow the user to put data and receive data to and from the computer system. For instance an input device may be a keyboard or a mouse and output devices can be things such as monitors and printers.
Software Components of a MUOS
The main software components of a multi user operating system are the kernel, device handlers, spoolers and the user interface.
· The kernel of an operating system is the most protected and privileged layer of the operating system and acts as a timekeeper and regulator for the system, controlling any time slicing for multi user or multi tasking functions. This ensures fairness in the way resources are allocated and used, and dealing with interrupts having different priorities, which arrive to signal internal and external events.
· A device handler is a small program, which controls a particular type of device connected to a computer. There are device drivers for every hardware component on a computer. If a complex device is added to the machine then a device handler must be added to the operating software because this will contain the code needed to communicate with the device.
· A spooler puts jobs on a queue and takes them off one at a time. Most operating systems come with one or more spoolers, such as a print spooler for spooling documents. In addition, some applications include spoolers. Many word processors, for example, include their own print spooler. A good print spooler should allow you to change the order of documents in the queue and to cancel specific print jobs. Acronym for simultaneous peripheral operations on-line, spooling refers to putting jobs in a buffer, a special area in memory or on a disk where a device can access them when it is ready. Spooling is useful because devices access data at different rates. The buffer provides a waiting station where data can rest while the slower device catches up.
· The user interface is the junction between a user and a computer program. An interface is a set of commands or menus through which a user communicates with a program. A command-driven interface is one in which you enter commands. A menu-driven interface is one in which you select command choices from various menus displayed on the screen. The user interface is one of the most important parts of any program because it determines how easily you can make the program do what you want. A powerful program with a poorly designed user interface has little value. Graphical user interfaces (GUIs) that use windows, icons, and pop-up menus have become standard on personal computers.