[Bug 221956] cam iosched: Schedule cam_iosched_ticker() quanta times per second

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Sep 20 21:26:53 UTC 2017


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

--- Comment #3 from commit-hook at freebsd.org ---
A commit references this bug:

Author: imp
Date: Wed Sep 20 21:25:56 UTC 2017
New revision: 323831
URL: https://svnweb.freebsd.org/changeset/base/323831

Log:
  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
  Submitted by: Fabian Keil
  Differential Revision: https://reviews.freebsd.org/D12350

Changes:
  head/sys/cam/cam_iosched.c

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


More information about the freebsd-scsi mailing list