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

What is a Relocatable program? The Relocatable programs can be loaded almost anywhere in memory.

Question : (a) The dynamic allocation problem is how to satisfy a request of size n from a list of free holes into memory. The best-fit, first-fit and worst-fit strategies are

Define where a Program generation activity aims  Program generation activity aims at Automatic generation of program

Explain the Spawnlp Functions Used in the NetWare Spawnlp(flags, execName, arg0,...)  The Spawnlp function is used to load  a NetWare executable file (NLM) specified by exec


Explain internal fragmentation The Internal fragmentation signifies to the result of reserving a piece of space without ever intending to use it. This space is wasted that this

Q. What are the reasons for process suspension? Reasons for process suspension 1.  Swapping 2.  Timing 3.  Interactive user request 4.  Parent process request

SEGMENTATION HARDWARE An execution to map two-dimensional user-defined addresses into one-dimensional physical addresses. This mapping is affected by means of segment table. Ev

Q. What are two dreadful problems that designers should solve to implement a network-transparent system? Answer: One such issue is making all the processors as well as storag