rickey c weisner wrote:
> On Fri, Jul 10, 2009 at 10:48:29AM -0500, Bob Friesenhahn wrote:
> > On Fri, 10 Jul 2009, Roland Mainz wrote:
> >>>
> >>> Some applications may misbehave or lock-up if the size of the pipe
> >>> buffer is changed.
> >>
> >> Erm... why ?
> >
> > You have already noticed that the size is hard-coded in Solaris
> > applications (by PIPE_BUF) since the dawn of time.  Pipes offer
> > properties such as atomic reads and writes. PIPE_BUF declares the
> > maximum size of an atomic write.  Some applications depend on this FIFO
> > behavior for message passing.
> >
> > You should feel happy that Solaris is using 5120 rather than 512 like
> > FreeBSD.
> 
> You can push a bufmod on the fifo

Do you have any code example for this ?

> and use messages up to the maximum
> streams message size.

What is the maximum STREAMS message size ? Is this value itself a
tuneable ?

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) roland.ma...@nrubsig.org
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 3992797
 (;O/ \/ \O;)
_______________________________________________
perf-discuss mailing list
perf-discuss@opensolaris.org

Reply via email to