rac@sherpa.UUCP (Roger Cornelius) (03/23/91)
From article <1991Mar21.195435.3681@kithrup.COM>, by sef@kithrup.COM (Sean Eric Fagan):
- In article <107@comix.UUCP> jeffl@comix.UUCP (Jeff Liebermann) writes:
->I was told by SCO
->that it was not a problem because the sort program still yields valid
->results.
-
- No, you were told by me, from home, that SCO probably wouldn't consider it a
- bug, as it still works. Making it work more quickly is a feature; there are
- things that yield wrong results that need to be taken care of first. I
- never said it wasn't a problem. In fact, it really is a problem, just not a
- bug.
SCO sent me a "fix" to the internationalization stuff in
/usr/lib/lang.src, which "corrects" the problem. Now my old 286
XENIX sort is only 2.5 times faster than the UNIX 3.2.2 sort, instead
of 4 times faster. I guess I need to buy a 486 :-).
(Send email if you want the "fix")
--
Roger A. Cornelius rac@sherpa.UUCP uunet!sherpa!rac
jeffl@comix.UUCP (Jeff Liebermann) (03/24/91)
In article <530@sherpa.UUCP> rac@sherpa.UUCP (Roger Cornelius) writes: >From article <1991Mar21.195435.3681@kithrup.COM>, by sef@kithrup.COM (Sean Eric Fagan): >- In article <107@comix.UUCP> jeffl@comix.UUCP (Jeff Liebermann) writes: >->I was told by SCO >->that it was not a problem because the sort program still yields valid >->results. > >SCO sent me a "fix" to the internationalization stuff in >/usr/lib/lang.src, which "corrects" the problem. Now my old 286 >XENIX sort is only 2.5 times faster than the UNIX 3.2.2 sort, instead >of 4 times faster. I guess I need to buy a 486 :-). >Roger A. Cornelius rac@sherpa.UUCP uunet!sherpa!rac My thanks for the idea. Just for fun, I renamed /usr/lib/lang/ directory to /usr/lib/langgggg so that sort wouldn't find it. I assumed that sort had some kind of internal default sort order. Bingo! Benchmarks as follows. Now it's only 3 times as slow as 3.2.0 instead of 12 times as slow. /bin/time /bin/sort /etc/termcap > /dev/null Using the 3.2.2 sort program with /usr/lib/lang/* in place. real 21.6 user 21.4 sys 0.1 Using the 3.2.2 sort program with /usr/lib/lang renamed to /usr/lib/langgggg real 4.1 user 3.9 sys 0.1 Using the 3.2.0 sort program with /usr/lib/lang/* in place. real 1.4 user 0.8 sys 0.1 Using Xenix 2.3.3 sort program on similar hardware. (386/25) real 1.7 user 1.2 sys 0.0 I'm not sure of the side effects of this trick. All of the sort order options seem to function without suprise or crash. I have not tinkered with /usr/lib/lang (see man pages for "locale"). Use at your own risk and discretion. -- # Jeff Liebermann Box 272 1540 Jackson Ave Ben Lomond CA 95005 # (408)336-2558 voice (408)429-0483 digital pager wb6ssy CIS:73557,2074 # PC REPAIR & RF DESIGN. Committee Against Double Spacing And Wide Margins. # jeffl@comix.santa-cruz.ca.us uunet!comix!jeffl ucscc.ucsc.edu!comix!jeffl