Re: Severe performance degradation for dm-cache mq since c86c3070

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

 



On Fri, Sep 11, 2015 at 11:32:38PM +0300, Andrey Korolyov wrote:
> Please take a look on an
> attached results - at a given cache size smq outperforms all other
> algorithms but both new mq and smq performs poorly when cache fills up
> and issuing demotions.

Having looked at your results again I think there are two issues here:

i) You're expecting dm-cache to be a writeback cache that streams
_all_ writes to the SSD, and then updates the spindle in the
background.  It's not, it's a slow moving cache that promotes specific
regions of the spindle to the SSD.

ii) You're doing random, small, sync IO.  Which evenly hits all areas.
In this case the cache has a really hard time improving over the
performance of the spindle.  In your tests I think you have around 6G
of SSD and 48G of active data.  So only 1 in 8 IOs are going to hit the
SSD; any benefits will be marginal.  You use the same SSD size when
running with an 8G work load, so nearly every IO hits the SSD.  Hence
better performance.

Does this benchmark really reflect your use case?

- Joe

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel



[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux