Re: TCP performance limitations

Mike Minnich (udel!
6 Oct 87 15:21:54 GMT

In article <8710051601.AA14825@ucbvax.Berkeley.EDU>, MAB@CORNELLC.BITNET (Mark Bodenstein) writes:
> Could you provide more detail on how you unrolled this loop?
> (The complication being that the length of the loop is determined by
> the length of the data. Some alternatives I can think of would be:
> 2. to unroll the loop for each possible data length, and chose and
> execute the appropriate unrolled loop

A simple technique that has worked well for me in the past is to unroll
the loop for the longest possible length and then compute a jump into
the unrolled loop based on the length of the data to be
checksummed/copied/etc. Only one version of the unrolled loop is
needed in this case.


Mike Minnich

This archive was generated by hypermail 2.0b3 on Thu Mar 09 2000 - 14:39:34 GMT