E
E
EVGENIJ NEFEDOV2021-06-10 11:36:27
Solid State Drives
EVGENIJ NEFEDOV, 2021-06-10 11:36:27

Does an NVME SSD slow down when using it in lvm cache?

There is a task, resetting "cold" files from ssd to hdd, you can implement it by creating lvm from hdd and connecting a cache in the form of ssd to it, it turns out that all hot data will spin on ssd, but the question is whether ssd performance will degrade in this scheme because of such an interlayer, rather than the data was purely on ssd?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Artem @Jump, 2021-06-10
@nefedovgeka

Depending on what you mean by speed.
The speed of reading / writing directly from the disk will not change in any way - it does not matter to the disk.
But the system will receive information with a delay - latency will increase.
Well, the load on the processor will increase.
Well, when you put a disk in the cache, you need to understand that TRIM will not work, so you need to leave a fairly large over.

R
Ronald McDonald, 2021-06-10
@Zoominger

As far as I know, LVM understands the difference between SSD and HDD, including all sorts of chips like trim, so bet it shouldn't degrade.

A
Armenian Radio, 2021-06-10
@gbg

My bcache works well for this purpose.
It all depends on the specific situation - it's easier to collect and conduct a benchmark than to play a guessing game.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question