Comment 29 for bug 837070

Revision history for this message
Konrad Materka (kmaterka) wrote : Re: Natty almost freezes on USB transfers / slow transfers / Xorg freeze / caching lunacy

I can confirm this on Oneiric with latest updates. Bug occurs on system with long uptime, because of memory fragmentation.

Problem is described in details here:
http://lwn.net/Articles/467328/

My solution was to disable synchronous memory defragmentation with:

echo never > /sys/kernel/mm/transparent_hugepage/defrag
or less restrictive:
echo madvise > /sys/kernel/mm/transparent_hugepage/defrag

This bug is found in other distributions, like Arch:
https://bbs.archlinux.org/viewtopic.php?id=112846&p=4