Skip to contentSkip to conversation

Restoring an HVM domain with PV drivers fails if VCPUs >= 4.

DISCUSSION Yoshisato YANAGISAWA 2 participants 3 messages Dec 3, 2008 – Dec 4, 2008

lore
Share & tools
lore
#0 lore raw

Hi,

Does anybody who has an experience to save and restore an HVM domain with VCPUs >= 4 and PV drivers?

I tried save and restore an HVM domain that has 4 VCPUs with PV drivers enabled, and failed to restore. Restored domain did not respond to any inputs including virtual console, VNC, network I/O (through ssh, ping) and so on. According to the result of xentop, I saw 400% CPU usage of the restored domain.

This problem did not happen if an HVM domain has less than or equals to 3 VCPUs. This problem also did not happen if an HVM domain without PV drivers. Because of the situation, I suppose there might be some bugs in PV drivers.

I am using i386 Dom0 on Xen 3.3.0, and PV drivers are installed from source code included in Xen 3.3.0.

Do you have any ideas to attack this problem?

Thank you in advance,
Yoshisato YANAGISAWA.

Signature · 6 lines
Yoshisato YANAGISAWA, Ph.D.
Open Source Software Computing Project
NTT Cyber Space Laboratories
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
1-1 Hikarinooka, Yokosuka-Shi,
Kanagawa 239-0847, Japan
#1 lore raw

Hi,

This is probably a livelock in the PV drivers, now fixed. Please try building your PV drivers from latest xen-3.3-testing.hg repository (that is, 3.3.1-rc1).

-- Keir

Quoted 24 lines · Yoshisato YANAGISAWA

Hi,

Does anybody who has an experience to save and restore an HVM domain with VCPUs >= 4 and PV drivers?

I tried save and restore an HVM domain that has 4 VCPUs with PV drivers enabled, and failed to restore. Restored domain did not respond to any inputs including virtual console, VNC, network I/O (through ssh, ping) and so on. According to the result of xentop, I saw 400% CPU usage of the restored domain.

This problem did not happen if an HVM domain has less than or equals to 3 VCPUs. This problem also did not happen if an HVM domain without PV drivers. Because of the situation, I suppose there might be some bugs in PV drivers.

I am using i386 Dom0 on Xen 3.3.0, and PV drivers are installed from source code included in Xen 3.3.0.

Do you have any ideas to attack this problem?

Thank you in advance,
Yoshisato YANAGISAWA.

#2 lore raw

Thank you for your reply,

As you mentioned, I tried PV drivers in latest xen-3.3-testing.hg, and it works well. I increased the number of VCPUs from 4 to 9 and it still works.

Thank you,
Yoshisato YANAGISAWA.

Quoted 38 lines · Keir Fraser

Hi,

This is probably a livelock in the PV drivers, now fixed. Please try building your PV drivers from latest xen-3.3-testing.hg repository (that is, 3.3.1-rc1).

-- Keir

Quoted 23 lines · Yoshisato YANAGISAWA

Hi,

Does anybody who has an experience to save and restore an HVM domain with VCPUs >= 4 and PV drivers?

I tried save and restore an HVM domain that has 4 VCPUs with PV drivers enabled, and failed to restore. Restored domain did not respond to any inputs including virtual console, VNC, network I/O (through ssh, ping) and so on. According to the result of xentop, I saw 400% CPU usage of the restored domain.

This problem did not happen if an HVM domain has less than or equals to 3 VCPUs. This problem also did not happen if an HVM domain without PV drivers. Because of the situation, I suppose there might be some bugs in PV drivers.

I am using i386 Dom0 on Xen 3.3.0, and PV drivers are installed from source code included in Xen 3.3.0.

Do you have any ideas to attack this problem?

Thank you in advance,
Yoshisato YANAGISAWA.

Signature · 6 lines
Yoshisato YANAGISAWA, Ph.D.
Open Source Software Computing Project
NTT Cyber Space Laboratories
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
1-1 Hikarinooka, Yokosuka-Shi,
Kanagawa 239-0847, Japan