Re: OOM kiler/load problems with RAID/LVM and AoE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux