wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Multicore and Multithreading

profile
Heer Gada
Jul 11, 2023
0 Likes
0 Discussions
46 Reads

Multicore

A multi-core processor is an integrated circuit with two or more processors connected to it for faster simultaneous processing of several tasks, reduced power consumption, and for greater performance. Generally, it is made up of two or more processors that read and execute program instructions.

In other words, on a single chip, a multi-core processor comprises numerous processing units, or "Cores," each of which has the potential to do distinct tasks. For instance, if you are performing many tasks at once, such as watching a movie and using WhatsApp, one core will handle activities like watching a movie while the other handles other responsibilities like WhatsApp.

Architecture of Multicore Processor

A multi-core processor's design enables the communication between all available cores, and they divide and assign all processing duties appropriately. The processed data from each core is transmitted back to the computer's main board (Motherboard) via a single common gateway once all of the processing operations have been finished. This method beats a single-core CPU in terms of total performance.

pastedGraphic.png

Advantages of Multi-Core Processor

Performance

Reliability

Software Interactions

Multitasking

Power Consumption

Obsolescence Avoidance

Isolation

 

Multithreading

Multithreading allows the application to divide its task into individual threads. In multi-threads, the same process or task can be done by the number of threads, or we can say that there is more than one thread to perform the task in multithreading. With the use of multithreading, multitasking can be achieved. Multithreading can also handle multiple requests from the same user.

 

pastedGraphic_1.png

The main drawback of single threading systems is that only one task can be performed at a time, so to overcome the drawback of this single threading, there is multithreading that allows multiple tasks to be performed.

 

 

pastedGraphic_2.png

In the above example, client1, client2, and client3 are accessing the web server without any waiting. In multithreading, several tasks can run at the same time.

In an operating system, threads are divided into the user-level thread and the Kernel-level thread. User-level threads handled independent form above the kernel and thereby managed without any kernel support. On the opposite hand, the operating system directly manages the kernel-level threads. Nevertheless, there must be a form of relationship between user-level and kernel-level threads.

There exists three established multithreading models classifying these relationships are:

  • Many to one multithreading model
  • One to one multithreading model
  • Many to Many multithreading models

Comments ()


Sign in

Read Next

Natural Language Processing(NLP)

Blog banner

The Role of Data Provenance and Lineage in Modern Data Science

Blog banner

Interrupts in operating system.

Blog banner

INTRODUCTION TO C#

Blog banner

objectives and function of operating system

Blog banner

Travel: Everything Everywhere!

Blog banner

Broken Authentication Attacks

Blog banner

Blockchain

Blog banner

Privacy in Social Media and Online Services

Blog banner

Virtual Memory

Blog banner

City of Mumbai (Bombay):

Blog banner

MAJOR ACHIEVEMENTS OF OS

Blog banner

Drawing tips for a beginner

Blog banner

What is online marketing and why do you need to know about it ?

Blog banner

Memory Management

Blog banner

Beauty of indian railway

Blog banner

A Statistical Analysis of Player Performance and their Value in cricket

Blog banner

File System

Blog banner

Teamwork

Blog banner

Memory management

Blog banner

Big Data Architecture

Blog banner

Threads

Blog banner

Why Progressive Web Apps (PWAs) Are Replacing Traditional Websites

Blog banner

BIRYANI ! The history you never knew about

Blog banner

File management

Blog banner

Yoga in INDIA and ABROAD

Blog banner

Electronic data interchange

Blog banner

Types of E-Commerce

Blog banner

american greatines

Blog banner

Routers

Blog banner

What is Anxiety? How to manage Anxiety?

Blog banner

Creating Digitally Signed Document

Blog banner

?What Children Learn Between Activities: The Hidden Learning Moments in a Preschool Day

Blog banner

Mumbai

Blog banner

OS Assignment 1

Blog banner

Diwali

Blog banner

Kafka - A Framework

Blog banner

Artical on FreshBooks

Blog banner

Memory Management

Blog banner

Uniprocessor Scheduling

Blog banner

Odoo

Blog banner

MySQL

Blog banner