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.
Bibliographical noteFunding Information:
This work was supported by Grant No. R01-2004-000-10588-0 from the Basic Research Program of the Korea Science & Engineering Foundation.
- Autonomic computing
- Kernel networking
- Proactive resource management
- Socket buffer overflow
ASJC Scopus subject areas
- Computer Networks and Communications