Page MenuHomeFreeBSD

tools/regression/pmc: test multiplex drain and rotation
Needs ReviewPublic

Authored by afscoelho_gmail.com on Sep 3 2026, 9:33 PM.
Tags
None
Referenced Files
F176603945: D59366.id189830.diff
Tue, Oct 20, 4:12 AM
F176547562: D59366.id189830.diff
Mon, Oct 19, 6:07 PM
Unknown Object (File)
Wed, Oct 14, 2:37 PM
Unknown Object (File)
Wed, Oct 14, 3:22 AM
Unknown Object (File)
Thu, Oct 8, 9:43 AM
Unknown Object (File)
Wed, Oct 7, 10:28 AM
Unknown Object (File)
Wed, Oct 7, 1:29 AM
Unknown Object (File)
Tue, Oct 6, 7:09 PM
Subscribers

Details

Summary

Add two tests for the multiplex rotation engine.

pmc_mux_rotation_test checks that rotation is fair, that every member of
an oversubscribed group gets time on the hardware, that a pinned group
keeps its rows, and that the rotation thread stops when no group needs
it any more.

pmc_mux_drain_test reproduces the drain wedge at switch-off. It runs
pinned real-time worker threads that starve a passive drain, so it needs
-lpthread.

Sponsored by: AMD

Signed-off-by: Andre Silva <andasilv@amd.com>

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 78182
Build 75065: arc lint + arc unit

Event Timeline

Rebase on main (D60141 and D60185 are committed). No change.