/[base]
ViewVC logotype

Revision 323831


Jump to revision: Previous Next
Author: imp
Date: Wed Sep 20 21:25:56 2017 UTC (6 years, 9 months ago)
Changed paths: 1
Log Message:
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


Changed paths

Path Details
Directoryhead/sys/cam/cam_iosched.c modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27