Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Aug 2017 10:14:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 221953] cam iosched: Limit the quanta default to hz if it's below 200
Message-ID:  <bug-221953-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221953

            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@FreeBSD.org
          Reporter: fk@fabiankeil.de
             Flags: mfc-stable11?

Created attachment 185945
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D185945&action=
=3Dedit
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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-221953-8>