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

From: Justin Piszcz
Date: Tue Dec 16 2008 - 04:21:09 EST




On Mon, 15 Dec 2008, Dan Williams wrote:

On Fri, Dec 12, 2008 at 5:14 AM, Justin Piszcz <jpiszcz@xxxxxxxxxxxxxxx> 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.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/