[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 12 Nov 2008 01:02:47 +0200
From: Izik Eidus <ieidus@...hat.com>
To: Jonathan Corbet <corbet@....net>
CC: linux-kernel@...r.kernel.org, linux-mm@...ck.org,
kvm@...r.kernel.org, aarcange@...hat.com, chrisw@...hat.com,
avi@...hat.com
Subject: Re: [PATCH 3/4] add ksm kernel shared memory driver
Jonathan Corbet wrote:
>
> What about things like cache effects from scanning all those pages? My
> guess is that, if you're trying to run dozens of Windows guests, cache
> usage is not at the top of your list of concerns, but I could be
> wrong. Usually am...
>
Ok, ksm does make the cache of the cpu dirty when scanning the pages
(but the scanning happen slowly slowly and cache usually get dirty much
faster)
But infact it improve the cache by the fact that it make many ptes point
to the same page
so if before we had 12 process touching 12 diffrent physical page they
would dirty the page
but now they will touch just one...
so i guess it depend on how you see it...
> Thanks,
>
> jon
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists