...1. (2 points) Compare the processors’ access to printers and others I/O devices for the master/slave and the symmetric multiprocessing configurations. Give a real-life example where the master/slave configuration might be preferred. 2. (2 points) Describe the programmer’s role when implementing implicit parallelism. 3. (2 points) Give an example from real life of busy waiting 4. (2 points) Describe the purpose of a buffer and give an example from your own experience where its use clearly benefits system response. 5. (2 points) Compare and contrast the critical region and working set. 1. The master/slave multiprocessing configuration the slave processors access the main memory directly but the master processor speak to the printer and other I/O , whereas the symmetric configuration use homogeneous processors which all communicate with the main memory and the printer and other I/O devices in a synchronized manner 2. Implicit parallelism is the automatic detection by the compiler of instructions that can be performed in parallel is called. Creating knowing when to implement the algorithm for the complier is the role of the programmer 3. Busy waiting: a method by which processes, waiting for an event to occur, continuously test to see if the condition has changed and remain in unproductive, resource consuming wait loops. Real life example would be cars waiting at a stop light waiting for light to turn green...
Words: 330 - Pages: 2
...pare the processors’ access to printers and other I/O devices for the master/slave and the symmetric multiprocessing configurations. Give a real-life example where the master/slave configuration might be preferred. 2. Compare the processors’ access to main memory for the loosely coupled configuration and the symmetric multiprocessing configurations. Give a real-life example where the symmetric configuration might be preferred. 3. Describe the programmer’s role when implementing explicit parallelism. 4. Describe the programmer’s role when implementing implicit parallelism. 5. What steps does a well-designed multiprocessing system follow when it detects that a processor is failing? What is the central goal of most multiprocessing systems? 6. Give an example from real life of busy waiting. 7. In the last chapter, we discussed deadlocks. Describe in your own words why mutual exclusion is necessary for multiprogramming systems. 8. Compare and contrast multiprocessing and concurrent processing. Describe the role of process synchronization for both systems. 9. Describe the purpose of a buffer and give an example from your own experience where its use clearly benefits system response. 10. Consider this formula: G = (A + C2) * (E1)3 / D + B a. Show the order that a processor would follow to calculate G. To do so, break down the equation into the correct order of operations with one calculation per step. Show the formula for each step. b. Find the value of G: if...
Words: 324 - Pages: 2
...Exercises 1. Compare the processors’ access to printers and other I/O devices for the master/slave and the symmetric multiprocessing configurations. Give a real-life example where the master/slave configuration might be preferred. 2. Compare the processors’ access to main memory for the loosely coupled configuration and the symmetric multiprocessing configurations. Give a real-life example where the symmetric configuration might be preferred. 3. Describe the programmer’s role when implementing explicit parallelism. 4. Describe the programmer’s role when implementing implicit parallelism. 5. What steps does a well-designed multiprocessing system follow when it detects that a processor is failing? What is the central goal of most multiprocessing systems? 6. Give an example from real life of busy waiting. 7. In the last chapter, we discussed deadlocks. Describe in your own words why mutual exclusion is necessary for multiprogramming systems. 8. Compare and contrast multiprocessing and concurrent processing. Describe the role of process synchronization for both systems. 9. Describe the purpose of a buffer and give an example from your own experience where its use clearly benefits system response. 10. Consider this formula: G = (A + C2) * (E1)3 / D + B a. Show the order that a processor would follow to calculate G. To do so, break down the equation into the correct order of operations with one calculation per step. Show the formula for each step. b. Find the...
Words: 557 - Pages: 3
...Clustered systems communicate using messages, while processors in a multiprocessor system could communicate using shared memory. Communication happens via LAN networking in Clustered system and in Multiprocessing system LAN etc is not required. The aim is high availability in clustered system whereas in multiprocessing it is time saving. In order for two machines to provide a highly availability service, the state on the two machines should be replicated and should be consistently updated. When one of the machines fails, the other could then takeover the functionality of the failed machine. Answer 1.19: An interrupt is generally initiated by the hardware (devices like the hard disk, graphics card, I/O device, etc). The purpose of interrupts is to causes the CPU to stop what its doing, save its context, jump to the appropriate interrupt service routine, complete it, restore the context, and continue execution. For example, a serial device may assert the interrupt line and then place an interrupt...
Words: 1265 - Pages: 6
...1. What is free software? List three characteristics of free software. 1- Distribution 2- Development 3- Collaboration. 2. Why is Linux popular? Why is it popular in academia? Because of it portability and it is free as Free Expression easy to manipulate and transport. Because of its portability and easy to manipulate. 3. What are multiuser systems? Why are they successful? Multi-user are the several individual user that can access one system that being physical machine or VM. They are popular because it help to centralize resources and energies and minimize security concerns. 4. What is the Free Software Foundation/GNU? What is Linux? Which parts of the Linux operating system did each provide? Who else has helped build and refine this operating system? The Free Software Foundation (www.fsf.org) is the principal organizational sponsor of the GNU Project. GNU developed many of the tools, including the C compiler, that are part of the NU/Linux Operating System. Linux is the name of an operating system kernel developed by Linus Torvalds and expanded and improved by thousands of people on the Internet. Torvalds’s kernel and GNU’s tools work Together as the GNU/Linux Operating System. 5. In which language is Linux written? What does the language have to do with the success of Linux? Linux was written in C language. C can be used to write machine-independent programs. A programmer who designs a program to be portable can easily move...
Words: 699 - Pages: 3
...the internal cache. An ALU is responsible for complex calculations. Communication between the controller and the ALUs uses a 32-bit internal bus. The bus system that supports the communication between the cache and the ALUs controller is the backside bus. The CPU speed is measured in GHz. There are several ways of measuring speed. The speeds differ inside and outside the processor. System bus speed is measure in MHz . The system bus speed is the actual factor that will control the speed of your computer. The ratio between processor and system bus is known as the multiplier. In older setting you may have to configure the multiplier in the CMOS setting. Multiprocessing is the ability to perform multiple functions simultaneously. True Multiprocessing requires multiple processors. Dual Core processors is another way of multiprocessing. Cache uses SRAM while the rest of the system uses DRAM. Three types of cache is L1 cache,L2 cache, and L3 cache. Two most common sockets are LGA 775 (Intel) and Socket 754 (AMD). ZIF (Zero Insertion Force) is a lever used to lock CPU into socket without damaging it. Check system temperature in CMOS setting. Use a thermal compound, a heat sink, or a CPU fan to control...
Words: 317 - Pages: 2
...that is frequently related to the operating system. 7. What is a shell? How does it work with the kernel? With the user? A shell is a type of command prompt, it sends commands from the user to the kernel 8. How can you use utility programs and a shell to create your own applications? You can write a shell script, also called a shell program. Make the file executable and give the name of the file as a command. The shell then executes the commands in the file as though you had typed each command individually. 9. Why is the Linux file system referred to as hierarchical? Because the file system formats files in the shape of trees 10. What is the difference between a multiprocessor and a multiprocessing system? Multiprocessor refers to a system with two or more processors or CPUs. Multiprocessing refers to a system that can process one or more tasks at a time...
Words: 406 - Pages: 2
...communication between user and the system, user gives instruction to operating system or program using a keyboard or mouse and waits for a result. 5) What are multiprocessor systems & give their advantages? Multiprocessor System: Multiprocessor systems are system that have more than one processor in its close communication, sharing the computer bus, the clock and sometime memory and peripheral devices . Multiprocessor systems are also known as parallel systems or tightly coupled systems. Advantages: • Increased throuput • Economy of scale • Increased reliability 6) What are the different types of multiprocessing? There are explained down. SYMMETRIC MULTIPROCESSING (SMP): In SMP each processor runs an identical copy of the OS and these copies communicate with one another as needed. All processors are peers Examples : Windows, NT, SOLARIS, DIGITAL UNIX AND LINUX. ASYMMETRIC MULTIPROCESSING (ASMP): Each processor is assigned a specific task. A master processor controls the system; the other processors look to the master for instructions or predefined tasks. It defines a master slave relationship. Example: Sun Operating System Version 4. ...
Words: 457 - Pages: 2
...data path. In the CPU you have a controller including one or more ALU’s and the internal cache. * ALU – Arithmetic Logic Unit *responsible for performing complex calculations* Having multiple ALUs in a single processor is what gave the earlier Pentiums their processing capabilities. Communication between the ALU and the controller uses a 32bit wide data bus. The Bus connecting the CPUs cache to the ALU & the controller is referred to as the Backside bus. CPU Speed * Processor – Usually measured in GHz. * System Bus – Usually measured in MHz *limiting factor of 800MHz* * Multiplier – Ratio between processor and system bus. *system bus speed x multiplier = processor speed. Multiprocessing – The ability to perform multiple functions simultaneously. *True multiprocessing requires multiple processors.* * SRAM – Static RAM *faster but more expensive, holds memory w/o being “refreshed”.* * DRAM – Dynamic RAM *memory must be “refreshed” Cache * L1 Cache – Located on the CPU chip * L2 Cache – Located inside the processor housing, but not on the chip * L3 Cache – Located inside the processor housing also, but further away from the Processor chip. Sockets * LGA 775 – (Intel) Pentium 4 & Celeron * Socket 754 (AMD) Athlon, Sempron, Opteron Zero Insertion Force ZIF – Term for the placement of the CPU in which the lever seen on a motherboard is used to lock the CPU in place without damaging it, or the pins it connects to. Heat Optimal...
Words: 357 - Pages: 2
...Class Name and Section: ISEM-501-50 Student Name Kushal Kelshikar Date 03-Nov-2015 Assignment Module 1 –Case Study 1 Chapter 3, Case 1: Advance America Implements Grid Computing Critical Thinking Questions 1. Why is the new grid computing system at Advance America much easier to install, manage, and maintain than its old system? In the older system of Advance America each of the centers had their own software and hardware installed in their premises, and every night all the centers around the country you to send their data to the main hub. Because of the growing numbers of the data and the centers around the country there was not enough time for all the data to be transferred to the main system plus the maintenance cost of the older system was much higher. In the new system Advance America switched to grid computing. “Grid computing is the collection of computer resources from multiple locations to reach a common goal.”{1} They installed a Client machine in every center which connects to the Web from a fault-tolerant server running Oracle database software. In this process may computers are working together to reduce the workload over the server which in turn helps in identifying and solving the problems much quicker even in real-time. {1} https://en.wikipedia.org/wiki/Grid_computing 2. How might Advance America...
Words: 961 - Pages: 4
...We will take a brief in depth tour of the CPU, memory, processing, registers, bus and data moving to the bus. I will touch on these concepts and processes throughout the paper in hopes to clearly detail out how each works and their importance. CPU The first thing we will discuss is the function of the CPU (Central Processing Unit) and its components. There are three primary components that make up the CPU, these are the ALU or the arithmetic/logic unit, the control unit (CU) and memory. The two components that collectively make up the CPU are the ALU and CU. Let’s take a look at the diagram above and I will explain what it all means. The logic and arithmetic unit is where all the data is stored and calculations are performed. The control unit basically interprets and controls all executions and processes instructions that it is given by other input types. In a typical CPU there is a I/O (input-output) interface which handles the input and output of data when it passes through the CPU to other devices that handle input/output data. The CPU architecture is defined by the major features it has, this is also known as ISA or instruction set architecture. It is these basics that include the number and types of registers, methods and how it addresses memory and basic design. With the typical technology advances that occur today, there have been several CPU architectures over the last few decades but only a small handful that last a long time. It is the evolution and the way...
Words: 1127 - Pages: 5
...• CPU Organization • Speed • Advances in Processing Speed • Cache • ZIF • Heat • Real Life Problems • A+ Expectations This video clip explains everything you need to know about the CPU and troubleshooting heat problems. Also included is a review of what knowledge is expected to pass the A+ Exam. VIDEO 1.05 TERMS AND DEFINITIONS CPU ORGANIZATION • Two major CPUS 1. Intel 2. AMD • System Bus • Frontside Bus • Controller • ALU • Internal Bus • Cache • Backside Bus SPEED • Processor 1. Usually measured in GHz • System Bus 1. Usually measured in MHz • Multiplier 1. Ratio between processor and system bus 2. System bus speed x multiplier = processor speed Advances in Processing Speed • Multiprocessing 1. The ability to perform multiple functions simultaneously. • Multiple Processors • Dual Core Processors CACHE • SRAM 1. Static RAM 2. Faster, but more expensive 3. Holds memory without being “refreshed” • DRAM 1. Dynamic RAM 2. Memory must be “refreshed” • L1 Cache 1. On the processor chip • L2 Cache 2. Inside the processor housing 3. Not on the processor chip • L3 Cache 1. Inside the processor housing 2. Further away from the processor chip SOCKETS • LGA 775 1. Intel Pentium 4 and Celron • Socket 754 1. AMD- Athlon, Sempron, Opteron ZIF • Zero Insertion Force 1. Lever used to gently lock CPU into socket without damaging it. HEAT • Optimal Temperature 1. 90-110 F 2. 32-43 C • Check system temperature in CMOS • Thermal Compound ...
Words: 398 - Pages: 2
...Chapter 1 Questions What is free software? List three characteristics of free software.Free software is code that is available for free to everyone, but it is also free in the sense that it can be used and altered freely to the user's desires. It is free to be studied, redistributed, and modified. Why is Linux popular? Why is it popular in academia?Due to the operating system's distribution among universities, students were able to become used to it's sophisticated developing environment which helped these graduates succeed in the industry as UNIX was being spread throughout the world. What are multiuser systems? Why are they successful?Multiuser is a term that defines an operating system or application software that allows access by multiple users of a computer. They are so successful because they allow for collaborative projects to be conducted with much more ease and efficiency. What is the Free Software Foundation/GNU? What is Linux? Which parts of the Linux operating system did each provide? Who else has helped build and refine this operating system?The GNU is a completely free (in the freedom sense) operating system built by Richard Stallman and many of its components, except for the kernel, were completed in the early '90s. Linus Torvalds wrote the kernel for Linux, which was also intended to be a free operating system, in the early '90s. The two systems then were combined together to finish Linux, with it's original kernel and added features supplied...
Words: 663 - Pages: 3
...1. What is free software? List three characteristics of free software. -Free software is software that users have the freedom to distribute and change. The three main characteristics of free software are: The source code has to be distributed with the program, you cannot restrict people from redistributing/modifying/using the software, and users must be allowed to redistribute modified versions under the same terms/licensing. 2. Why is Linux popular? Why is it popular in academia? -Linux is popular for a number of different reasons. Its free software that is portable because it’s written in C, has an amazing range of supported "peripherals", has a lot of software available, and has standardization (POSIX). It’s generally popular in academia because it’s a free, open-source, portable, sophisticated programming environment that computer science students could use as a learning platform. 3. What are multiuser systems? Why are they successful? -A multiuser system is an operating system that allows multiple users to access a single computer's resources. It’s successful because it’s hard for a single user to use 100% of a modern computer’s resources, and allows for greater efficiency. 4. What is the Free Software Foundation/GNU? What is Linux? Which parts of the Linux operating system did each provide? Who else has helped build and refine this operating system? -GNU stands for "GNU'S Not Unix", and it was designed to be a UNIX-like operating system developed by...
Words: 750 - Pages: 3
...Multiuser systems allow users to use all of the system at the same time. The cost of resources can be maximized and cost per user can be minimized. What is the Free Software Foundation/GNU? A project which Richard Stallman created a complete Unix-compatible system where everyone can use it. What is Linux? A set of tools that allow users to connect and use these utilities to build systems and applications. What is a shell? How does it work with the kernel? With the user? Shell is a software that provides an interface for users. Shell provides access to the services of a kernal. Shell makes the user's job faster and easier. What is the difference between a multiprocessor and a multiprocessing system? a multiprocessor is a small chip insisde a computer system and a multiprocessing system is a computer that is able to have multiple people running processes on a computer at the same time without affecting other users. What is an installer? A software component used for the installation, maintenance, and removal of software. Would you set up a GUI on a server system? Why or why not? Yes, for easier access to programs What are RAM disks? How are they used during installation? Ram disks allows the installation process to run through the specification and design phases without writing to the hard disk and enables you to opt out of the installation at any point before the last step of installation. The RAM disks also allow a live session to leave the hard disk...
Words: 426 - Pages: 2