[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090517020829.GB6809@localhost>
Date: Sun, 17 May 2009 10:08:29 +0800
From: Wu Fengguang <fengguang.wu@...el.com>
To: Satish Eerpini <eerpini@...il.com>
Cc: Rik van Riel <riel@...hat.com>, Ray Lee <ray-lk@...rabbit.org>,
Christoph Lameter <cl@...ux-foundation.org>,
linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: unresponsiveness on linux desktop during file copy
On Sun, May 17, 2009 at 09:27:03AM +0800, Satish Eerpini wrote:
> > Yes, better to apply Rik and mine patches together to get the best
> > cache behavior. Rik's patch is crucial. They are both small patches,
> > so can be backported trivially. Satish, what's your kernel version
> > (or, do you want to try a newer kernel)? And the content of
> > /proc/meminfo?
>
> I am running 2.6.29.1 right now , just tell me which kernel to try, or
> to which kernel I have to apply the patches and try them, I will test
> the patches and let you know if the situation improves.
> and the contents of /proc/meminfo are :
Satish, so you have 2.5GB memory and 80MB mapped pages, 33MB active
desktop files to protect.
I've prepared a rolled up patch for you, run time tested. It should
protect all of the above pages from being evicted by large file copies.
The attached patch is for 2.6.29.
Thanks,
Fengguang
> MemTotal: 2585724 kB
> MemFree: 900524 kB
> Buffers: 197504 kB
> Cached: 1080332 kB
> SwapCached: 0 kB
> Active: 639544 kB
> Inactive: 933068 kB
> Active(anon): 307100 kB
> Inactive(anon): 0 kB
> Active(file): 332444 kB
> Inactive(file): 933068 kB
> Unevictable: 16 kB
> Mlocked: 16 kB
> HighTotal: 1707848 kB
> HighFree: 321868 kB
> LowTotal: 877876 kB
> LowFree: 578656 kB
> SwapTotal: 3526256 kB
> SwapFree: 3526256 kB
> Dirty: 1000 kB
> Writeback: 0 kB
> AnonPages: 294788 kB
> Mapped: 80084 kB
> Slab: 89692 kB
> SReclaimable: 71436 kB
> SUnreclaim: 18256 kB
> PageTables: 6008 kB
> NFS_Unstable: 0 kB
> Bounce: 0 kB
> WritebackTmp: 0 kB
> CommitLimit: 4819116 kB
> Committed_AS: 796332 kB
> VmallocTotal: 122880 kB
> VmallocUsed: 8240 kB
> VmallocChunk: 96952 kB
> HugePages_Total: 0
> HugePages_Free: 0
> HugePages_Rsvd: 0
> HugePages_Surp: 0
> Hugepagesize: 4096 kB
> DirectMap4k: 20472 kB
> DirectMap4M: 884736 kB
>
> Cheers
> Satish
> --
> http://satish.playdrupal.com
View attachment "vmscan-working-set-protections.patch" of type "text/x-diff" (11824 bytes)
Powered by blists - more mailing lists