Page MenuHomeFreeBSD

sfxge: Expect required init_state on data path and in periodic calls
ClosedPublic

Authored by arybchik on Jan 28 2015, 8:14 AM.
Tags
None
Referenced Files
Unknown Object (File)
May 9 2024, 7:15 AM
Unknown Object (File)
Dec 28 2023, 11:53 AM
Unknown Object (File)
Dec 20 2023, 12:03 AM
Unknown Object (File)
Nov 10 2023, 5:38 AM
Unknown Object (File)
Aug 19 2023, 4:58 PM
Unknown Object (File)
Aug 13 2023, 6:16 AM
Unknown Object (File)
Aug 2 2023, 6:08 PM
Unknown Object (File)
Jul 24 2023, 2:00 PM
Subscribers

Details

Reviewers
gnn
Summary

Sponsored by: Solarflare Communications, Inc.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

arybchik retitled this revision from to sfxge: Expect required init_state on data path and in periodic calls.
arybchik updated this object.
arybchik edited the test plan for this revision. (Show Details)
arybchik added a reviewer: gnn.
arybchik added a subscriber: Unknown Object (MLST).
gnn requested changes to this revision.Jan 29 2015, 4:00 PM
gnn edited edge metadata.

__predict_false rarely, if ever, does the right thing. Have you run any benchmarks to show that this improves performance?

This revision now requires changes to proceed.Jan 29 2015, 4:00 PM

I did measurements when implemented the patch and just retested once again using pmcstat instruction and BR_MISP_RETIRED.ALL_BRANCHES counters.
With the patch applied the number of instruction events is 1% less and number of mispredicted branch events is 5% less.

arybchik edited subscribers, added: network; removed: Unknown Object (MLST).
gnn edited edge metadata.
This revision is now accepted and ready to land.Feb 26 2015, 4:23 PM