Page MenuHomeFreeBSD

tools/regression/pmc: test multiplex drain and rotation
DraftPublic

Authored by afscoelho_gmail.com on Thu, Sep 3, 9:33 PM.
Tags
None
Referenced Files
F170657903: D59366.id.diff
Sat, Sep 5, 8:46 PM
F170657887: D59366.id.diff
Sat, Sep 5, 8:46 PM
F170573884: D59366.diff
Sat, Sep 5, 11:34 AM
Unknown Object (File)
Fri, Sep 4, 7:33 AM
Unknown Object (File)
Fri, Sep 4, 12:48 AM
Unknown Object (File)
Thu, Sep 3, 11:58 PM
Subscribers
This is a draft revision that has not yet been submitted for review.

Details

Reviewers
None
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

Diff Detail

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