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 the DosExit Function used in the OS/2 DosExit(action, resultCode)  DosExit function is to be called when a thread or process is finished executing. If EXIT_THREAD is

Q. Explain the actions taken by a kernel to context switch between kernel level threads. Answer: Context switching among kernel threads classically requires saving the value

IMPLEMENTATION OF SEGMENTATION WITH AN EXAMPLE Segmentation is a memory-management scheme that represents the user view of memory. A logical address space is the collection of

1. Draw a schematic diagram of a CMOS inverter and explain its operation. 2. Draw schematic diagrams of CMOS NAND and NOR gates, and explain their operation. 3. Explain what

Q. Capability lists are typically kept within the address space of the user. How does the system make sure that the user cannot modify the contents of the list? Answer: An ap

What is macro expansion

Q. Describe the purpose of the open() and close() operations. Answer: The open() operation notifies the system that the named file is about to become active. The c

what is the use of valid invalid bits in paging

what are the main advantages of multiprogramming

Define Maintaining Data on a Per Client Basis Perhaps the most dramatic syntactical programming change for the application developer of client – server applications is maintain