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
Determine the reasons for Poor response time Process busy or High I/O rates or High paging rates

What is a buddy system? We are dividing the memory as powers of two therefore the division will be 2, 4, 8, 16, 32, 64, 128, 256...i.e. in powers of 2 as well as we are selecti

What is a file path name? A list of the subdirectories, directories, and files we must traverse to reach a file from the root directory.

Q. What are the advantages as well as disadvantages of using circuit switching? For what types of applications is circuit switching a viable strategy? Answer: Circuit


Problem 1. What is kernel? What are the main components of a kernel? Defining Kernel Explaining Main components of Kernel 2. What is mutual exclusion? What are i

Q. Explain about diffrent Process State? Process State When process executes, it changes its state. Process state is defined as the current activity of the process. Fi

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

Mention the various features that characteristics the deadlock condition .  The four circumstances that give rise to deadlock condition are: 1) Mutual exclusion : As a minim

Windows admin need it Project Description: We want to protect an executable on operating system level , so the process could be visible among all users while the executable r