avgrq-sz and avgqu-sz are too high

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



HI, guys:
    I use kernel 4.1.4, and pached 5 patches on https://git.kernel.org/cgit/linux/kernel/git/mlin/linux.git/log/?h=bcache:;

        In bcache_init() function it forgot to unregister reboot notifier if
        bcache: fix a livelock in btree lock
        fix a leak in bch_cached_dev_run()
        bcache: Add a cond_resched() call to gc
        bcache: [BUG] clear BCACHE_DEV_UNLINK_DONE flag when attaching a backing device

    My problem is  once I mount the /dev/bcache0, the util of bcache is very high:

06:14:06 PM       DEV       tps  rd_sec/s  wr_sec/s  avgrq-sz  avgqu-sz     await     svctm     %util
06:14:07 PM       sdb      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00
06:14:07 PM       sdc      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00
06:14:07 PM       sda      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00
06:14:07 PM   bcache0      0.00      0.00      0.00      0.00 1456505.00      0.00      0.00    100.00


# ./bcache-status.py -s
--- bcache ---
Device                      /dev/bcache0 (252:0)
UUID                        e5f10885-96f1-4ad3-a5ab-6e29a7b21b8d
Block Size                  4.00KiB
Bucket Size                 2.00MiB
Congested?                  False
Read Congestion             0.0ms
Write Congestion            0.0ms
Total Cache Size            1733.00GiB
Total Cache Used            1733.00GiB  (100%)
Total Cache Unused          0B  (0%)
Dirty Data                  0B  (0%)
Evictable Cache             1733.00GiB  (100%)
Replacement Policy          [lru] fifo random
Cache Mode                  writethrough [writeback] writearound none
Total Hits                  130 (%)
Total Misses                113246
Total Bypass Hits           78  (100%)
Total Bypass Misses         0
Total Bypassed              35.00MiB
--- Backing Device ---
  Device                    /dev/sdc1 (8:33)
  Size                      30733.00GiB
  Cache Mode                writethrough [writeback] writearound none
  Readahead                 0
  Sequential Cutoff         0B
  Merge sequential?         False
  State                     clean
  Writeback?                True
  Dirty Data                0B
  Total Hits                130 (%)
  Total Misses              113246
  Total Bypass Hits         78  (100%)
  Total Bypass Misses       0
  Total Bypassed            35.00MiB
--- Cache Device ---
  Device                    /dev/sda1 (8:1)
  Size                      1733.00GiB
  Block Size                4.00KiB
  Bucket Size               2.00MiB
  Replacement Policy        [lru] fifo random
  Discard?                  False
  I/O Errors                0
  Metadata Written          40.00MiB
  Data Written              5.00GiB
  Buckets                   887783
  Cache Used                1733.00GiB  (100%)
  Cache Unused              0B  (0%)


The command line of mounting /dev/bcache0:
    # mount -t xfs -o defaults,noatime,nodiratime,nobarrier /dev/bcache0 /data/bcache/



?韬{.n?????%??檩??w?{.n???{饼?r?{ay????j?f"??????_璁(????"??m???G??⒏??璀?x??




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM Kernel]     [Linux Filesystem Development]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux