From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tokarev Subject: Re: Memory leaks in virtio drivers? Date: Sat, 27 Nov 2010 02:23:02 +0300 Message-ID: <4CF04156.6000103@msgid.tls.msk.ru> References: <4CF02003.2050802@msgid.tls.msk.ru> <4CF031B7.4020702@msgid.tls.msk.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: KVM mailing list To: Freddie Cash Return-path: Received: from isrv.corpit.ru ([86.62.121.231]:60348 "EHLO isrv.corpit.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752793Ab0KZXXF (ORCPT ); Fri, 26 Nov 2010 18:23:05 -0500 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: 27.11.2010 02:09, Freddie Cash wrote: [] > Enabling KSM with the way things are currently freed up 1.2 GB of RAM > in the host. Which was then gobbled up as buffers (now over 4 GB). This may go away after some time. When you start windows there are lots of zero pages, easy to share. Later on win actually starts using these pages, and it shares alot less. So it might be false goodie, watch it closely. It'd be interesting to see how it really performs on your case. For cache=off, I highly recommend using raw partitions (or LVM logical volumes) instead of files for disk images - if you don't do that already. And speaking of storage, if you use some sort of raid (except raid1, but _especially_ for raid[456]), ensure proper alignment of everythg. /mjt