prefetch

package
v0.1.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 12, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package prefetch hints frame memory into the cache ahead of first use.

A received frame was written by the NIC's DMA engine, so its first read by the CPU misses every cache on machines without inbound-DMA cache placement (EPYC has none). A parser that walks a batch pays that miss serially, packet after packet; hinting the whole batch first lets the misses overlap.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func T0

func T0(p unsafe.Pointer)

T0 requests the cache line at p into every level of the cache.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL