Re: Huge performance loss in Mountain Lion versus Snow Leopard for reads of paged-in file, what gives?
On Fri, Aug 31, 2012 at 5:32 PM, Jay Freeman <jay_reynolds_freeman@mac.com> 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 (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.app... This email sent to site_archiver@lists.apple.com
participants (1)
-
Stephen J. Butler