Re: Huge performance loss in Mountain Lion versus Snow Leopard for reads of paged-in file, what gives?
Re: Huge performance loss in Mountain Lion versus Snow Leopard for reads of paged-in file, what gives?
- Subject: Re: Huge performance loss in Mountain Lion versus Snow Leopard for reads of paged-in file, what gives?
- From: "Stephen J. Butler" <email@hidden>
- Date: Fri, 31 Aug 2012 23:38:08 -0500
On Fri, Aug 31, 2012 at 5:32 PM, Jay Freeman
<email@hidden> wrote:
> I have encountered a large discrepancy in run times for grepping from an (evidently) paged-in file in Mountain Lion (10.8.1) versus Snow Leopard (10.6.8); Mountain Lion is about THIRTY TIMES slower:
Could it be a difference in the grep version? Looks like Apple
switched from GNU to BSD grep.
snow-leopard:~ admin$ sw_vers
ProductName: Mac OS X Server
ProductVersion: 10.6.8
BuildVersion: 10K549
snow-leopard:~ admin$ /usr/bin/grep -V
grep (GNU grep) 2.5.1
Copyright 1988, 1992-1999, 2000, 2001 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
mountain-lion:~ admin$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.8.1
BuildVersion: 12B19
mountain-lion:~ admin$ /usr/bin/grep -V
grep (BSD grep) 2.5.1-FreeBSD
Try installing MacPorts/Homebrew/Fink to get GNU grep on ML and see if
that solves your problem.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden