# Re: 2.6.27.8: OOM killer: \[swapper: page allocation failure\]

- From: Justin Piszcz \<hidden\>
- Date: 2008-12-16 09:21:08 
- List: linux-raid
- Page: https://ratatoskr.run/linux-raid/2008/12/1186012
- Thread: https://ratatoskr.run/linux-raid/2008/12/1185021/t.md

```text


On Mon, 15 Dec 2008, Dan Williams wrote:

> On Fri, Dec 12, 2008 at 5:14 AM, Justin Piszcz [ref] wrote:
>> [44893.846532] swapper: page allocation failure. order:0, mode:0x20
> [..]
>>
>> Raid optimizations used:
>>
>> # cat oraid.sh |grep -v ^#|grep .
>> . /etc/profile
>> echo "Optimizing RAID Arrays..."
>> cd /sys/block
>> DISKS=$(/bin/ls -1d sd[e-j])
>> echo "Setting read-ahead to 32 MiB for /dev/md0"
>> blockdev --setra 65536 /dev/md0
>> echo "Setting stripe_cache_size to 16 MiB for /dev/md0"
>> echo 16384 > /sys/block/md0/md/stripe_cache_size
>>
>
> If you set the stripe_cache_size high enough you can strangle the
> system.  Do you really need 384MiB of raid cache?

The weird thing is, with md/RAID-5, I never had a problem.

Justin.

```
