From owner-freebsd-current@FreeBSD.ORG Sun Aug 15 02:44:16 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 019EF10656A4; Sun, 15 Aug 2010 02:44:16 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.216.175]) by mx1.freebsd.org (Postfix) with ESMTP id 4C1F08FC0C; Sun, 15 Aug 2010 02:44:14 +0000 (UTC) Received: by qyk11 with SMTP id 11so2282035qyk.13 for ; Sat, 14 Aug 2010 19:44:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=0zL1hC91kDNdlEGCRxNPiRVolP6JQql8dHtvs3tfdQQ=; b=i3tyLYuOmjkwxJGZz8u3K3G6c5wb8Iv4XtplPWqSYA+4kHlkcLyV0xldiXVu+2rnrd krxMpGn1Qu2JCDgGavnct6/saCiDmZfpXZwqC0bjfF8owFzgebGXu2wuffJWD29VNqPu 4cp4iTf79+nuD7GsrgP8waQjyjiqIkunp7Y/I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=cX5qwv0AbHRc51iAig+7vHYY7pdsaVmfhQ1I3xqnWibhuAp+i2uiuO2ZEvRKBLEeV5 Daw+DqegnKiPKwEKK4iCr7Jx6gIwB4SSwnN0U2zPjlohyjak2GZiyR7cJbm+P6aliAgT vFzdFsfvCE/Tdn65DaZYi4gB3uwaJipbkup0I= Received: by 10.229.212.11 with SMTP id gq11mr2508889qcb.78.1281838559984; Sat, 14 Aug 2010 19:15:59 -0700 (PDT) Received: from [192.168.1.23] (216-164-48-50.c3-0.gth-ubr1.lnh-gth.md.cable.rcn.com [216.164.48.50]) by mx.google.com with ESMTPS id l8sm5495104qck.6.2010.08.14.19.15.58 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 14 Aug 2010 19:15:59 -0700 (PDT) Message-Id: From: Justin Hibbits To: Doug Barton In-Reply-To: <4C67492C.5020206@FreeBSD.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Sat, 14 Aug 2010 22:14:42 -0400 References: <4C6505A4.9060203@FreeBSD.org> <20100813085235.GA16268@freebsd.org> <4C66C010.3040308@FreeBSD.org> <4C673F02.8000805@FreeBSD.org> <20100815013438.GA8958@troutmask.apl.washington.edu> <4C67492C.5020206@FreeBSD.org> X-Mailer: Apple Mail (2.936) X-Mailman-Approved-At: Sun, 15 Aug 2010 02:53:59 +0000 Cc: delphij@freebsd.org, core@freebsd.org, Gabor Kovesdan , Steve Kargl , current@freebsd.org Subject: Re: Official request: Please make GNU grep the default X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Sun, 15 Aug 2010 02:44:16 -0000 My $0.02 may not be worth much, but ... On Aug 14, 2010, at 9:55 PM, Doug Barton wrote: > I was hoping to avoid commenting on this, but my feeling (and I > would be glad to be wrong about it) from reading the responses is > that there is a fair degree of knee-jerk reaction to what seems to > be "There's big bad dougb picking on some poor innocent developer > again!" going on here; and criticizing MY development skills either > A) makes you feel better, B) makes you think that you're dishing out > to me a little of what you think I'm dishing out to Gabor, or both. > Well fine, hope you're feeling good about yourself, and you made me > feel really small and bad. Good on you. > > Meanwhile, substitute my stupid way of doing things and defective > programming skills for any other workload of your choice. Are you > really going to tell me you've never had to grep a 20,000 line file? > Are you really going to tell me that you've never had to grep > something the size of the FreeBSD source and/or ports trees for all > the instances of $FOO? And you didn't answer either of the questions > I had in the post you responded to, so let me make it easier for you. > > Our default grep should be significantly slower than the old grep > because: > > I think that new grep which is ____ times slower than the old grep > is still in the acceptable range. > > > Doug Why not perform a run or two with portmaster and bsdgrep with profiling, and send Gabor those results? It would certainly help pinpoint the slowdown, and you would have something to point to to say "X in bsdgrep is slow, so we should switch back to GNU grep until that's fixed" rather than just "bsdgrep is slow, fix it". Like most people here, I agree that such a performance difference is rather unacceptable for a production system, but since this is -current, fixing the performance issue should be done rather than casting the whole thing aside until it's up to par. There are 28 messages in this thread already, with no consensus in sight. - Justin