What happened to the '-x' option of dcopy(1M) ???

Geoff Kuenning geoff at desint.UUCP
Mon Oct 29 06:19:24 AEST 1984


In article <203 at pyuxt.UUCP> neal at pyuxt.UUCP (Neal Nuckolls) writes:

>What would be the PURPOSE of forcing executables to be
>stored contiguously?  This *could* reduce drive seeking if
>accesses against the particular filesystem tend to group
>in time with type (i.e. executable, non-executable).

But they *do* group in time with their type, at least on a swapping system.
A swapping system wants 100% of the executable at the same time;  this is
obviously time grouping.  (On virtual systems, this is not nearly so clear).

>In the case of mixed programs and their data on the same
>filesystem and assuming that data i/o exceeds initial
>text load the benefit from the '-x' option would be from
>having the *non-executables* (data files) contiguous.

Data files tend to be requested in much smaller chunks, and at much less
predictable time intervals.  Head motion caused by other processes (which
does not have to happen when you are loading an executable) will interfere
with any advantages gained from making them contiguous.

In general, any time you can predict the size of a disk read ahead of time
there is an advantage in making the blocks involved in that read contiguous.
On swapping systems, you always read in the whole executable.  This is not
true in general of data files on any system.
-- 

	Geoff Kuenning
	First Systems Corporation
	...!ihnp4!trwrb!desint!geoff



More information about the Comp.unix.wizards mailing list