On Mon, 15 Dec 2008, Dan Williams wrote:
On Fri, Dec 12, 2008 at 5:14 AM, Justin Piszcz [off-list ref] wrote:
quoted
[44893.846532] swapper: page allocation failure. order:0, mode:0x20
[..]
quoted
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.