Bob Friesenhahn wrote: [snip] > More importantly, why is it that ksh93 has a performance problem with > pipes when other shells do not? Is it actually demonstrated to have a > performance problem or is it conjecture?
This isn't a specific ksh93 problem (that's why I started the disucssion in shell-disc...@opensolaris.org, not ksh93-integration-disc...@opensolaris.org). During testing of the non-shell parts of the ksh93-integration update2 stuff we found many cases that writing to a pipe in a non-line buffered mode (e.g. when I/O writes are flushed when the application buffer (not the pipe buffer) gets full instead of flushed when the application writes a newline) wait often for the pipe and our _theory_ is that this can be reduced a bit by a larger pipe size (and therefore maximizing parallism in a pipe chain). ---- 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