1. 25 3月, 2020 1 次提交
    • K
      block/diskstats: more accurate approximation of io_ticks for slow disks · 2b8bd423
      Konstantin Khlebnikov 提交于
      Currently io_ticks is approximated by adding one at each start and end of
      requests if jiffies counter has changed. This works perfectly for requests
      shorter than a jiffy or if one of requests starts/ends at each jiffy.
      
      If disk executes just one request at a time and they are longer than two
      jiffies then only first and last jiffies will be accounted.
      
      Fix is simple: at the end of request add up into io_ticks jiffies passed
      since last update rather than just one jiffy.
      
      Example: common HDD executes random read 4k requests around 12ms.
      
      fio --name=test --filename=/dev/sdb --rw=randread --direct=1 --runtime=30 &
      iostat -x 10 sdb
      
      Note changes of iostat's "%util" 8,43% -> 99,99% before/after patch:
      
      Before:
      
      Device:         rrqm/s   wrqm/s     r/s     w/s    rkB/s    wkB/s avgrq-sz avgqu-sz   await r_await w_await  svctm  %util
      sdb               0,00     0,00   82,60    0,00   330,40     0,00     8,00     0,96   12,09   12,09    0,00   1,02   8,43
      
      After:
      
      Device:         rrqm/s   wrqm/s     r/s     w/s    rkB/s    wkB/s avgrq-sz avgqu-sz   await r_await w_await  svctm  %util
      sdb               0,00     0,00   82,50    0,00   330,00     0,00     8,00     1,00   12,10   12,10    0,00  12,12  99,99
      
      Now io_ticks does not loose time between start and end of requests, but
      for queue-depth > 1 some I/O time between adjacent starts might be lost.
      
      For load estimation "%util" is not as useful as average queue length,
      but it clearly shows how often disk queue is completely empty.
      
      Fixes: 5b18b5a7 ("block: delete part_round_stats and switch to less precise counting")
      Signed-off-by: NKonstantin Khlebnikov <khlebnikov@yandex-team.ru>
      Reviewed-by: NMing Lei <ming.lei@redhat.com>
      Signed-off-by: NJens Axboe <axboe@kernel.dk>
      2b8bd423
  2. 24 3月, 2020 1 次提交
  3. 14 3月, 2020 2 次提交
  4. 11 3月, 2020 4 次提交
  5. 06 3月, 2020 1 次提交
  6. 05 3月, 2020 2 次提交
  7. 03 3月, 2020 8 次提交
  8. 02 3月, 2020 1 次提交
    • R
      Documentation: cpufreq: Move legacy driver documentation · 03b22496
      Rafael J. Wysocki 提交于
      There are three legacy driver documents in Documentation/cpu-freq/
      that were added years ago and converting them each to the .rst
      format is rather pointless, even though there is some value in
      preserving them.  However, if they are preserved, they need to go
      into the admin-guide part of cpufreq documentation where they belong
      (at least to a certain extent).
      
      To preserve them with minimum amount of changes and put them into the
      right place, and make it possible to process them into HTML (and other
      formats) along with the rest of the documentation, move them each
      as a "literal text" block into a separate section of a single .rst
      "wrapper" file under Documentation/admin-guide/pm/.
      
      While at it, repair the PCC specification URL in one of them.
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      03b22496
  9. 25 2月, 2020 3 次提交
  10. 21 2月, 2020 8 次提交
  11. 20 2月, 2020 1 次提交
  12. 19 2月, 2020 8 次提交