From owner-freebsd-current@FreeBSD.ORG Thu Dec 11 19:08:03 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AC305A0; Thu, 11 Dec 2014 19:08:03 +0000 (UTC) Received: from shxd.cx (unknown [64.201.244.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 94966F6B; Thu, 11 Dec 2014 19:08:03 +0000 (UTC) Received: from 50-196-156-133-static.hfc.comcastbusiness.net ([50.196.156.133]:56029 helo=THEMADHATTER) by shxd.cx with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.77 (FreeBSD)) (envelope-from ) id 1XyjWG-000OOp-2y; Wed, 10 Dec 2014 07:49:40 -0800 From: To: , "'freebsd-current'" References: <022a01d01572$a2c6b190$e85414b0$@FreeBSD.org> In-Reply-To: <022a01d01572$a2c6b190$e85414b0$@FreeBSD.org> Subject: RE: [TTC] Installer Enhancement -- dpv Date: Thu, 11 Dec 2014 11:07:36 -0800 Message-ID: <023301d01575$be436870$3aca3950$@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQLEyicfrOswhk/unK9bEzC0UJP/xpqhUsRw Content-Language: en-us Sender: devin@shxd.cx Cc: 'Adrian Chadd' , 'Ed Maste' , stas@FreeBSD.org, 'Nathan Whitehorn' , 'Garrett Cooper' X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Dec 2014 19:08:03 -0000 > -----Original Message----- > From: devin@shxd.cx [mailto:devin@shxd.cx] On Behalf Of > dteske@FreeBSD.org > Sent: Thursday, December 11, 2014 10:45 AM > To: 'freebsd-current' > Cc: dteske@FreeBSD.org; 'Julian Elischer'; 'Adrian Chadd'; 'Ed Maste'; > stas@FreeBSD.org; 'Nathan Whitehorn'; 'Garrett Cooper' > Subject: [TTC] Installer Enhancement -- dpv > > NB: TTC subject-moniker can be either "Time To Commit" or "Threat To > Commit" > ;D (hoping to start a trend here) > > Heads-up, > > I'm getting itchy-fingers to commit the following: > https://reviews.freebsd.org/D714 > > Been sitting idle for 16 days, if it reaches 21 days with no outcry, I'm > pulling it in. > > 5 days to raise opposition (which I guarantee to receive collegially; no > worries). > > NB: The patch was reviewed and approved once-before by julian; the only > thing that changed between prior approval/review was that I ripped > dpv/libdpv/libfigpar out into a separate commit and then rebased the > changes > to bsdinstall into a [vastly] smaller differential review. So we're not > talking about pushing unreviewed code into the tree (just wanted to make > that clear) -- rather that it's just been sitting in the unreviewed state > because of the rebase. An important note: Glen Barber has produced some new snapshots which contain the new dpv utility (the TTC is on some code which would teach bsdinstall to use said new dpv code). So if you want to give the subject matter a spin, you can load up http://lists.freebsd.org/pipermail/freebsd-snapshots/2014-December/000112.ht ml Do random stuff like: # How fast does "yes" produce output (in lines/sec)? time yes | dpv -lN 1000000000:yes # How fast are my disks at enumerating [full] metainfo? find / -ls 2> /dev/null | time dpv -l find # How fast is /dev/random vs /dev/urandom vs /dev/zero (in bytes/sec)? # aka: How fast can I read 1 Billion bytes from random, urandom, and zero? (3 Billion bytes total) time dpv -mN 1000000000:random /dev/random 1000000000:urandom /dev/urandom 1000000000:zero /dev/zero # Watch "find" output rate while saving a copy of the output to /tmp/find_root find / 2> /dev/null | dpv -lo /tmp/find_root find There are more examples in the dpv(1) manual (man dpv). -- Devin