git: debug - Add seekbench.c

看板DFBSD_commit作者時間15年前 (2010/11/22 06:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 148ebfe253b369f85e0ebc995806349294af3ea7 Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Sun Nov 21 14:21:31 2010 -0800 debug - Add seekbench.c * Add a little program which purposefully attempts to defeat OS and disk caches to calculate seek latencies for different relative seek spans. Well, this doesn't tell us anything we didn't know already, that being that unless one can make accesses use of the HDs zone cache well anything other than a linear read is going to have a fairly huge seek-time cost. Summary of changes: test/debug/seekbench.c | 80 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 80 insertions(+), 0 deletions(-) create mode 100644 test/debug/seekbench.c http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/148ebfe253b369f85e0ebc995806349294af3ea7 -- DragonFly BSD source repository
文章代碼(AID): #1CwPtc_G (DFBSD_commit)