Re: unresponsiveness on linux desktop during file copy

From: Ray Lee
Date: Sat May 16 2009 - 12:03:51 EST


On Fri, May 15, 2009 at 12:33 PM, Christoph Lameter
<cl@xxxxxxxxxxxxxxxxxxxx> wrote:
> On Fri, 15 May 2009, Ray Lee wrote:
>
>> Which kernel version? If it's something recent, your programs may be
>> getting swapped out due to a flaw in the latest kernels, where it
>> accidentally prefers caching file data over mapped pages. If that's
>> the case, Rik (cc:d) is working on patches to address the issue, and
>> may appreciate another tester.
>
> Please keep me in the loop. I'd be interested if those patches work and
> what effect they have.

Whoops, looks like Wu Fengguang (cc:d), not Rik, has been working on
those patches. See the messages starting with "[PATCH 0/3] make mapped
executable pages the first class citizen" [
http://lkml.org/lkml/2009/5/16/23 ]

Wu: The original reporter in this thread, Satish Eerpini, is reporting
interactivity problems that sound very much like mapped executables
are getting paged out while doing large copies. I suggested that
perhaps he'd like to try out your patches to see if it addresses his
problem. His original message is reproduced below. Later in the
thread, he said 2.6.26 was fine, 2.6.27 & .28 were not.

> Hello everyone,
>
> I am trying to figure out why the Linux desktop becomes overly
> unresponsive whenever there is a file copy going on, this happens to a
> large extent with GUI based file copying, and some lesser, but with
> command line copying too.
> does it have anything to do with the kernel ??,
> if it does help, then I am running Fedora 10 on a Hp nx 7400, Centrino
> Duo processor.
>
> Cheers
> Satish
> --
> http://satish.playdrupal.com
--
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/