Click here to Skip to main content
15,911,646 members
Please Sign up or sign in to vote.
1.17/5 (6 votes)
See more:
Hi.I need to know about Pipelining and its advantages and also if possible a simple piece of program using pipelines in c#.I want in layman terms.Not in blahblah english.Please help me.Thanks in advance.
Posted
Comments
Sergey Alexandrovich Kryukov 21-Feb-13 1:31am    
Very demanding. Don't you think it's a bit rude, to start with? How about your own English?
—SA
Sadhurthan 21-Feb-13 1:34am    
Man.I need in simple english.If it is in high class english I can't understand.Thats what I am asking in layman terms.i.e.simple english.My admit my english is bad.Cool:-)
Sergey Alexandrovich Kryukov 21-Feb-13 1:44am    
Okay, now it explains it. Excuse me, but it's just blah-blah has a very negative connotation, people say such thing to express a bad feeling that someone is wasting their time with non-sensible and boring talking. You don't have reason to blame anyone, not yet, that's why it sounds pretty rude... :-)
—SA

1 solution

Hi Pipelining is breaking down a process into chunk of tasks and utilize the gaps in the task get more throughput.


Week No Raw Material Make Body Add Engine Add Paint Work Add Upholstery Finished Car
1 -->          
2 --> -->        
3 --> --> -->      
4 --> --> --> -->    
5 --> --> --> --> -->  
6 --> --> --> --> --> -->
7 --> --> --> --> --> -->



you see, it took 6 weeks to build the first car, but after 6th week there will be a new car out through the door. This is Pipelining, you don't let the resource waiting instead keep it working.

The same principle applies to computing, in terms of executing instructions in computing.

you can also use the same principle in software (using threads, Producer, consumer ques, etc) especially assembly line automation applications to control productions such as scan barcode, check product and apply expiry date. So by the time application checks the first product, it is also scan the barcode of the second item.

I hope this helps.

Regards
Jegan
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900