Page 1 of 1

Feature proposal: HDD sleep resume

Posted: Sun Mar 17, 2019 8:20 am
by jussssx1
Hello,

One of the great advantages of primocache is to cache writes to HDD. However,
most mechanical hard disks enter into sleep mode when not used actively, and
the spin-up time can be up to 4 seconds. Currently primocache starts caching
the writes, but the HDD wakes only when the buffer is about to be flushed. Could
this be improved so that when Primocache identifies it's caching writes to HDD
(and the buffer wait time is not indefinite), primocache would wake HDD
immediately? This would remove significant drop in writing performance to HDD
(currently HDD is only woken up after buffer is about to be flushed, and this
causes huge IO burden to HDD, and writes during that time are quite slow)

Re: Feature proposal: HDD sleep resume

Posted: Mon Mar 18, 2019 3:53 am
by Support
When defer-write is enabled, PrimoCache already has a mechanism to prevent HDD from sleeping/waking too frequently (as this will cause high C1 issue).