Read time of pipe

Vincent31
Benutzer
Avatar
Gender: n/a
Posts: 30
Registered: 07 / 2008
Subject:

Read time of pipe

 · 
Posted: 09.05.2018 - 11:25  ·  #1
Hello,
I would like to know how is working pipe process and if an access time to pipe pipesend() or piperecv() is depending of pipe size or not....in other terms, when reading or writing pipe, are all pipe datas to be moved one rank by program ? in this case, pipe size could impact read access time...

Thanks for help Vincent
rh
Administrator
Avatar
Gender:
Location: Germany
Age: 24
Homepage: e-lab.de
Posts: 5558
Registered: 03 / 2002
Subject:

Re: Read time of pipe

 · 
Posted: 09.05.2018 - 12:53  ·  #2
Hello Vincent,

the Pipe size has very less impact on read or write time.
A pipe is a circular buffer and is operated with pointers.

rolf
Vincent31
Benutzer
Avatar
Gender: n/a
Posts: 30
Registered: 07 / 2008
Subject:

Re: Read time of pipe

 · 
Posted: 09.05.2018 - 13:41  ·  #3
Hello Rolf,

I understand, so all is ok. Many thanks !

Vincent
Selected quotes for multi-quoting:   0

Registered users in this topic

Currently no registered users in this section

The statistic shows who was online during the last 5 minutes. Updated every 90 seconds.
MySQL Queries: 14 · Cache Hits: 14   66   80 · Page-Gen-Time: 0.018059s · Memory Usage: 2 MB · GZIP: on · Viewport: SMXL-HiDPI