The Technical Side of World

Archive for August, 2008

multi-huh,what?

A few days back i had my Introduction to Computer Class (ITC), multiprocessing, multiprogramming. (Multi ki…). Yawn. The teacher seemed to teach us. We pretended to be understanding. Most of us nodding our head, rest of us, messaging. There’s nothing better that messaging you see. Of course, my case is different. Anyways, I thought I’d explain a bit of all those multi-beep-stuff here. Yeah, I’ll be putting stuff that is/was/are/were OHT(s) for many. Over Head Transmission. 😉

Here’s a bit about multi…arh. You guys can read. By the way, am feeling lil lazy to get up and check my register which multi-things we were taught first. Ah!i wonder how many of us remember that.

Before I begin my Big Bang Theory lecture, I guess you guys should know what a task, process and thread is.

Task: Its a set of program instructions that are sent to the memory for execution.
Process: Its an instance of a program that is being executed by a processor. A program is basically a set of instructions. When these instructions are executed, it is called a process.
Thread: To make the Processing faster, each process is divided into two or more parts. These parts are called ‘threads’.

Hmm. Maybe now it’ll be more easier to understand multitasking, multiprocessing, multiprogramming and multithreading.

Multitasking

In multitasking, two or more TASKS share a SINGLE processing unit (CPU). At a particular instance of time, only ONE task is executed by CPU.

Multiprocessiing

In multiprocessing, there are two or more CPUs. This is the basic difference between multitasking and multiprocessing. In multitasking, there are more than two tasks that share the same processing unit, but in multiprocessing, tasks are sent to different CPUs depending upon which processor is done processing and is waiting for the next task. Its a software based support.

Multiprogramming

Its basically running more than one program on a single cpu. There’s nothing much to know about it really, at our level at least. It is like, we are listening to music on Windows Media Player and doing someother work on, say, MS Word. Now, you are running more than one program on your computer. This is known as multiprogramming.

Multithreading

Multithreading efficiently handles multiple threads. Now, you might think that multiprocessing and multithreading are same. But, there’s one key difference. Multithreading is hardware based support and multiprocessing is software based support.

Ah!its 2 A.M. in the morning and am typing this. Wah! Yeah, got nothing better to do. Anyway, if you like whats written here, please comment.

And yeah, was thinking to put generations of computers here. But instead, if i could find how the vaccume tubes and all used to work, will post the link here.

Advertisements