Re: [kvm] accessing a 'native' disk from KVM ?

2011-10-07 Thread Sujee Maniyam
>    
>      
>      
>      
>       function='0x0'/>
>    

wow, disabling the cache really helped in the performance dept.

KVM native disk write throughput:
 - with cache = 45 MB/sec
 - without cache = 110 MB / sec
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [kvm] accessing a 'native' disk from KVM ?

2011-10-05 Thread Robin Lee Powell
On Wed, Oct 05, 2011 at 11:41:13AM -0700, Sujee Maniyam wrote:
> HI all
> 
> Using KVM (qemu-kvm-0.12.1) on CentOS-6.
> 
> how can I supply an entire disk for KVM to use?  Is this correct
> snippet in kvm.xml ?
> 
> 
>   
>   
>   
> 

This is what I have:


  
  
  
  


So, yeah, pretty much, although note tat you're making /dev/sdi*1*
available, which is a partition, not a disk.  Regardless,
http://publib.boulder.ibm.com/infocenter/lnxinfo/v3r0m0/index.jsp?topic=%2Fliaat%2Fliaattuncache.htm
(and other things I've seen) suggest cache=none for these cases.

-Robin
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html