Thread (8 messages) 8 messages, 3 authors, 2014-04-05

Re: Performance testing with bcache

From: Andrew Martin <hidden>
Date: 2014-03-14 21:16:29

----- Original Message -----
From: "Andrew Martin" <redacted>
----- Original Message -----
quoted
From: "Sitsofe Wheeler" <redacted>
...
quoted
quoted
However, if I cat /sys/block/bcache0/bcache/cache/cache_available_percent
before and after performing the read, the value is always 100. Would
using
iflag=direct be better than iflag=nocache in this case? Is there a better
way to force data into the cache for this type of performance
benchmarking?
The amount free isn't as important as the cache hits/misses ratio.
Additionally I would recommend reading the TROUBLESHOOTING PERFORMANCE
section mentioned above and posting your findings here because the
bcache defaults often defeat first attempt synthetic benchmarking...
Thanks, I will try fio with these recommended steps!
Sitsofe,

Do you have an example fio job file that has worked well for testing bcache?

Thanks,

Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help