summaryrefslogtreecommitdiff
path: root/src/readahead/readahead-collect.c
diff options
context:
space:
mode:
authorLauri Kasanen <curaga@operamail.com>2012-06-03 18:11:58 +0300
committerKay Sievers <kay@vrfy.org>2012-06-04 16:02:33 +0200
commita52289f7f50b3e851bf831cb692eea9ff02e9b50 (patch)
treeefff592c9d9665d006b6c1ec8b22d813fad64993 /src/readahead/readahead-collect.c
parentec6ceb18663940efb1963704923430be0e83f1f7 (diff)
udev: lower the starting children_max -> drop the minimum required RAM from 23mb to 5mb
Udev was the limiting factor for us on low-RAM systems. Given an average RSS of 180kb, 128 workers would require ~23mb of RAM. Now, please consider what happens when there is only, say, 15mb free. Udev protects itself from OOM, and the kernel can do nothing but panic. 28 workers * 0.18mb = ~5mb. This change should not affect more powerful systems much, given that they still get the addition from the amount of RAM.
Diffstat (limited to 'src/readahead/readahead-collect.c')
0 files changed, 0 insertions, 0 deletions