lkml.org 
[lkml]   [2006]   [Mar]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: OOM kiler/load problems with RAID/LVM and AoE
On Mon, 13 Mar 2006, Joshua Kugler wrote:

> RAID or LVM problem? AoE drivers? Network driver badness (for both of them)?

You could simply be hitting a fundamental problem that's present
on most operating systems. It happens roughly like this:

1) free memory gets low, so kswapd starts evicting pages
2) in order to write pages out over the network, the kernel
needs to allocate memory to compose network packets,
headers, etc...
3) if kswapd writes out a bunch of pages at once, or simply
if memory was low to begin with when we hit (1), there
may not be enough free memory left to receive the ACK
packets from the NAS box that acknowledge that the data
was received, nor the packets that indicate that the
data was written to disk and the kernel can complete
the IO

Locally attached disks do not have this problem because the
kernel keeps a number of reserved buffer heads around to get
us out of this deadlock problem.

Networking will need something similar. Because this is
slowly turning into an FAQ, I've written down the problem
and a proposed solution:

http://linux-mm.org/NetworkStorageDeadlock

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

\
 
 \ /
  Last update: 2006-03-16 23:25    [W:0.068 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site