HomeFreeBSD

busdma: On systmes that use subr_busdma_bounce, measure deferred time

Description

busdma: On systmes that use subr_busdma_bounce, measure deferred time

Measure the total deferred time (from the time we decide to defer until
we try again) for busdma_load requests. On systems that don't ever
defer, there is no performnce change. Add new sysctl
hw.busdma.zoneX.total_deferred_time to report this (in
microseconds).

Normally, deferrals don't happen in modern hardware... Except there's a
lot of buggy hardware that can't cope with memory > 4GB or that can't
cross a 4GB boundary (or even more restrictive values), necessitating
bouncing. This will measure the effect on the I/Os of this deferral.

Sponsored by: Netflix
Reviewed by: gallatin, mav
Differential Revision: https://reviews.freebsd.org/D42550

Details

Provenance
impAuthored on Nov 13 2023, 2:23 PM
Reviewer
gallatin
Differential Revision
D42550: busdma: On systmes that use subr_busdma_bounce, measure deferred time
Parents
rGcb57f50e6404: defaults: oomprotect sshd and local_unbound
Branches
Unknown
Tags
Unknown