1,167 views
0 votes
0 votes
Multi-threaded application cannot take advantage of multiprocessing.

What does this mean?

1 Answer

2 votes
2 votes

A multithreaded system comprising of multiple user level threads cannot make use of the different processors in a multiprocessor system simultaneously.

BECAUSE The operating system sees only a single process and will not schedule the different threads of the process on separate processors.

Consequently, there is NO performance benefit associated with executing multiple user-level threads on a multiprocessor system.

Note the word  MULTIPLE USER LEVEL THREADS! if it were KERNEL LEVEL threads then they can be scheduled on different processors thereby increasing performance!

Related questions

1 votes
1 votes
1 answer
1
Na462 asked Jul 12, 2018
1,698 views
According to me Answer is C, because Multithreading i.e. User application threads cannot use different processors because processor see all the thread of user process as ...
1 votes
1 votes
4 answers
2
ankitgupta.1729 asked Dec 14, 2017
1,889 views
The primary difference between process and thread ?(A) The number of I/O requests mode.(B) The amount of overhead associated with creation and context switching .(C) The ...
1 votes
1 votes
2 answers
3
rahul sharma 5 asked Dec 6, 2017
697 views
Why threads have less context than process? Context means various attributes that we store in the PCB,so the attributes like state,property,PC,etc.. should be there in b...
0 votes
0 votes
0 answers
4