Questions tagged [pipelining]

In computing, a pipeline is a set of data processing elements connected in series, where the output of one element is the input of the next one.

In computing, a pipeline is a set of data processing elements connected in series, where the output of one element is the input of the next one. The elements of a pipeline are often executed in parallel or in time-sliced fashion; in that case, some amount of buffer storage is often inserted between elements.

Computer-related pipelines include:

  • Instruction pipelines, such as the classic RISC pipeline, which are used in central processing units (CPUs) to allow overlapping execution of multiple instructions with the same circuitry. The circuitry is usually divided up into stages, including instruction decoding, arithmetic, and register fetching stages, wherein each stage processes one instruction at a time.
  • Graphics pipelines, found in most graphics processing units (GPUs), which consist of multiple arithmetic units, or complete CPUs, that implement the various stages of common rendering operations (perspective projection, window clipping, color and light calculation, rendering, etc.).
  • Software pipelines, where commands can be written where the output of one operation is automatically fed to the next, following operation. The Unix system call pipe is a classic example of this concept, although other operating systems do support pipes as well.
  • HTTP pipelining, where multiple requests are sent without waiting for the result of the first request.

Source: Wikipedia

164 questions
0
votes
1 answer

Why will not my code, which implements pipelining in C programming, out a concatenated string as intended?

I am following the example code I have found on a website which demonstrates how pipelining in C programming works. Specifically with the use of pipe() and fork(). The provided program is made to concatenate an input string with a fixed string put…
0
votes
0 answers

Questions about forwarding and data hazard in RISC-V CPU

I'm studying RISC-V (32-bit) computer architechture and I'm having a hard time understanding this type of data hazard. Suppose that we have instructions like this: or x4, x3, x4 bne x4, x4, error (not taken) addi x2, x0, 1060 sw x4, 0(x2) Suppose…
Hypernova
  • 103
  • 4
0
votes
1 answer

How to pipeline the username from Get-MoveRequest to Get-MailboxStatistics?

How do I pipeline the output of Exchange 2010's Get-MoveRequest command so that the Name variable can be used in the $Username variable below? [CmdletBinding(DefaultParameterSetName = "MoveUser")] param( [Parameter(Mandatory = $true,…
makerofthings7
  • 60,103
  • 53
  • 215
  • 448
0
votes
0 answers

Persistent HTTP Connection with Pipelining

I read that HTTP Pipelining is not activated by default in modern browsers How can I implement a Persistent HTTP Connection with Pipelining in Python (like code socket from scratch) without using requests library to download all pdf file in folder…
0
votes
1 answer

Is this correct implementation of pipelining in StackExchange.Redis in .NET?

I'm trying to increase performance of reading hashes from Redis and I've tried to implement pipelining, is this the correct way to do this? public Task FetchHashesFromRedis(List redisKeys, CancellationToken cancellationToken) { var…
0
votes
1 answer

Bash parallel pipelined a for loop

I would like to know if there is a way to execute the body of the loop as soon as my generator has emited IFS. The default behaviour is for bash to slurp the loop and then execute it. Take this code: time for i in $(echo 3; sleep 2; echo 1); do…
Jorropo
  • 348
  • 3
  • 12
0
votes
1 answer

Determining How many NOPs to insert in between instructions for MIPs DATA hazards

How do I know how many NOPs I need in between instructions to fix data hazards? My current understanding is if the 2nd instruction's operands rely on the destination of the 1st instruction, we need to wait until it the first instruction gets to a…
oofmeister
  • 31
  • 3
0
votes
0 answers

Understanding the efficiency of different layer/stages of pipelines when calculating a sum

So I have the results for some experiments and I need to write about the efficiency of pipelining. I don't have the source code but I do have the time it took for a 4 layer pipeline and an 8 layer pipeline to sum an array of 100,000,000 doubles. The…
Sam
  • 19
  • 6
0
votes
1 answer

Can Netty process a single pipeline with multiple threads?

I have a Netty 4 application that is receiving messages at high throughput using a single network connection (or to be precise, a single IP multicast group), so processing of all channel handlers in the pipeline is basically single-threaded. Is…
Evgeniy Berezovsky
  • 18,571
  • 13
  • 82
  • 156
0
votes
1 answer

simple pipelining and superscalar architecture

consider this instruction flow diagram.... instruction fetch->instruction decode->operands fetch->instruction execute->write back suppose a processor that supports both cisc and risc...like intel 486 now if we issue a risc instruction it takes…
AvinashK
  • 3,309
  • 8
  • 43
  • 94
0
votes
1 answer

Real example code for software pipelining

I'm currently finding a way that can show how software pipelining is applied to the code. for(int i = 1; i < N; i++) { D[i] = A[i] * B[i] + 1; } I found the similar question with the answer using gcc option <-fsel-sched-pipelining>, however, it…
wookie
  • 79
  • 6
0
votes
1 answer

pipelining is being ignored by Ansible Tower

I am trying to enable pipelining but no matter what i'm trying, it doesn't work. ansible.cfg contents: [defaults] transport = ssh host_key_checking = false retry_files_enabled = false nocows=true remote_user=ansible # display_skipped_hosts =…
0
votes
1 answer

When does the pipeline take 2 decode stages when there is a RAW dependency in 2 successive instructions

Consider a RISC pipeline having 5 stages, Find how many cycles are required for the instruction given below, assume operand forwarding, branch prediction is used in which the branch is not taken, ACS is the branch instruction and the five stages are…
Olivia Pearls
  • 139
  • 1
  • 11
0
votes
1 answer

Is this intel pipelining instruction?

In my knowledge, intel 8086 pipelining is technique that fetching the next instruction when the present instruction is being executed. This article said that one of Advantage of pipelining is eliminates the waiting time of EU and speeds up the…
Jiwon
  • 1,074
  • 1
  • 11
  • 27
0
votes
1 answer

Intervention Image::make() is undefined in PHPUnit Test

i write test like this $response = $this->actingAs(\App\Models\User::first()) ->post(route('profile-menu.update', $profile), [ 'image' => UploadedFile::fake()->image('avatar.jpg', 900, 500)->size(100), 'profile' => [ …
Vico
  • 108
  • 2
  • 14