GNU bug report logs - #10877
[sort] too eager to use temp files

Previous Next

Package: coreutils;

Reported by: Rogier Wolff <R.E.Wolff <at> BitWizard.nl>

Date: Fri, 24 Feb 2012 15:13:01 UTC

Severity: normal

Tags: fixed

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 10877 <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: Rogier Wolff <R.E.Wolff <at> BitWizard.nl>
Cc: Paul Eggert <eggert <at> cs.ucla.edu>, 10877 <at> debbugs.gnu.org
Subject: Re: bug#10877: Wimpy external files.
Date: Sat, 25 Feb 2012 14:59:21 +0000
A general note on this is to be wary of cache levels.
It may be more efficient to sort in chunks of the
cache level of the machine rather than as large
a chunk as possible.

Some very quick testing here (a while ago),
shows -S2M -T/dev/shm was as fast or faster than
big buffers, as well as being "nicer" to the rest
of the system.

cheers,
Pádraig.

p.s. ensure MALLOC_PERTURB_ is unset when benchmarking sort




This bug report was last modified 6 years and 280 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.