Re: [perf-discuss] [shell-discuss] Changing the default buffer sizes for pipes ?

2010-04-28 Thread Chris Pickett
0m0.91s sys 0m14.38s DragonflyBSD, x86, 4k pipe buffer: mkfile 500m testx time bash -c 'cat /dev/null real0m14.46s user0m1.27s sys 0m20.77s As you can see the performance on identical hardware differ greatly and depends on pipe implementation and buffer size. Chris -

Re: [perf-discuss] [shell-discuss] Changing the default buffer sizes for pipes ?

2010-04-14 Thread Chris Pickett
On Thu, Apr 1, 2010 at 10:50 AM, wrote: > >>Chris Pickett wrote: >>> But I think ulimit -p should not be restricted to certain buffer >>> sizes, it should be the script author to pick a safe value. >>> If we use a global kernel tunable for setting the default

Re: [perf-discuss] [shell-discuss] Changing the default buffer sizes for pipes ?

2010-04-14 Thread Chris Pickett
On Thu, Apr 1, 2010 at 10:50 AM, wrote: > >>Chris Pickett wrote: >>> But I think ulimit -p should not be restricted to certain buffer >>> sizes, it should be the script author to pick a safe value. >>> If we use a global kernel tunable for setting the default

Re: [perf-discuss] Changing the default buffer sizes for pipes ?

2010-04-14 Thread Chris Pickett
On Thu, Apr 1, 2010 at 9:13 AM, Garrett D'Amore wrote: > On 03/31/10 10:47 PM, Alan Coopersmith wrote: >> >> Chris Pickett wrote: >> >>> >>> But I think ulimit -p should not be restricted to certain buffer >>> sizes, it should be the scrip

Re: [perf-discuss] Changing the default buffer sizes for pipes ?

2010-03-31 Thread Chris Pickett
..) is safe. But I think ulimit -p should not be restricted to certain buffer sizes, it should be the script author to pick a safe value. If we use a global kernel tunable for setting the default PIPE_BUF it could spew a warning to /var/adm/messages if the size

Re: [perf-discuss] Changing the default buffer sizes for pipes ?

2010-03-29 Thread Chris Pickett
because ARC doesn't like it. Chris -- ^---^ (@)v(@) Chris Pickett |/ IT consultant ===m==m=== pkch...@users.sourceforge.net ___ perf-discuss mailing list perf-discuss@opensolaris.org

Re: [perf-discuss] [shell-discuss] Changing the default buffer sizes for pipes ?

2010-03-27 Thread Chris Pickett
d fd limits, ...) but uses the same solution to pick buffer sizes. Chris -- ^---^ (@)v(@) Chris Pickett |/ IT consultant ===m==m=== pkch...@users.sourceforge.net ___ perf-discuss mailing list perf-discuss@opensolaris.org

Re: [perf-discuss] Changing the default buffer sizes for pipes ?

2010-03-27 Thread Chris Pickett
riesen/ >> GraphicsMagick Maintainer,http://www.GraphicsMagick.org/ >> ___ >> perf-discuss mailing list >> perf-discuss@opensolaris.org > > -- > > Rickey C. Weisner > Software Development and Performance Specialist > Principal Field Technologist > Systems Quality Office > cell phone: 615-308-1147 > email: rick.weis...@sun.com > ___ > perf-discuss mailing list > perf-discuss@opensolaris.org > -- ^---^ (@)v(@) Chris Pickett |/ IT consultant ===m==m=== pkch...@users.sourceforge.net ___ perf-discuss mailing list perf-discuss@opensolaris.org