Network Adapter Application Interface Bypassing OS Context Switching

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional systems experience inefficiencies and network bandwidth degradation due to the need for context switching between applications and the operating system when processing network traffic, as most network adapters provide a single physical interface to the host processor and rely on the operating system to manage memory locations for network operations.

Innovation Solution

A system and method that allow applications to access a network adapter directly via an application-specific interface layer, enabling the network adapter to process network traffic without relying on the operating system, thereby offloading network protocol processing from the host system.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If applications use the operating system to manage network operations through a single physical interface, then the operating system can control memory locations and manage network traffic, but context switching between applications and the operating system causes latency and network bandwidth degradation

Engineering Contradiction:
Improvenetwork operation managementVSAvoidcontext switching latency
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent extracts the network protocol processing function from the operating system and implements it directly in the network adapter hardware. This allows applications to communicate with the network adapter through a dedicated interface without going through the operating system, eliminating context switching latency while maintaining reliable network operation management.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent introduces a dedicated application interface layer as an intermediary between applications and the network adapter. This interface layer enables direct communication without requiring applications to go through the operating system, thus eliminating the harmful context switching while preserving the management capabilities.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Device complexity

If a single physical interface is provided to the host processor, then the network adapter can be simplified, but multiple applications cannot efficiently access the network adapter simultaneously

Engineering Contradiction:
Improvenetwork adapter interfaceVSAvoidapplication access efficiency
Core Design Contradiction:
Device complexityVSProductivity

Solution Approach 1:

The patent segments the network adapter interface into multiple virtual interfaces, each dedicated to a specific application. Although the physical interface remains single, the virtual segmentation allows multiple applications to access the network adapter simultaneously without interference, improving productivity while keeping the physical hardware simple.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent implements a universal virtual interface layer that can serve multiple applications through a single physical interface. This multi-functional approach allows any application to access the network adapter through the dedicated interface, providing both simplicity and high efficiency.

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

3Device complexity

If the operating system manages memory locations for network operations, then memory management is centralized and simplified, but network bandwidth is degraded due to the overhead of operating system involvement

Engineering Contradiction:
Improvememory managementVSAvoidnetwork bandwidth
Core Design Contradiction:
Device complexityVSLoss of energy

Solution Approach 1:

The patent extracts memory management responsibilities from the operating system and implements them directly in the network adapter hardware. This allows applications to directly access memory locations through the dedicated interface without operating system intervention, eliminating the bandwidth overhead while maintaining simplified memory management.

Inventive Principle:
Principle #2Taking out (Extraction)

Data Source

PatentUS7639715B1Dedicated application interface for network systems
Publication Date: 2009.12.29 MARVELL ASIA PTE LTD
  • US7639715B1 patent drawing
  • US7639715B1 patent drawing
  • US7639715B1 patent drawing

AI summary

Method and system for receiving and sending network packets from a network is provided. The system includes, a host processor that executes an operating system for a host system and at least one application that runs in a context that is different from a context of the operating system; and a network adapter with a hardware device that can run a network protocol stack, wherein the application can access the network adapter directly via an application specific interface layer without using the operating system.