Why 3 and 7? (was Re: patching uucico)

Bruce Lilly bruce at balilly
Sun Jun 9 02:01:26 AEST 1991


In article <1991Jun7.050757.18586 at fithp> mhw at fithp (Marc Weinstein) writes:
>From article <1991Jun3.024220.19047 at netcom.COM>, by gandrews at netcom.COM (Greg Andrews):
>> 
>> The protocol's design limits the maximum window size to 7.  The default size
>> of 3 was probably just the figure that the designers found to be optimal
>> for transfer:  Kept the data flowing in a steady stream, and didn't hog the
>> system resources too much.
>
>Is it that there isn't sufficient buffer space for more than 7 packets?

3 bits are allocated to describe the number of windows; 7 is the absolute
maximum.

The packet size can be up to 4096 bytes (in powers of 2), but it's not
easy to change by patching the uucico binary (reason: the code uses an
immediate load instruction (2 bytes) which cannot load a larger number
than 64 without problems due to sign extension).

There is a published description of the uucp g protocol; consult it for
more details (it has been posted to comp.mail.uucp many times, and should
be available at several archive sites).

-- 
	Bruce Lilly		bruce%balilly at sonyd1.Broadcast.Sony.COM



More information about the Comp.sys.3b1 mailing list