Self-prevention of socket buffer overflow

  • Authors:
  • Jin-Hee Choi;Young-Pil Kim;Chuck Yoo

  • Affiliations:
  • Department of Computer Science and Engineering, Korea University, A-San Science Building, No. 23, Anam-dong, Sungbuk-Gu, Seoul 136-701, Republic of Korea;Department of Computer Science and Engineering, Korea University, A-San Science Building, No. 23, Anam-dong, Sungbuk-Gu, Seoul 136-701, Republic of Korea;Department of Computer Science and Engineering, Korea University, A-San Science Building, No. 23, Anam-dong, Sungbuk-Gu, Seoul 136-701, Republic of Korea

  • Venue:
  • Computer Networks: The International Journal of Computer and Telecommunications Networking
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper proposes a self-prevention mechanism that architecturally prevents the socket buffer in the networking system from overflowing. By ''self-prevention'', we mean that the kernel takes certain actions in advance before the kernel gets into an undesirable state, such as thrashing. The shortage of any resource in the kernel may bring the kernel to an undesirable state, and socket buffer overflow is a clear example. First, we explain the reason why socket buffer problem occurs and analyze the impact of each cause through regression analysis. Then, we show how our self-prevention mechanism can minimize the socket buffer problem through simulation, followed by implementation in the Linux kernel.