Results 1 to 1 of 1
Is there a way to configure size of pipes created in Linux? For example when one types $ prog1 | prog2 at the shell and if prog1 is faster than ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-01-2006 #1
- Join Date
- Nov 2006
Configuring/Controlling pipe size
$ prog1 | prog2
at the shell and if prog1 is faster than prog2 and if prog1 generates indefinite amount of data, pipe will occupy most of the space of the filesystem, unless we can control pipe size globally. If its size is cotrolled, prog1 will have to wait until prog2 is able to absorb its output.
This aspect is important for tuning the Linux. Please help.
Thanks in advance,