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 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,
-Steve