1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
V125BC [204]
3 years ago
8

Which threading model is best for achieving true parallelism and how?

Computers and Technology
1 answer:
WITCHER [35]3 years ago
7 0

Answer:

The explantion of this question is given below in the explanation section.              

Explanation:

Parallelism means that an application is split into smaller subtasks that can be processed in parallel on multiple CPU at the same time. Parallelism is related to application handling individual tasks on multiple CPUs. To achieve true parallelism your application must have more than one thread running, schedule the task into other threads, graphics cards, and CPU, etc.  

It is noted that parallelism is a concept while multiple threading in computer programing is its implementation. Some operating systems provide a multiple threading that combined the user-level thread and kernel-level thread facility. In such a system, multiple threads within the same application can run in parallel on multiple CPU or processors

There are three types of Multithreading Model

• Many to many relationships.

• Many to one relationship.

• One to one relationship.

Many to many relationship

This model multiplexes any number of user threads onto an equal or smaller number of kernel threads. However, this model provides the best accuracy to concurrency. However, using this model, true parallelism can be achieved, if the system has multiprocessor.  

Many to One model

This model maps the user-level threads to one kernel-level thread and its management is done in userspace by the thread library. In this model, only one thread can access the Kernal at a time, so multiple threads are unable to run on multiple CPU in parallel.  

One to one relationship

This model provides one to one relationship between the user and kernel-level thread. This model is better than the many-to-one model. It allows another thread to execute when a thread makes a blocking system call. However, it supports multiple threads to execute in parallel on the microprocessor. This model provides true parallelism.  

                                                                  

You might be interested in
If a node has a wireless connection to the internet, does that node have to be mobile
Marizza181 [45]
No it does not . answers
8 0
3 years ago
Write a function transpose(matrix) that returns the transpose of the input matrix, which is represented as a list of lists. Reca
mariarad [96]

Answer:you eat

Explanation:yea

4 0
3 years ago
Please answer questions 34, 36 &amp; 37. <br><br>No explanation required. ​
kobusy [5.1K]

Answer:

36.c 37.c 34.d 35.b

Explanation:

these are the answrs

7 0
4 years ago
Plz Help!! How should I answer the second question?
Harman [31]

Answer:

Just keep doing what you were doing explain what you would be doing in the future or where you see yourself in like 5 years and put details and things that make since to you!

4 0
3 years ago
What are the correct steps to find the system specifications such as the amount of ram or system type for windows 7 machine?
Nutka1998 [239]

First, click the Start button. Then, select Control Panel. Next, go to System and Security. To find out the amount of RAM and system type of your device, select System. The information you need will be displayed along with the type of processor, computer name, domain, and windows activation details.

5 0
3 years ago
Other questions:
  • Tom only thinks about his own gain and does not care about the team objectives. What quality is he demonstrating? A. resourceful
    9·1 answer
  • In what ways us cyberspace is real? list at least 3 examples to support your response .
    9·1 answer
  • From an IT perspective, which of the following best describes BI and BI apps?
    13·1 answer
  • What is virtual reality?
    10·1 answer
  • What is the name of the symbol that is used to classify and categorize information?​
    10·2 answers
  • Write the proghrams for the following:
    13·1 answer
  • Which best describes obliteration in a forged document?
    11·1 answer
  • Sarah has prepared a project document about the small and medium-sized companies in the United States. While proofreading, she r
    11·2 answers
  • What is a man-in-the-middle attack​
    14·2 answers
  • Why does my laptop keep disconnecting from the wifi.
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!