Question

The use of multithreading improves the overall efficiency and performance of the execution of an application or program. Howe
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Multi Theading means handle multiple thread at a single time or executing multiple thread to increase the performance of CPU utilization . Multi Threading is of two type

  1. Concurrent MultiThreading
  2. Parallel multithreading

There are two scenario for MultiThreading

  • 1.Multithreading giving improved performance over a single-threaded solution
  • 2.Multithreading that would not improve performance over a single-threaded solution.

Example for them are:

1.Multithreading giving improved performance over a single-threaded solution

The way toward executing multiple threads at the same time is known as multithreading. A few models where Multitheading improves execution include:

1) Matrix Multiplication — Individual lines and sections of the frameworks can be increased in independent threads, diminishing the hold up time of the processor for expansion.

2) UI refreshes — We can render some UI components, for example, a view or pictures on a foundation string with the goal that the primary string doesn't obstruct the view, causing execution issues and recognizable slacks.

3) A Web server that benefits each solicitation in a different threads.

4) A parallelized application, for example, grid augmentation where various pieces of the network might be taken a shot at in equal.

5) An intuitive GUI program, for example, a debugger where a thread is utilized to screen client input, another thread speaks to the running application, furthermore, a third thread screens execution.

2) Multithreading that would not improve performance over a single-threaded solution.

On the off chance that we are running an inconsequential program in a different string, the overhead of making the threads surpasses the assignments performed by them, in this way diminishing presentation when contrasted with a single threaded elective.

A few models include:

1) Trivial procedure on a list of numbers — Multi threading won't speed up the tasks since the time taken by the activities is consistent, furthermore, different components of the list might sit tight for the past
to wrap up.

2) Distributing memory to a lot of information factors — Allocating memory is a quick undertaking, and the overhead of making numerous threads to process separate squares of factors surpasses the presentation picked up by multi threading.

3) Any sort of consecutive program is certifiably not a decent contender to be threaded. A model of this is a program that computes an individual government form.

4) Another model is a "shell" program, for example, the C-shell or Korn shell. Such a program should intently screen its own working space, for example, open documents, condition factors, and current working catalog.

Thankyou........

Add a comment
Know the answer?
Add Answer to:
The use of multithreading improves the overall efficiency and performance of the execution of an application...
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
  • 10. Write a one-page summary of the attached paper? INTRODUCTION Many problems can develop in activated...

    10. Write a one-page summary of the attached paper? INTRODUCTION Many problems can develop in activated sludge operation that adversely affect effluent quality with origins in the engineering, hydraulic and microbiological components of the process. The real "heart" of the activated sludge system is the development and maintenance of a mixed microbial culture (activated sludge) that treats wastewater and which can be managed. One definition of a wastewater treatment plant operator is a "bug farmer", one who controls the aeration...

  • Risk management in Information Security today Everyday information security professionals are bombarded with marketing messages around...

    Risk management in Information Security today Everyday information security professionals are bombarded with marketing messages around risk and threat management, fostering an environment in which objectives seem clear: manage risk, manage threat, stop attacks, identify attackers. These objectives aren't wrong, but they are fundamentally misleading.In this session we'll examine the state of the information security industry in order to understand how the current climate fails to address the true needs of the business. We'll use those lessons as a foundation...

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