Date: Thu, 15 Jun 2017 08:36:04 -0700 From: Bryan Drewery <bdrewery@FreeBSD.org> To: Ronald Klop <ronald-lists@klop.ws>, Justin Hibbits <jrh29@alumni.cwru.edu> 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: <1f9c71f7-8231-b302-23b8-b6ff42dfe78c@FreeBSD.org> In-Reply-To: <op.y1vonwg2kndu52@53556c9c.cm-6-6b.dynamic.ziggo.nl> 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> <op.y1vonwg2kndu52@53556c9c.cm-6-6b.dynamic.ziggo.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --rMBoHhxm0ViJg1QoNHFrLdG00xmc3hWjs Content-Type: multipart/mixed; boundary="QkwcIUrDseL9iseVa7crmT6KDVCGRGenJ"; protected-headers="v1" From: Bryan Drewery <bdrewery@FreeBSD.org> To: Ronald Klop <ronald-lists@klop.ws>, Justin Hibbits <jrh29@alumni.cwru.edu> 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> Message-ID: <1f9c71f7-8231-b302-23b8-b6ff42dfe78c@FreeBSD.org> Subject: Re: svn commit: r319897 - head/usr.bin/yes 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> <op.y1vonwg2kndu52@53556c9c.cm-6-6b.dynamic.ziggo.nl> In-Reply-To: <op.y1vonwg2kndu52@53556c9c.cm-6-6b.dynamic.ziggo.nl> --QkwcIUrDseL9iseVa7crmT6KDVCGRGenJ Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 6/15/2017 7:17 AM, Ronald Klop wrote: > On Wed, 14 Jun 2017 16:27:52 +0200, Bryan Drewery <bdrewery@freebsd.org= > > wrote: >=20 >> 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_fas= t/ >>>>> >>>>> Reviewed by: cognet >>>>> Approved by: cognet >>>>> >>>>> Modified: >>>>> head/usr.bin/yes/yes.c >>>> >>>> >>>> While here we should add libxo support. >>>> >>>> --=20 >>>> Regards, >>>> Bryan Drewery >>>> >>> >>> I think before we add libxo, we need to capsicumize it. After all, i= t >>> does accept arbitrary arguments. >> >> The code has become more complex. I think capsicum does make sense no= w >> in case there is an unseen overflow in the new optimized code. >> >> >=20 > It already has capsicum... > https://svnweb.freebsd.org/base?view=3Drevision&revision=3D308432 >=20 > :-) Doh, perfect! Now we need libxo support. I need a constant stream of <yes>. --=20 Regards, Bryan Drewery --QkwcIUrDseL9iseVa7crmT6KDVCGRGenJ-- --rMBoHhxm0ViJg1QoNHFrLdG00xmc3hWjs Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJZQqlnAAoJEDXXcbtuRpfPP2oIAKBi/K3IYj714CKd5JCYxsez 5ItieMMggJkmlpEBEA9daWHo/hE0yTC5pEUuHJDGZrSrf2/BuCCDxhLSy7r2C78L 7Za18+I5TtzchT11M1abOnsq168iGezSHPXg8xhdE99NuFXZrnh0H69d3luEWoSw VBu0xMdjNt5Xfmw9i7UFNk/+9/NuDYubp2tKILeirJs4otKqUoR2cobfyGsnPy7Q HWYkAegZN70HGXCL+Ir0e7CiZ1yQJQW4kjuAAz+agFFkTRwCamBwZwUKnqe7MYWo HUW68xpTb32+apPA/dBVqhQqkk+SZbaDgCxNmAXbWh3noAe7cHGyYegWQ/zL9wc= =y7IK -----END PGP SIGNATURE----- --rMBoHhxm0ViJg1QoNHFrLdG00xmc3hWjs--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1f9c71f7-8231-b302-23b8-b6ff42dfe78c>