Methods and apparatus for low latency operation in user space networking

    公开(公告)号:US11477123B2

    公开(公告)日:2022-10-18

    申请号:US16936228

    申请日:2020-07-22

    Applicant: Apple Inc.

    Abstract: Methods and apparatus for low latency operation in user space networking architectures. In one embodiment, an apparatus configured to enable low latency data transfer is disclosed. The exemplary embodiment provides a multiplexer that allocates a fixed portion of network bandwidth for low latency traffic. Low latency traffic is routed without the benefit of general-purpose packet processing. In one embodiment, network extensions for low latency operations are described. Specifically, an agent is described that enables low latency applications to negotiate for low latency access. In one embodiment, mechanisms for providing channel event notifications are described. Channel event notifications enable corrective action/packet processing by the low latency application. In one embodiment, mechanisms for providing interface advisory information are described. Interface advisory information may be provided asynchronously to assist in low latency operation.

    METHODS AND APPARATUS FOR DEVICE DRIVER OPERATION IN NON-KERNEL SPACE

    公开(公告)号:US20210097006A1

    公开(公告)日:2021-04-01

    申请号:US16936143

    申请日:2020-07-22

    Applicant: Apple Inc.

    Abstract: Methods and apparatus for device driver operation in non-kernel space. In one embodiment, an apparatus configured to configured to interface to a component device driver within non-kernel space is disclosed. The exemplary embodiment restricts device drivers to fewer privileges than kernel processes, while still providing acceptable real-time performance. In another embodiment, mechanisms for non-kernel space device driver operation are described. In one exemplary embodiment, a shared memory interface between kernel space and device drivers enables e.g., a zero-copy device driver architecture.

    METHODS AND APPARATUS FOR EARLY DELIVERY OF DATA LINK LAYER PACKETS

    公开(公告)号:US20190342225A1

    公开(公告)日:2019-11-07

    申请号:US15973153

    申请日:2018-05-07

    Applicant: Apple Inc.

    Abstract: Methods and apparatus for non-sequential packet transfer. Prior art multi-processor devices implement a complete network communications stack at each processor. The disclosed embodiments provide techniques for delivering network layer (L3) and/or transport layer (L4) data payloads in the order of receipt, rather than according to the data link layer (L2) order. The described techniques enable e.g., earlier packet delivery. Such design topologies can operate within a substantially smaller memory footprint compared to prior art solutions. As a related benefit, applications that are unaffected by data link layer corruptions can receive data immediately (rather than waiting for the re-transmission of an unrelated L4 data flow) and thus the overall network latency can be greatly reduced and user experience can be improved.

    METHODS AND APPARATUS FOR DYNAMIC PACKET POOL CONFIGURATION IN NETWORKING STACK INFRASTRUCTURES

    公开(公告)号:US20190306087A1

    公开(公告)日:2019-10-03

    申请号:US16363495

    申请日:2019-03-25

    Applicant: Apple Inc.

    Abstract: Methods and apparatus for dynamic packet pool configuration in networking stack architectures. Unlike prior art monolithic memory allocations, embodiments of the present disclosure enable packet pools associated with non-kernel space applications to dynamically allocate additional memory allocations to a given non-kernel space application, or conversely, de-allocate memory allocations to a given non-kernel space application. Variants also disclose the splitting up of a memory allocation into device accessible portions and kernel accessible portions. Other variants disclose sizing certain segment allocations so as to be a multiple of a physical address page size. Such a variant enables a single input/output (I/O) bus address lookup for the given segment so as to minimize look up costs associated with an I/O lookup for the given segment.

    METHODS AND APPARATUS FOR PREVENTING PACKET SPOOFING WITH USER SPACE COMMUNICATION STACKS

    公开(公告)号:US20190303221A1

    公开(公告)日:2019-10-03

    申请号:US16146324

    申请日:2018-09-28

    Applicant: Apple Inc.

    Abstract: Methods and apparatus for efficient data transfer within a user space network stack. Unlike prior art monolithic networking stacks, the exemplary networking stack architecture described hereinafter includes various components that span multiple domains (both in-kernel, and non-kernel). For example, unlike traditional “socket” based communication, disclosed embodiments can transfer data directly between the kernel and user space domains. Direct transfer reduces the per-byte and per-packet costs relative to socket based communication. A user space networking stack is disclosed that enables extensible, cross-platform-capable, user space control of the networking protocol stack functionality. The user space networking stack facilitates tighter integration between the protocol layers (including TLS) and the application or daemon. Exemplary systems can support multiple networking protocol stack instances (including an in-kernel traditional network stack).

Patent Agency Ranking