From owner-svn-src-head@freebsd.org Thu Jun 15 14:17:55 2017 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EC2FDD8B4E7; Thu, 15 Jun 2017 14:17:55 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smarthost1.greenhost.nl (smarthost1.greenhost.nl [195.190.28.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AF0A276C28; Thu, 15 Jun 2017 14:17:55 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smtp.greenhost.nl ([213.108.104.138]) by smarthost1.greenhost.nl with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1dLVak-0005Gs-RK; Thu, 15 Jun 2017 16:17:47 +0200 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: "Justin Hibbits" , "Bryan Drewery" Cc: "svn-src-head@freebsd.org" , "svn-src-all@freebsd.org" , src-committers Subject: Re: svn commit: r319897 - head/usr.bin/yes References: <201706131235.v5DCZ1aR077437@repo.freebsd.org> <59cc8b64-0cba-70c7-68c8-53f48a3c1471@FreeBSD.org> Date: Thu, 15 Jun 2017 16:17:46 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Ronald Klop" Message-ID: In-Reply-To: <59cc8b64-0cba-70c7-68c8-53f48a3c1471@FreeBSD.org> User-Agent: Opera Mail/12.16 (FreeBSD) X-Authenticated-As-Hash: 398f5522cb258ce43cb679602f8cfe8b62a256d1 X-Virus-Scanned: by clamav at smarthost1.samage.net X-Spam-Level: / X-Spam-Score: -0.2 X-Spam-Status: No, score=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 autolearn=disabled version=3.4.0 X-Scan-Signature: f0eed3f1d89bc5fb772880ef8d54351a X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jun 2017 14:17:56 -0000 On Wed, 14 Jun 2017 16:27:52 +0200, Bryan Drewery wrote: > On 6/14/2017 7:26 AM, Justin Hibbits wrote: >> On Wed, Jun 14, 2017 at 9:19 AM, Bryan Drewery >> 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 :-)