Page MenuHomeFreeBSD

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

Authored by afscoelho_gmail.com on Thu, Sep 3, 9:33 PM.
Tags
None
Referenced Files
F172044199: D59366.diff
Tue, Sep 15, 4:45 PM
Unknown Object (File)
Tue, Sep 15, 7:09 AM
Unknown Object (File)
Sun, Sep 13, 11:40 AM
Unknown Object (File)
Sun, Sep 13, 12:30 AM
Unknown Object (File)
Sat, Sep 12, 6:08 PM
Unknown Object (File)
Sat, Sep 12, 12:59 PM
Unknown Object (File)
Sat, Sep 12, 9:14 AM
Unknown Object (File)
Fri, Sep 11, 5:48 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 76460
Build 73343: arc lint + arc unit