Re: long sleep_on_page delays writing to slow storage

From: Andrea Arcangeli
Date: Thu Nov 17 2011 - 17:54:22 EST


Hi Dave,

On Thu, Nov 17, 2011 at 02:47:20PM -0500, Dave Jones wrote:
> When I build a kernel on my laptop, when it gets to the final link stage,
> and there's a ton of IO, my entire X session wedges for a few seconds.
> This may be unrelated, because this is on an SSD, which shouldn't suffer
> from the slow IO of the USB devices mentioned in this thread.
>
> (This is even with that patch applied btw, perhaps adding further fuel to
> the idea that it's unrelated).

Agreed, if it happens even with the patch applied it's most certainly
not related to compaction. Maybe more IO scheduler related, or
something like that. You can also try to set
transparent_hugepage/defrag to "never" to be sure, then compaction
won't run.
--
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/