🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by info-vax Thu, 24 Oct 1985 12:21
Re: sort makes big working files
#193
Author: info-vax
Date: Thu, 24 Oct 1985 12:21
42 lines
2065 bytes
From: emacs!infinet!wanginst!decvax!ittatc!dcdwest!sdcsvax!hutch@cca-unix (Jim Hutchison)

In article <4594@cca.UUCP> you write:
>From: Jeff Deifik <JDEIFIK@USC-ISIB.ARPA>
>
>I am attempting to sort a text file with the following characteristics:
>2722 blocks
>11343 lines
>variable length lines maximum 32K
>stream LF
>carraige return carriage control
>1848 characters/line actual maximum
>
>I defined sortwork0..9 to be on 5 different big disks and said
>$sort/work_files=1 foo bar
>
>My working set went up to 6087
>The free disk space on one disk went down by 500,000 blocks
>Sort seemed to use space from mainly sortwork1
>I aborted sort when the disk space on one disk ran low
>On other runs sort reported out of disk space, and aborted
>
>Why did sort try to use 500,000 blocks of space?
>What can I do to sort this file?
>	(I really want the key to be the entire line of text)
>
>	Jeff Deifik	jdeifik@usc-isib.ARPA	jdeifik@isi.ARPA
>-------

Sort uses buckets, those files are buckets.  There is an option,
don't have those manuals at hand (down a floor).  It is also nice
to know that if you drop the temp file size down, for small input
file that they will get sorted faster (fs overhead).

Shrinking the file size down for big sorts will take longer, but
then again longer is sooner than never.

/*
	Jim Hutchison	UUCP:	{dcdwest,ucbvax}!sdcsvax!hutch
			ARPA:	hutch@sdcsvax
  [ Of course, these statements were typed into my terminal while I was away. ]
*/
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads