Skip to contentSkip to conversation

"Benchmarks"

DISCUSSION Brad Campbell 2 participants 3 messages Oct 22, 2011 – Oct 27, 2011 2 messages not in the archive bcache (block layer cache)

lore
Share & tools
lore
#0 lore raw

I use the term loosely.

This is with the raw drive being a Maxtor MaxlineII 250GB 7200RPM SATA unit. It's about a 2004 vintage with over 30,000 hours on it. Slow and steady.

The Cache device is an OCZ Vertex Plus 120GB Unit. Not all that fast or clever. The Cache has writeback enabled and is formatted with -w512 so that direct IO worked as previously discussed.

The benchmark is conducted inside an XP VM running under KVM. The device is a qcow2 backing file formatted NTFS. I ran the test multiple times without the cache until the numbers stabilised (the backing file was being expanded as required)

http://www.fnarfbargle.com/private/111022_bcache/Without_Cache.png
http://www.fnarfbargle.com/private/111022_bcache/With_Cache.png

As expected a significant improvement in random small I/O. The VM is far more responsive with the cache.

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

Cool!

The thing I'd be really curious about is what the benchmarks would look like if you were using only the SSD, no bcache.

How happy are you with it?

Quoted 25 lines · Brad Campbell

I use the term loosely.

This is with the raw drive being a Maxtor MaxlineII 250GB 7200RPM SATA unit. It's about a 2004 vintage with over 30,000 hours on it. Slow and steady.

The Cache device is an OCZ Vertex Plus 120GB Unit. Not all that fast or clever. The Cache has writeback enabled and is formatted with -w512 so that direct IO worked as previously discussed.

The benchmark is conducted inside an XP VM running under KVM. The device is a qcow2 backing file formatted NTFS. I ran the test multiple times without the cache until the numbers stabilised (the backing file was being expanded as required)

http://www.fnarfbargle.com/private/111022_bcache/Without_Cache.png
http://www.fnarfbargle.com/private/111022_bcache/With_Cache.png

As expected a significant improvement in random small I/O. The VM is far more responsive with the cache.

--
To unsubscribe from this list: send the line "unsubscribe linux-bcache" in the body of a message to [email protected] More majordomo info at  http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): CAC7rs0s3qCDYGnkbMv3NmxFR740mo48vV0mZa54TKbomFB7kjg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org

#4 lore raw
Quoted 4 lines · Kent Overstreet

Cool!

The thing I'd be really curious about is what the benchmarks would look like if you were using only the SSD, no bcache.

I'll see what I can do when I next fire up the staging server.

Quoted 1 line

How happy are you with it?

Well, it does what it says on the tin for quick and dirty benchmarks, but I really can't even contemplate it on a production machine until it is compatible with md, and preferably has dirty write mirroring.

Now I have a permanent staging server, I'll keep playing with it as the code evolves though.