Show the multithreading performance, Operating System

Q. Provide two programming instances in which multithreading provides better performance than a single-threaded solution.

Answer: (1) A Web server that services every request in a separate thread.

(2) A parallelized application such like matrix multiplication where different parts of the matrix may be worked on in parallel.

(3) An interactive GUI program such like a debugger where a thread is used to monitor user input and another thread represents the running application and a third thread monitors performance.

Posted Date: 7/27/2013 2:35:01 AM | Location : United States







Related Discussions:- Show the multithreading performance, Assignment Help, Ask Question on Show the multithreading performance, Get Answer, Expert's Help, Show the multithreading performance Discussions

Write discussion on Show the multithreading performance
Your posts are moderated
Related Questions
Define FIFO Page Replacement Algorithm This policy simply eliminates pages in the order they arrived in the main memory. By using this policy we simply remove a page based upo

What is an I/O subsystem? The control of devices connected to the computer is a main issue while designing operating systems. Because I/O deices differ widely in their function

Q. Why High level languages need Compiler? High level languages - illustrations are COBOL, FORTRAN, PL/I andALGOL - are processed by interpreters andcompilers. A compilers is a

Device Drivers Communicates straight with peripheral devices (disks, tapes, etc.). Responsible for begin physical I/O operations on the device. Pro

Question: a) Each process is represented in the operating system by a process control block (PCB). The PCB contains many pieces of information associated with a specific proce

The term thread-safe in computer programming describes that routine or portion of the program that may be called from multiple programming threads without uncalled for interactions

Paging full question

Locality of reference entails that the page reference being made by a processĀ  Locality of reference entails that the page reference being made by a process is similarly to be

how to move the system app to usb storage

Explain why SSTF scheduling tends to favor middle cylinders over the innermost and outermost cylinders. The center of the disk is the location having the fewest average distanc