Skip to contentSkip to conversation

Accessing the VNC using HVM stub domain - xen 3.3.0

DISCUSSION Marco Sinhoreli 2 participants 8 messages Sep 11, 2008

lore
Share & tools
lore
#0 lore raw

Hello all,

I'm writing a documentation about the news features of xen 3.3.0. The VNC is available configured to access by domain 0 but I can't access configuring it to work into -dm virtual machine.
Below my conffiles:

# /etc/xen/hvmachine
kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
memory = 1024
name = "hvmachine"
vcpus=2
vif = [ 'type=ioemu, bridge=eth0' ]
device_model = '/usr/lib/xen/bin/stubdom-dm'
boot="cd"
sdl=0
opengl=0
vnc=1
vnclisten="172.30.206.1"
stdvga=0
# /etc/xen/hvmachine-dm
kernel = "/usr/lib/xen/boot/ioemu-stubdom.gz"
vif = [ 'ip=172.30.206.1', 'bridge=eth0,mac=00:16:3e:21:a2:94' ]
disk = [ 'file:/home/iso/debian-LennyBeta2-amd64-CD-1.iso,hdc:cdrom,r','phy:/dev/empirevg/pvmachine,hda,w']

Any idea?

Regards,

Signature · 1 line
Marco Sinhoreli
#1 lore raw

Hello,

Quoted 3 lines · Marco Sinhoreli, le Thu 11 Sep 2008 09:47:44 -0300, a écrit :

I'm writing a documentation about the news features of xen 3.3.0. The VNC is available configured to access by domain 0 but I can't access configuring it to work into -dm virtual machine.

Does your network configuration permit to expose IP 172.30.206.1 on a PV vif interface?
(apart from that your configuration files seem good)

Samuel

#2 lore raw

Hi Samuel,

I believed that this IP was only to internal communication between the two virtual machines. I was mistaked. Thanks again!

Quoted 13 lines · Samuel Thibault

Hello,

Quoted 3 lines · Marco Sinhoreli, le Thu 11 Sep 2008 09:47:44 -0300, a écrit :

I'm writing a documentation about the news features of xen 3.3.0. The VNC is available configured to access by domain 0 but I can't access configuring it to work into -dm virtual machine.

Does your network configuration permit to expose IP 172.30.206.1 on a PV vif interface?
(apart from that your configuration files seem good)

Samuel

Signature · 1 line
Marco Sinhoreli

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#3 lore raw
Quoted 2 lines · Marco Sinhoreli, le Thu 11 Sep 2008 14:45:49 -0300, a écrit :

I believed that this IP was only to internal communication between the two virtual machines.

It is, but you still need to make sure to configure the network for that to happen :)

Samuel

#4 lore raw

Hi Samuel,

Thans again,. Changing the subject, I'm impressed with the stub domain
performance! I did some benchmarks using bonnie++ and netperf and
it's better than pure fullvirt machine.
* netperf:
stub-hvm: 25.99 Kbits/sec
hvm: 15.23 Kbits/sec

In bonnie++ benchmark, the item "write block" is impressive:
....................Per char........Block........Rewrite stub-hvm .....20898..........41857.......21045
hvm .............19046..........17462.......19331

These values are in K/sec.

Regards,

Signature · 1 line
Marco Sinhoreli
#5 lore raw
Quoted 6 lines · Marco Sinhoreli, le Thu 11 Sep 2008 16:37:41 -0300, a écrit :

Thans again,. Changing the subject, I'm impressed with the stub domain
performance! I did some benchmarks using bonnie++ and netperf and
it's better than pure fullvirt machine.
* netperf:
stub-hvm: 25.99 Kbits/sec
hvm: 15.23 Kbits/sec

That's what I measured too indeed.

Quoted 4 lines

In bonnie++ benchmark, the item "write block" is impressive:
....................Per char........Block........Rewrite stub-hvm .....20898..........41857.......21045
hvm .............19046..........17462.......19331

Is that disk performance?

Samuel

#6 lore raw
Quoted 8 lines
Quoted 6 lines · Marco Sinhoreli, le Thu 11 Sep 2008 16:37:41 -0300, a écrit :

Thans again,. Changing the subject, I'm impressed with the stub domain
performance! I did some benchmarks using bonnie++ and netperf and
it's better than pure fullvirt machine.
* netperf:
stub-hvm: 25.99 Kbits/sec
hvm: 15.23 Kbits/sec

Quoted 8 lines

That's what I measured too indeed.

Quoted 4 lines

In bonnie++ benchmark, the item "write block" is impressive:
....................Per char........Block........Rewrite stub-hvm .....20898..........41857.......21045
hvm .............19046..........17462.......19331

Is that disk performance?

Yes, I´m using sata disks in this bench. I have servers with SAS but this is in production.

Signature · 1 line
Marco Sinhoreli

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#7 lore raw
Quoted 8 lines · Marco Sinhoreli, le Thu 11 Sep 2008 20:32:31 -0300, a écrit :
Quoted 6 lines
Quoted 4 lines

In bonnie++ benchmark, the item "write block" is impressive:
....................Per char........Block........Rewrite stub-hvm .....20898..........41857.......21045
hvm .............19046..........17462.......19331

Is that disk performance?

Yes, I´m using sata disks in this bench. I have servers with SAS but this is in production.

Ok. In my tests I was getting ~60MB/s in both case, the improvement was rather of the order of just 10% (just getting a bit closer to native).

Samuel