General request .. Dismal performance of core 3 ..
Nifty Hat Mitch
mitch48 at sbcglobal.net
Thu Dec 30 02:45:04 UTC 2004
On Mon, Dec 20, 2004 at 02:12:45PM -0500, Sundara Pandian wrote:
> some real world situations like this is noticeable .
>
...
> 2. Searching for text in file across a particular directory with
> same number of files
> eg : find /backup -name *.dbf | xargs grep somestring
This is a good time and place to hint at how hard it is to benchmark.
In defense of Fedora it is more 'international' than historic
distributions see below.
Others noted some grep bugs but there is more to this than that bug.
Sometimes it can be unclear that the benchmarks are different even
when the command line is identical. Simple but hidden environment
settings can have a big impact. Package configuration options can
do the same thing but more opaquely.
In this case . contains more than enough files to blast DRAM file cache.
$ echo $LANG
en_US.UTF-8
$ time find . -type f -print0 | xargs -0 grep somestringNotExpected2bfound
real 56m3.461s
user 37m46.166s
sys 2m16.925s
$ export LANG=C
$ echo $LANG
C
$ time find . -type f -print0 | xargs -0 grep somestringNotExpected2bfound
real 24m14.130s
user 0m27.026s
sys 1m37.820s
This is a big delta..... on the same FC2 system.
YMMV...
--
T o m M i t c h e l l
spam unwanted email.
SPAM, good eats, and a trademark of Hormel Foods.
More information about the fedora-list
mailing list