qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [6391] Fix nographic mode and VNC


From: Paul Brook
Subject: Re: [Qemu-devel] [6391] Fix nographic mode and VNC
Date: Sun, 25 Jan 2009 23:25:58 +0000
User-agent: KMail/1.9.9

On Sunday 25 January 2009, Jamie Lokier wrote:
> Paul Brook wrote:
> > Maybe. You risk having to put an SMP safe lock in the MMIO handler, which
> > would probably do bad things to performance.
>
> Would it?  It's just one atomic operation in the non-contention case,
> and MMIO writes could be queued the same way that KVM queues them,
> without needing locks for each individual op.

Depends on the host. Even in the uncontended case grabbing a lock tends to 
require fairly strong memory barriers.

Like I said, kvm already exhibits fairly abysmal performance characteristics 
in this area. I'm not sure how much write coalescing actually helps in 
practice for anything other than VGA. It certainly doesn't help with reads.

Paul




reply via email to

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