qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-discuss] Disk Performance


From: dw+qemu-discuss
Subject: Re: [Qemu-discuss] Disk Performance
Date: Fri, 30 May 2014 16:53:50 +0000

On Fri, May 30, 2014 at 06:47:15PM +0200, Stephan von Krawczynski wrote:

> > I'm no expert on this, but it sounds to me like the file copy is using
> > memory to cache disk blocks, swapping out the memory that is the
> > emulated memory of the guests.  It seems to me that the solution to
> > that is to force the Qemu process's memory space to remain in RAM.
> > 
> > Is there a way to do that in Linux?
> 
> No.

Unrelated to solving the original problem, just wanted to point out this
is in fact trivially possible, and there have been patches in the past
to implement it.

See http://lists.gnu.org/archive/html/qemu-devel/2012-09/msg05081.html
and http://linux.die.net/man/2/mlockall


David



reply via email to

[Prev in Thread] Current Thread [Next in Thread]