Skip to contentSkip to conversation

Fine-grained proxy resource charging

DISCUSSION Lucy Cherkasova 2 participants 2 messages Aug 24, 2005

lore
Share & tools
lore
#0 lore raw
Quoted 10 lines
Quoted 5 lines

Yes, I would join in asking the same question: how to get a working configuration for multiple driver domains each hosting a single device driver?

You can only really have one domain running the actual driver. The best strategy would therefore be to keep as much IO processing as possible in other domains (preferably in the guests themselves).

Quoted 6 lines

With user-accessible hardware (e.g. Infiniband), unprivileged guests will be able to access their hardware directly using their own CPU time (and get better performance in the process). Of course Infiniband is rather expensive so this won't be the most common way of doing stuff for some time (if at all).

Thank you, Mark.

May I rephrase the question? :
Let you have a few devices D1, D2, and D3.
Currently, in our testbed, they are all supported by Dom0 that hosts drivers for D1, D2, and D3.
My question is how to get a working configuration with 3 IDDs:
IDD1 - for D1, IDD2 - for D2, IDD3 - for D3.
Any pointers are highly appreciated.

Thanks, Lucy

#1 lore raw
Quoted 3 lines

Thank you, Mark.

May I rephrase the question? :

Oh sorry ;-) I see.

Quoted 6 lines

Let you have a few devices D1, D2, and D3.
Currently, in our testbed, they are all supported by Dom0 that hosts drivers for D1, D2, and D3.
My question is how to get a working configuration with 3 IDDs:
IDD1 - for D1, IDD2 - for D2, IDD3 - for D3.
Any pointers are highly appreciated.

Right now it's not entirely straightfoward (and doesn't work under 3.0 yet):
* Hide the device from dom0 using an option on Xen's command line
* Configure a domain with access to that device
* Configure the domain to run a backend driver
* Configure other domains to connect to that backend for a particular device

There's some material in the mailing list archives and the documentation about this; it'd be nice to have a more thorough howto written up by someone who had done this stuff recently.

Cheers,
Mark