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


View this message in rfc822 format

From: Rogier Wolff <R.E.Wolff <at> BitWizard.nl>
To: 10877 <at> debbugs.gnu.org
Subject: bug#10877: Wimpy external files. 
Date: Fri, 24 Feb 2012 14:53:57 +0100
Hi,

I understand the need for external temporary files. (I rewrote dos 3.3
sort for personal use when I got my first computer in 1987). 

However on my 8G machine sort imho is allowed to use say 200M or maybe
even 2000M of core memory. If you write a temporary file every
20Mb, there will be such a whole lot of them. 


zebigbos:/> l /tmp/sort* | wc -l
163
zebigbos:/> free
             total       used       free     shared    buffers     cached
Mem:       8264484    8100420     164064          0     376756    6853884
-/+ buffers/cache:     869780    7394704
Swap:            0          0          0
zebigbos:/> 


It seems that I may be allowed to set this with the -S option. The
manual does not mention a default. A more sensible default would be in
order.

	Roger. 


-- 
** R.E.Wolff <at> BitWizard.nl ** http://www.BitWizard.nl/ ** +31-15-2600998 **
**    Delftechpark 26 2628 XH  Delft, The Netherlands. KVK: 27239233    **
*-- BitWizard writes Linux device drivers for any device you may have! --*
The plan was simple, like my brother-in-law Phil. But unlike
Phil, this plan just might work.




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.