On 01.08.2016 14:14, Ralf-Peter Rohbeck wrote:
On 01.08.2016 13:26, Michal Hocko wrote:
sdc, sdd and sde each at max speed, with a little bit of garden
variety IO
on sda and sdb.
So do I get it right that the majority of the IO is to those slower USB
disks? If yes then does lowering the dirty_bytes to something smaller
help?
Yes, the vast majority.
I set dirty_bytes to 128MiB and started a fairly IO and memory
intensive process and the OOM killer kicked in within a few seconds.
Same with 16MiB dirty_bytes and 1MiB.
Some additional IO load from my fast subsystem is enough:
At 1MiB dirty_bytes,
find /btrfs0/ -type f -exec md5sum {} \;
was enough (where /btrfs0 is on a LVM2 LV and the PV is on sda.) It
read a few dozen files (random stuff with very mixed file sizes, none
very big) until the OOM killer kicked in.
I'll try 4.6.
With Debian 4.6.0.1 (4.6.4-1) it works: Writing to 3 USB drives and
running each of the 3 tests that triggered the OOM killer in parallel,
with default dirty settings.
Ralf-Peter
----------------------------------------------------------------------
The information contained in this transmission may be confidential. Any disclosure, copying, or further distribution of confidential information is not permitted unless such privilege is explicitly granted in writing by Quantum. Quantum reserves the right to have electronic communications, including email and attachments, sent across its networks filtered through anti virus and spam software programs and retain such messages in order to comply with applicable data security and retention requirements. Quantum is not responsible for the proper and complete transmission of the substance of this communication or for any delay in its receipt.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>