Question

Assuming a computer has a single processor and a single core with no support for parallel...

Assuming a computer has a single processor and a single core with no support for parallel execution, explain why running a multi-threaded program would show no performance improvement. Would inter-process communication be relevant in such a context?

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Answer)

When a computer has a single processor and is single cored then while running the multi thread program context switching would be needed but when the scheduler would choose the upcoming process to be executed it will have to check for the current register's so as to backup the register's state and also in the upcoming process would also need the current state or switch pages or load additional data's which is not feasible when one processor and single core. Hence the efficiency would not be improved but same or even less due to load.

Inter process communication with time slicing or scheduling can help to some extent in some scenario's.

Hope this answer helps. :) Happy to help.

Add a comment
Know the answer?
Add Answer to:
Assuming a computer has a single processor and a single core with no support for parallel...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT