[lkml]   [2011]   [Feb]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: khugepaged: gets stuck when writing to USB flash, 2.6.38-rc2
2011/2/4 Andrea Arcangeli <>:
> On Thu, Feb 03, 2011 at 10:16:17PM +0100, Jindřich Makovička wrote:
>> I also tried echo never >  /sys/kernel/mm/transparent_hugepage/defrag
>> , and it seems preventing the system freeze, but still the copying
>> itself sometimes comes to almost complete stop (GkrellM shows short
>> spikes of tens of kB/s on the USB /dev/sdX). In this case, khugepaged
>> is also in DN. I still didn't observe this problem when disabling THP
>> completely by echo never > enabled .
> Ok then you may need this too:
>  echo never > /sys/kernel/mm/transparent_hugepage/khugepaged/defrag
> Compaction is likely too heavy so we need to look into that.

Sorry for the delay.

Yes, disabling both defrag settings also solves the problem:

echo never >/sys/kernel/mm/transparent_hugepage/defrag
echo no > /sys/kernel/mm/transparent_hugepage/khugepaged/defrag

Jindrich Makovicka
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2011-02-13 11:49    [W:0.041 / U:4.628 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site