syscall/getpid

Micro-benchmark measuring getpid system call round-trip latency.

Benchmark Profile

  • Type: Micro

  • Kernel subsystem: Syscall path, task metadata lookup

  • Coverage: Directly measured

  • Topology: Single role: executer

Overview

Measures the cost of invoking the getpid(2) syscall in a tight loop. A simple baseline for kernel entry/exit overhead, sensitive to spectre mitigations, syscall dispatch changes, and vDSO routing.

Fastpath Parameters

Name

Description

iterations

Number of syscall iterations per measurement. Mandatory.

syscall

Syscall to benchmark. Set to ‘getpid’ for this benchmark.

Result Classes

Single result class reporting latency in nanoseconds.

Fastpath Metadata

Field

Value

Suite

syscall

Name

getpid

Type

micro

Container Image

registry.gitlab.arm.com/tooling/fastpath/containers/microbench:v2.0

Documentation Path

documentation/user-guide/benchmarkcatalog/syscall-getpid.rst

Documentation URL

https://fastpath.docs.arm.com/user-guide/benchmarkcatalog/syscall-getpid.html