QuicksearchDisclaimerThe individual owning this blog works for Oracle in Germany. The opinions expressed here are his own, are not necessarily reviewed in advance by anyone but the individual author, and neither Oracle nor any other party necessarily agrees with them.
|
< 30-Day Song Challenge: Day 07 — A song that reminds you of a certain event | Secure Deployment of LDOMs >
Synchronicity in asynchronicityThursday, February 3. 2011Trackbacks
Trackback specific URI for this entry
No Trackbacks
Comments
Display comments as
(Linear | Threaded)
Good article!
In what way is a synchronous write really synchronous in a VM in VMware? Is a disk commit really a commit to volatile write cache in the underlying FS of the ESX server? Some benchmarks I have done comparing a VM in WMware to a bare metal server suggest it is so. Faster (small) writes in the VM suggest that the application is fooled into thinking that the write is commited to non volatile storage when it in reality is commited to memory.
I've recently done some testing on VMware (4.1) for our oracle db migration.
Using OEL 5.5 as the OS and iozone as the test app, I was specifically looking at io latencies for sync, async and sync to an array that then did sync replication to a remote array. The FS was standard ext3 with no real tuning. The latencies reported were all as expected: the async returned immediately, the sync took 0.5ms to the array and the sync w/ sync copy took 1.0ms to the array. This was the same as our existing non-virtualized boxes. In this case the array was an HDS 2500 w/ 32G of cache, so the write was done as soon as it hit the mirrored array cache, not when it hit the disk.
Similar setup here with USP-V and a large cache. Could our different outcomes be caused by me using VMFS and you RDM? I guess RDM will make the commit happen in the disksystem(the cache) but not so for VMFS?
Anyway it seems I have to read up on this thing called VMWare. It is everywhere.
I wasnt using RDM, just good old files on a VMFS that were then presented up to the host via the paravirt sas driver and then formatted w/ ext3.
In theory, RDM would be faster, but only by a percent or two while significantly increasing the administrative overhead. The main goal of my test was to see what impact TrueCopy (sync) would have vs our existing host level mirroring. Sure enough, the latency doubled. If VMFS was caching the write then we would not have seen an increase in latency between the replicated and non-replicated lun.
this is the first time someone explained this whole synchronous/asychronous thingy in an understandeable way. Great!
Just one question: would one have one writer thread in an application and one or more "monitoring" threads to implement aio* effectively? Or the other way round? Or "depends on"... ? |
+1The LKSF bookThe book with the consolidated Less known Solaris Tutorials is available for download here
Web 2.0Contact
Networking xing.com My photos CommentsMon, 21.05.2012 18:04
Hello Kevin, Im not surprised
with what you are seeing or ha
ve seen when attaching a SSD t
o a USB2.0. USB3.0 helps [...]
Mon, 21.05.2012 04:44
Hi Greg,
With regards to IO
PS I have seen terrible result
s using a 60GB SATA2 SSD with
USB2.0 - USB2 really cho [...]
about ZFS Dedup Internals
Sat, 19.05.2012 09:50
There is no impact to boot/imp
ort times, as the DDT is loade
d as needed ... so the pool is
imported as fast as wit [...]
Buttons![]() This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Germany License
![]() ![]() ![]() Blog Administration |