Improving the efficiency of the OSI checksum calculation

  • Authors:
  • K. Sklower

  • Affiliations:
  • -

  • Venue:
  • ACM SIGCOMM Computer Communication Review
  • Year:
  • 1989

Quantified Score

Hi-index 0.00

Visualization

Abstract

It is known that using larger byte--sizes to access memory usually results in faster computations of checksum algorithms. This paper proposes two different ways to use larger byte--sizes to improve the performance of the OSI checksum. First, an algorithm is presented that computes the 8--bit checksum using 16-bit integers. It is shown that this algorithm yields a 5 to 20 percent performance improvement on many architectures. Second, the benefits of expanding the basic computation unit of the OSI checksum algorithm to 16--bits integers is considered. This change can yield an additional performance improvement of up to 50% and greatly extended error detection properties, although it is incompatible with the current standard. The measurements of these algorithms are compared with some taken of checksums in common use, such as IP and XNS†.