WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

RE: [Xen-users] ioemu in config file and O_DIRECT option

To: "trilok nuwal" <tc.nuwal@xxxxxxxxx>, "Xen list" <Xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] ioemu in config file and O_DIRECT option
From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Date: Wed, 7 Mar 2007 16:16:58 +0100
Delivery-date: Wed, 07 Mar 2007 07:16:24 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <f58fc26d0703070711u10cefaeds1b8988312b8c5478@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcdgyvXn1DDJzw+2RuS2bcIE05lsUgAAFS0A
Thread-topic: [Xen-users] ioemu in config file and O_DIRECT option
 

> -----Original Message-----
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of 
> trilok nuwal
> Sent: 07 March 2007 15:11
> To: Xen list
> Subject: [Xen-users] ioemu in config file and O_DIRECT option
> 
> In config file,  'type=ioemu' is added with vif .  Does it 
> make the difference if we don't add.
> Because i did not notice any difference in para as well as 
> full virtulization.
> Same as in case of exporting the disk to Guest dom. Is it 
> just a placeholder or else ?

I think it's "not important" - I'm not entirely sure if there's
historical reasons for it or if it's a "may be needed in the future" (or
both). 
> 
> Second thing, I am running RHEL3 as a HVM DomU on xen-3.0.4.  
> Every thing works fine, but i had a problem to write a file 
> opened with O_DIRECT  option. 
> Does it supports all file IO options ( O_DIRECT etc. )  that 
> RHEL3 supports as normal or does it depends on the drivers, 
> that only for a set of drivers is supports 
> all IO options or something we have to configure in DomU.

In HVM mode, you should be able to do exactly the same things as if
you're running on hardware. I doubt that the basic IDE driver wouldn't
support O_DIRECT. However, O_DIRECT will only work "locally", so if
you're expecting your writes to be unbuffered all the way to the
hardware, that's not going to happen, because Xen gets in the way. 

--
Mats
> 
> Thanks,
> --Trilok 
> 
> 



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>