Re: Page Allocation Failures/OOM with dm-crypt on software RAID10 (Intel Rapid Storage)
From: Matthias Dahl
Date: Tue Jul 12 2016 - 07:28:19 EST
Hello Michal...
On 2016-07-12 11:50, Michal Hocko wrote:
This smells like file pages are stuck in the writeback somewhere and
the
anon memory is not reclaimable because you do not have any swap device.
Not having a swap device shouldn't be a problem -- and in this case, it
would cause even more trouble as in disk i/o.
What could cause the file pages to get stuck or stopped from being
written
to the disk? And more importantly, what is so unique/special about the
Intel Rapid Storage that it happens (seemingly) exclusively with that
and not the the normal Linux s/w raid support?
Also, if the pages are not written to disk, shouldn't something error
out or slow dd down? Obviously dd is capable of copying zeros a lot
faster than they could ever be written to disk -- and still, it works
just fine without dm-crypt in-between. It is only when dm-crypt /is/
involved, that the memory gets filled up and things get out of control.
Thanks,
Matthias
--
Dipl.-Inf. (FH) Matthias Dahl | Software Engineer | binary-island.eu
services: custom software [desktop, mobile, web], server administration