Kernel Tracing Socket Transfer for HPC Network Overhead

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

High-performance computing networks face bottlenecks due to double network interface processing overhead in cloud-native environments, which hampers network performance while maintaining isolation and security.

Innovation Solution

Implementing socket transferring techniques using extended Berkeley Packet Filter (eBPF) for kernel tracing, allowing for the creation of mirror connections and data filtering at the host namespace, and transferring these connections to an overlay process via temporary namespaces, thereby bypassing double network interface processing.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If socket connections are processed through double network interface in cloud-native environments, then network isolation and security are maintained, but network performance deteriorates due to processing overhead

Engineering Contradiction:
Improvenetwork isolation and securityVSAvoidnetwork performance
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent segments the network processing path by introducing a kernel tracing mechanism that separates the socket connection handling into distinct traceable events. The eBPF program divides the processing into probe points (connection-relevant system calls) and transfer points (socket duplication), allowing selective optimization without compromising security boundaries.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces an intermediary mechanism - the kernel tracing system with eBPF - that acts as a mediator between the network interfaces. This intermediary captures socket system calls at the kernel level and enables direct socket transfer between containers, bypassing the need for data to traverse both network interfaces while maintaining security through kernel-enforced tracing rules.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Productivity

If kernel tracing with eBPF is implemented for socket transfer, then network performance is enhanced by reducing overhead, but system complexity increases

Engineering Contradiction:
Improvenetwork performanceVSAvoidsystem complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent leverages the universality of the eBPF tracing framework, which is a multi-functional kernel mechanism already designed for various tracing purposes. By using this existing universal infrastructure for socket transfer, the patent avoids creating a dedicated complex system while achieving performance enhancement through a proven, versatile kernel interface.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The kernel tracing system with eBPF is self-service in nature, as it operates autonomously within the kernel space to trace and facilitate socket transfers. The eBPF program automatically probes system calls and manages the socket duplication process without requiring external management complexity, reducing the operational burden despite the technical sophistication.

Inventive Principle:
Principle #25Self-service

3Adaptability or versatility

If mirror connections are created at host namespace with dummy server and client, then socket transfer capability is enabled, but device complexity increases

Engineering Contradiction:
Improvesocket transfer capabilityVSAvoidnamespace management complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent employs nested namespaces - creating a mirror connection within the host namespace while maintaining the original container namespaces. The dummy server and client are nested within the host namespace context, allowing socket transfer capability to be layered on top of existing namespace structures without flattening or eliminating the original isolation boundaries.

Inventive Principle:
Principle #7Nested doll (Nesting)

Data Source

PatentUS11902251B2Socket transferring for HPC networks using kernel tracing
Publication Date: 2024.02.13 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US11902251B2 patent drawing
  • US11902251B2 patent drawing
  • US11902251B2 patent drawing

AI summary

A computer-implemented method for building socket transferring between containers in cloud-native environments by using kernel tracing techniques is provided including probing a connection-relevant system call event by using an eBPF to collect and filter data at a router, creating a mirror call at a host namespace with a dummy server and dummy client by creating the dummy server with mirror listening parameters, sending a server host address mapping to overlay the server host address to the client coordinator in an overlay process, and creating and connecting the dummy client to return a client host address to the server coordinator. The method further includes transferring mirror connections to the overlay process via a forwarder by temporary namespaces entering and injecting socket system calls and probing a transfer call event to map an overlay socket with a transferred dummy socket to activate duplication when the overlay socket is not locked.