]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rbd: Use a rolling average to compute RBD write throughput
authorJason Dillaman <dillaman@redhat.com>
Sun, 7 Sep 2014 04:50:55 +0000 (00:50 -0400)
committerJosh Durgin <josh.durgin@inktank.com>
Fri, 19 Sep 2014 20:53:43 +0000 (13:53 -0700)
commitb47fdd400e14bd1b5e5bea9d18f895c92b8050be
treeff78161cbea2b894a647999f8a73e55a9b2d9a05
parente34b8ad55b41ebcac2b35d84c00fd625787ad5cd
rbd: Use a rolling average to compute RBD write throughput

Replace the cumulative average with a rolling average
to better expose variations within IOS/sec and bytes/sec.

Fixes: #9374
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
src/rbd.cc