Re: [dev] [sbase] Changing BUFSIZ

2017-06-14 Thread Michael Forney
On 6/13/17, Mattias Andrée wrote: > On Linux, the performance of cat(1) can be doubled > when cat(1):ing from one pipe to another, by compiling > with -DBUFSIZ=(1<<16) (the default pipe capacity). > This is close to optimial for a read(3)/write(3) > implementation. Agreed. On my sbase branch, I b

RE: [dev] [sbase] Changing BUFSIZ

2017-06-14 Thread Mattias Andrée
9:18 To: dev@suckless.org Subject: Re: [dev] [sbase] Changing BUFSIZ Mattias Andrée wrote: > On Linux, the performance of cat(1) can be doubled > when cat(1):ing from one pipe to another, by compiling > with -DBUFSIZ=(1<<16) (the default pipe capacity). > This is close to optim

Re: [dev] [sbase] Changing BUFSIZ

2017-06-14 Thread Ivan Tham
Mattias Andrée wrote: > On Linux, the performance of cat(1) can be doubled > when cat(1):ing from one pipe to another, by compiling > with -DBUFSIZ=(1<<16) (the default pipe capacity). > This is close to optimial for a read(3)/write(3) > implementation. I have seen people mentioning how is GNU y

[dev] [sbase] Changing BUFSIZ

2017-06-13 Thread Mattias Andrée
On Linux, the performance of cat(1) can be doubled when cat(1):ing from one pipe to another, by compiling with -DBUFSIZ=(1<<16) (the default pipe capacity). This is close to optimial for a read(3)/write(3) implementation. pgpKj3MyxJW0x.pgp Description: OpenPGP digital signature