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.
- Autonomic computing
- Kernel networking
- Proactive resource management
- Socket buffer overflow
ASJC Scopus subject areas
- Computer Networks and Communications