[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] linux guests and ksm performance
From: |
Gleb Natapov |
Subject: |
Re: [Qemu-devel] linux guests and ksm performance |
Date: |
Fri, 24 Feb 2012 09:04:25 +0200 |
On Thu, Feb 23, 2012 at 04:42:54PM +0000, Stefan Hajnoczi wrote:
> On Thu, Feb 23, 2012 at 3:40 PM, Peter Lieven <address@hidden> wrote:
> > However, in a virtual machine I have not observed the above slow down to
> > that extend
> > while the benefit of zero after free in a virtualisation environment is
> > obvious:
> >
> > 1) zero pages can easily be merged by ksm or other technique.
> > 2) zero (dup) pages are a lot faster to transfer in case of migration.
>
> The other approach is a memory page "discard" mechanism - which
> obviously requires more code changes than zeroing freed pages.
>
> The advantage is that we don't take the brute-force and CPU intensive
> approach of zeroing pages. It would be like a fine-grained ballooning
> feature.
>
> I hope someone will follow up saying this has already been done or
> prototyped :).
>
That was attempted. It is called "page hinting", but AFAIK due to
complex locking issue attempt was abandoned.
--
Gleb.
- Re: [Qemu-devel] linux guests and ksm performance, (continued)
- Re: [Qemu-devel] linux guests and ksm performance, address@hidden, 2012/02/23
- Re: [Qemu-devel] linux guests and ksm performance, Stefan Hajnoczi, 2012/02/24
- Re: [Qemu-devel] linux guests and ksm performance, Stefan Hajnoczi, 2012/02/24
- Re: [Qemu-devel] linux guests and ksm performance, Stefan Hajnoczi, 2012/02/24
- Re: [Qemu-devel] linux guests and ksm performance, Peter Lieven, 2012/02/24
- Re: [Qemu-devel] linux guests and ksm performance, Peter Lieven, 2012/02/28
- Message not available
- Message not available
- Re: [Qemu-devel] linux guests and ksm performance, Peter Lieven, 2012/02/28
- Re: [Qemu-devel] linux guests and ksm performance, Avi Kivity, 2012/02/28
- Re: [Qemu-devel] linux guests and ksm performance, Peter Lieven, 2012/02/28
- Re: [Qemu-devel] linux guests and ksm performance, Avi Kivity, 2012/02/28
Re: [Qemu-devel] linux guests and ksm performance,
Gleb Natapov <=
Re: [Qemu-devel] linux guests and ksm performance, Avi Kivity, 2012/02/28
- Prev by Date:
Re: [Qemu-devel] [PATCH v2 0/4] RTC: New logic to emulate RTC
- Next by Date:
[Qemu-devel] Clearasil Biactol, Sveltesse, Ve et Epilation, Zazie Coiffure, Esquisse Paris, Roc , Le Petit Marseillais, Ambi Pur, Air Wick, Febre ze, Oust, Brise, Softsheen Carson, Laboratoire 3 Chenes, Nivea, Déo Chez Bien-etre-prive.com
- Previous by thread:
Re: [Qemu-devel] linux guests and ksm performance
- Next by thread:
Re: [Qemu-devel] linux guests and ksm performance
- Index(es):