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
MEMORY MANAGEMENT USING LINK LISTS The first one is for showing it is process or hole, second is for starting address and third is for length of the process and last is a point


What is an acyclic graph? A tree that has been corrupted by links to other branches, but does not have any cyclic paths in it.

A file system depends on data structures about the files, beside the file structure. The former is named metadata-data that defines data. Each file is accumulated with an inode, wh


Question: In a deadlock, processes never finish executing and system resources are tied up, preventing other jobs from starting. Deadlocks can be characterised by a set of cond

Clustered file organization A clustered file is also called a B-tree-clustered file is a tree-structured file in which records with adjacent index values are clustered toget

What is an operating system process? How is it different from a program? Why do we need the concept of a process, rather than simply talk about programs running in memory? The e

list trhe various classification of model and types?

define semaphore. how can we use semaphore to deal with n-process critical section problem.