oom on wireless network saturation

From: Keith Chew
Date: Tue Sep 25 2007 - 04:03:48 EST


We are stress testing the wireless network driver on our linux system.
We use ping flood to saturate the network, and within 24 hours, we
managed to crash the driver.

This was a good test, as it hightlighted a timer problem in the
driver. After fixing that, we are now getting out of memory errors.
The OOM killer starts to kick in and the system freezes.

Can someone advise at a high level, what should the network driver do
in such a scenario? Essentially, the wireless packets get queued up in
the driver and eventually it just breaks. What is the correct way to
handle this gracefully?

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/