Page MenuHomeFreeBSD

cam iosched: Schedule cam_iosched_ticker() quanta times per second
ClosedPublic

Authored by fk_fabiankeil.de on Sep 13 2017, 7:02 AM.
Tags
None
Referenced Files
F105813155: D12350.id33004.diff
Sat, Dec 21, 1:56 AM
F105806546: D12350.diff
Fri, Dec 20, 11:26 PM
Unknown Object (File)
Tue, Dec 10, 2:26 AM
Unknown Object (File)
Sat, Dec 7, 12:29 AM
Unknown Object (File)
Mon, Dec 2, 7:36 AM
Unknown Object (File)
Oct 22 2024, 3:17 PM
Unknown Object (File)
Oct 8 2024, 2:13 AM
Unknown Object (File)
Oct 2 2024, 10:15 AM
Subscribers
None

Details

Summary

cam iosched: Schedule cam_iosched_ticker() quanta times per second

Previously callout_reset() was called with a "ticks" value that was off by one.
As a result cam_iosched_ticker() was called a bit too frequently:
On systems with hz=1000 a quanta value of 200 resulted in ~250 calls
and a value of 100 in ~111 calls.

For the "queue_depth" and "bandwidth" limiters the difference
doesn't matter but the "iops" limiter depends on the scheduling
to enforce the correct maximum.

PR: 221956
Obtained from: ElectroBSD

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Sep 20 2017, 9:20 PM
This revision was automatically updated to reflect the committed changes.