Page MenuHomeFreeBSD

cam iosched: Limit the quanta default to hz if it's below 200
ClosedPublic

Authored by fk_fabiankeil.de on Sep 12 2017, 10:17 AM.
Tags
None
Referenced Files
F148075712: D12337.id32955.diff
Sun, Mar 15, 2:26 PM
F148075709: D12337.id32955.diff
Sun, Mar 15, 2:26 PM
F148075692: D12337.id32955.diff
Sun, Mar 15, 2:26 PM
F147920467: D12337.id32995.diff
Sat, Mar 14, 4:24 PM
Unknown Object (File)
Mon, Mar 2, 8:38 AM
Unknown Object (File)
Wed, Feb 18, 2:46 PM
Unknown Object (File)
Tue, Feb 17, 12:19 PM
Unknown Object (File)
Jan 11 2026, 5:16 PM
Subscribers
None

Details

Summary

cam iosched: Limit the quanta default to hz if it's below 200

Previously the quanta default was always 200 while hz defaults
to 100 when running in a vm.

The cam_iosched_ticker() can't be scheduled more than once per tick
and some of the limiters depend on quanta matching the number of calls
per second to enforce the proper limits.

PR: 221953
Obtained from: ElectroBSD

Diff Detail

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

Event Timeline

This looks good, but isn't the patch I expected from private email. I'll take a dry-run at committing it.

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