[Bug 221953] cam iosched: Limit the quanta default to hz if it's below 200

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Aug 31 10:14:21 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221953

            Bug ID: 221953
           Summary: cam iosched: Limit the quanta default to hz if it's
                    below 200
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: fk at fabiankeil.de
             Flags: mfc-stable11?

Created attachment 185945
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=185945&action=edit
cam iosched: Limit the quanta default to hz if it's below 200

The attached patch limits 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.

Obtained from: ElectroBSD

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list