Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jun 2017 16:17:46 +0200
From:      "Ronald Klop" <ronald-lists@klop.ws>
To:        "Justin Hibbits" <jrh29@alumni.cwru.edu>, "Bryan Drewery" <bdrewery@freebsd.org>
Cc:        "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, src-committers <src-committers@freebsd.org>
Subject:   Re: svn commit: r319897 - head/usr.bin/yes
Message-ID:  <op.y1vonwg2kndu52@53556c9c.cm-6-6b.dynamic.ziggo.nl>
In-Reply-To: <59cc8b64-0cba-70c7-68c8-53f48a3c1471@FreeBSD.org>
References:  <201706131235.v5DCZ1aR077437@repo.freebsd.org> <e4048e9c-4c02-fba2-39ff-c64cd7b0766b@FreeBSD.org> <CAHSQbTDbuaYj1iUUZsbChUgg0dtCCEapeRBCcy=_3c62jTrLdw@mail.gmail.com> <59cc8b64-0cba-70c7-68c8-53f48a3c1471@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 14 Jun 2017 16:27:52 +0200, Bryan Drewery <bdrewery@freebsd.org>  
wrote:

> On 6/14/2017 7:26 AM, Justin Hibbits wrote:
>> On Wed, Jun 14, 2017 at 9:19 AM, Bryan Drewery <bdrewery@freebsd.org>  
>> wrote:
>>> On 6/13/2017 5:35 AM, Pietro Cerutti wrote:
>>>> Author: gahr (ports committer)
>>>> Date: Tue Jun 13 12:35:01 2017
>>>> New Revision: 319897
>>>> URL: https://svnweb.freebsd.org/changeset/base/319897
>>>>
>>>> Log:
>>>>   Improve yes' throughput
>>>>
>>>>   On my system, this brings up the throughput from ~20 to ~600 MiB/s.
>>>>
>>>>   Inspired by:  
>>>> https://www.reddit.com/r/unix/comments/6gxduc/how_is_gnu_yes_so_fast/
>>>>
>>>>   Reviewed by:        cognet
>>>>   Approved by:        cognet
>>>>
>>>> Modified:
>>>>   head/usr.bin/yes/yes.c
>>>
>>>
>>> While here we should add libxo support.
>>>
>>> --
>>> Regards,
>>> Bryan Drewery
>>>
>>
>> I think before we add libxo, we need to capsicumize it.  After all, it
>> does accept arbitrary arguments.
>
> The code has become more complex.  I think capsicum does make sense now
> in case there is an unseen overflow in the new optimized code.
>
>

It already has capsicum...
https://svnweb.freebsd.org/base?view=revision&revision=308432

:-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.y1vonwg2kndu52>