🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.cray
Article #287

sort under unicos

#287
From: Richard S. Freedman
Date: Wed, 12 Jun 1991 18:32
33 lines
1952 bytes
   This is a summary of improvements to the CRAY unicos [6.0] sort
that resulted from work done by a consultant at the Nasa Ames CCF.  Since I
received so many messages on this topic, I am posting this summary as a
reply.  The consultant said that the real problem is that unix sort was
written for a machine with virtual memory, and since the cray does not have
this feature the routine is very inefficient.

   Various people suggested that I use the SSD as the temporary disk
storage cache, but this is not possible because our SSD is currently
used as storage that mimics the scratch disk.  The only improvements possible
with a "quick fix" were:

        Assign the scratch disk as the temporary file space used by sort:
        [-T $TMP]
        recompile the sort routine so that it will use more memory when
        maximum memory is required [-y].

        reset various parameters inside sort:
        increased number of scratch files to 50
        set mthresh to 32
        set treez to 128
        set maximum memory to 2048 X 2048

   More improvement is possible according to the consultant, but this will
require time to implement the changes and more consultation with cray
consultants.

Richard Freedman
NASA Ames
freedman@amelia.nas.nasa.gov
         or
freedman@pan.arc.nasa.gov
Technical Details
Message-ID: <1991Jun12.183247.1767@nas.nasa.gov>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!spool.mu.edu!rex!wuarchive!sdd.hp.com!mips!ptimtc!nntp-server.caltech.edu!mustang!data.nas.nasa.gov!amelia!freedman

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!spool.mu.edu!rex!wuarchive!sdd.hp.com!mips!ptimtc!nntp-server.caltech.edu!mustang!data.nas.nasa.gov!amelia!freedman
From: freedman@nas.nasa.gov (Richard S. Freedman)
Newsgroups: comp.unix.cray
Subject: sort under unicos
Summary: Results of attempt to improve unix sort routine
Message-ID: <1991Jun12.183247.1767@nas.nasa.gov>
Date: 12 Jun 91 18:32:47 GMT
Sender: Richard Freedman
Reply-To: freedman@amelia.nas.nasa.gov (Richard S. Freedman)
Organization: NASA-Ames Research Center
Lines: 33