Re: sync guest calls made async on host - SQLite performance

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Matthew Tippett
Date: Wednesday, October 7, 2009 - 2:01 pm

-------- Original Message  --------
Subject: Re: sync guest calls made async on host - SQLite performance
From: Avi Kivity <avi@redhat.com>
To: Matthew Tippett <tippettm@gmail.com>
Cc: Dustin Kirkland <dustin.kirkland@gmail.com>, Anthony Liguori 
<anthony@codemonkey.ws>, RW <kvm@tauceti.net>, kvm@vger.kernel.org
Date: 10/07/2009 04:12 PM


2GB for host, 1.7GB accessible for the guest (although highly unlikely 
that the memory usage went very high at all.


That is what I am expecting, remember that the host and the guest were 
the same OS, same config, nothing special.  So the variable in the mix 
is how Ubuntu Karmic interacts with the bare metal vs the qemu-kvm 
virtual metal.

The test itself is simply 12500 sequential inserts, designed to model a 
simple high-transactional load single-tier system.  I still have some 
investigations pending on how sqlite responds at the syscall level, but 
I believe it is requesting synchronous writes and then doing many writes.

The consequence of the structure of the benchmark is that if there is 
any caching occurring at all from the sqlite library down, then it tends 
to show.  And I believe that it is unexpectedly showing here (since the 
writes are expected to be synchronous to a physical disk).

If there is a clear rationale that the KVM community is comfortable 
with, then it becomes a distribution or deployment issue relative to 
data integrity where a synchronous write within a guest may not be 
synchronous to a physical disk.  I assume this would concern commercial 
and server users of virtual machines.

Regards,

Matthew

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: sync guest calls made async on host - SQLite performance, Matthew Tippett, (Sun Sep 27, 5:07 am)
Re: sync guest calls made async on host - SQLite performance, Anthony Liguori, (Tue Sep 29, 12:02 pm)
Re: sync guest calls made async on host - SQLite performance, Matthew Tippett, (Tue Sep 29, 12:32 pm)
Re: sync guest calls made async on host - SQLite performance, Dustin Kirkland, (Tue Sep 29, 1:46 pm)
Re: sync guest calls made async on host - SQLite performance, Anthony Liguori, (Tue Sep 29, 1:51 pm)
Re: sync guest calls made async on host - SQLite performance, Dustin Kirkland, (Wed Oct 7, 11:59 am)
Re: sync guest calls made async on host - SQLite performance, Matthew Tippett, (Wed Oct 7, 12:31 pm)
Re: sync guest calls made async on host - SQLite performance, Matthew Tippett, (Wed Oct 7, 2:01 pm)
Re: sync guest calls made async on host - SQLite performance, Dustin Kirkland, (Thu Oct 8, 11:05 pm)
Re: sync guest calls made async on host - SQLite performance, Matthew Tippett, (Fri Oct 9, 12:06 pm)
Re: sync guest calls made async on host - SQLite performance, Christoph Hellwig, (Tue Oct 13, 3:37 pm)
Re: sync guest calls made async on host - SQLite performance, Anthony Liguori, (Tue Oct 13, 4:08 pm)
Re: sync guest calls made async on host - SQLite performance, Matthew Tippett, (Tue Oct 13, 7:09 pm)
Re: sync guest calls made async on host - SQLite performance, Dustin Kirkland, (Tue Oct 13, 9:12 pm)
Re: sync guest calls made async on host - SQLite performance, Matthew Tippett, (Wed Oct 14, 4:32 am)
Re: sync guest calls made async on host - SQLite performance, Christoph Hellwig, (Wed Oct 14, 6:41 am)
Re: [PATCH] virtio-blk: fallback to draining the queue if ..., Christoph Hellwig, (Wed Oct 14, 8:46 am)
Re: sync guest calls made async on host - SQLite performance, Christoph Hellwig, (Wed Oct 14, 10:02 am)
Re: sync guest calls made async on host - SQLite performance, Anthony Liguori, (Wed Oct 14, 3:54 pm)
Re: sync guest calls made async on host - SQLite performance, Christoph Hellwig, (Thu Oct 15, 5:17 am)
Re: sync guest calls made async on host - SQLite performance, Christoph Hellwig, (Thu Oct 15, 5:36 am)