According to Berthold Cogel: > I suggest to add a new configuration parameter to htdig: > > sort_buffer (or something similar) > > It should be used for the configuration of the system sort that is > invoked during the dig and merge run. > > We did some tests with htdig-3.1.6 and observed that the system sort > (RedHat) uses the size of the free memory to define its buffer size. > But on large server systems there is sometimes a lot of unused memory > assigned to cache that can be used by sort. > > By using sort_buffer to configure the --buffer-size of the sort calls it > is possible to increase the performance of sort. And it can be used to > restrict sort on small machines.
Don't expect to see any new features in the 3.1.x series. If there's a 3.1.7 release, it will be bug fixes only, but even that is looking less likely, as developer effort is now working towards a 3.2.0 release candidate. 3.2 has done away with the external sort of an ASCII word list. I think the easiest way to do what you're requesting is to set the SORT environment variable before running ./configure, to pass the options you want, or to get it to use a sort wrapper script of your choosing which can be configured later. E.g.: SORT="/bin/sort --buffer-size=xxx" ./configure or SORT="/usr/local/bin/bigbufsort" ./configure I haven't actually tried either of these, but based on my understanding of the configure script and how the SORT program name is passed on to and used by htmerge/words.cc, I think either of these tricks will work. -- Gilles R. Detillieux E-mail: <[EMAIL PROTECTED]> Spinal Cord Research Centre WWW: http://www.scrc.umanitoba.ca/ Dept. Physiology, U. of Manitoba Winnipeg, MB R3E 3J7 (Canada) ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ ht://Dig general mailing list: <[EMAIL PROTECTED]> ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html List information (subscribe/unsubscribe, etc.) https://lists.sourceforge.net/lists/listinfo/htdig-general

