Issues migrating to xen 4.1 / lvm vg for disk
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 11 lines · Sylvain CHEVALIER
Hi,
We just migrated xen on gentoo on amd64 from 4.0 to 4.1 and encountered a few issues that were not documented. Here is how we solved them and what issues are remaining:
1. Our config files were referring to the LVM devices like
/dev/vg/domU-rootwith disk = [ 'phy:vg/domU-root,sda1,w' ]. This does not work anymore, we have to include '/dev/': disk = [ 'phy:/dev/vg/domU-root,sda1,w' ].
Hello,
I added xen-devel to CC list.
(I'll reply your other questions on another email.)
-- Pasi
Hello,
(added Ian as CC).
While talking about supported disk configuration syntax, I remembered this report again..
Sylvain: Did you use 'xl' or 'xm' ?
-- Pasi
Quoted 20 lines · Pasi Kärkkäinen
Quoted 11 lines · Sylvain CHEVALIER
Hi,
We just migrated xen on gentoo on amd64 from 4.0 to 4.1 and encountered a few issues that were not documented. Here is how we solved them and what issues are remaining:
1. Our config files were referring to the LVM devices like
/dev/vg/domU-rootwith disk = [ 'phy:vg/domU-root,sda1,w' ]. This does not work anymore, we have to include '/dev/': disk = [ 'phy:/dev/vg/domU-root,sda1,w' ].Hello,
I added xen-devel to CC list.
(I'll reply your other questions on another email.)-- Pasi
Hi Pasi,
Thanks a lot for following up. We had to change this part of our config files when we moved from xm to xl.
Sylvain
Quoted 34 lines · Pasi Kärkkäinen
Hello,
(added Ian as CC).
While talking about supported disk configuration syntax, I remembered this report again..
Sylvain: Did you use 'xl' or 'xm' ?
-- Pasi
Quoted 20 lines · Pasi Kärkkäinen
Quoted 11 lines · Sylvain CHEVALIER
Hi,
We just migrated xen on gentoo on amd64 from 4.0 to 4.1 and encountered a few issues that were not documented. Here is how we solved them and what issues are remaining:
1. Our config files were referring to the LVM devices like
/dev/vg/domU-rootwith disk = [ 'phy:vg/domU-root,sda1,w' ]. This does not work anymore, we have to include '/dev/': disk = [ 'phy:/dev/vg/domU-root,sda1,w' ].Hello,
I added xen-devel to CC list.
(I'll reply your other questions on another email.)-- Pasi
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines · Sylvain CHEVALIER
Quoted 4 lines
1. Our config files were referring to the LVM devices like
/dev/vg/domU-rootwith disk = [ 'phy:vg/domU-root,sda1,w' ]. This does not work anymore, we have to include '/dev/': disk = [ 'phy:/dev/vg/domU-root,sda1,w' ].
This seems like a bug in xl's implementation of the syntax specification (docs/misc/xl-disk-configuration.txt), which states that any path which doesn't start with a / should have "/dev/" prepended (IOW non-absolute paths are relative to /dev/).
Anyone fancy knocking up a patch?
Ian.
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
Re: [Xen-users] Issues migrating to xen 4.1 / qemu-dm memory leak?
Quoted 7 lines · Sylvain CHEVALIER
Quoted 2 lines
And did you mean qemu-dm process in dom0 is leaking memory?
I believe so. After running the whole week-end, with one instance of windows 2008 used as a domain controller, qemu-dm uses 2GB of RAM. Running pmap, I am getting lots of lines like this one:
Quoted 7 lines
00007fcd73f2e0001024K rw-s-/proc/xen/privcmd$ pmap 10423| grep /proc/xen/privcmd | wc -l 1827Any clue?
Ok. So, a summary:
- VM has 512 MB of memory: qemu-dm leaks memory.
- VM has 4GB of memory: qemu-dm doesn't leak memory.
Is that what you meant?
btw. is that Windows running any PV drivers or pure HVM with emulated devices?
-- Pasi
Re: Issues migrating to xen 4.1 / qemu-dm memory leak?
Quoted 6 lines
Ok. So, a summary:
- VM has 512 MB of memory: qemu-dm leaks memory.
- VM has 4GB of memory: qemu-dm doesn't leak memory.Is that what you meant?
Oups, I am sorry, I am realizing that I made a typo in my original message, I am only talking about dom0, not the VM. qemu-dm is leaking memory, so if I only allocate 512MB to dom0 it will quickly run out of memory. When I allocate more (4GB), I do not run out. At least until now.
Quoted 3 lines
btw. is that Windows running any PV drivers or pure HVM with emulated devices?
Pure HVM with emulated devices with qemu, I haven't looked at PV drivers.
Sylvain
Re: Re: [Xen-users] Issues migrating to xen 4.1 / qemu-dm memory leak?
In reply to Pasi KärkkäinenQuoted 16 lines · Pasi Kärkkäinen
Quoted 7 lines · Sylvain CHEVALIER
Quoted 2 lines
And did you mean qemu-dm process in dom0 is leaking memory?
I believe so. After running the whole week-end, with one instance of windows 2008 used as a domain controller, qemu-dm uses 2GB of RAM. Running pmap, I am getting lots of lines like this one:
Quoted 7 lines
00007fcd73f2e0001024K rw-s-/proc/xen/privcmd$ pmap 10423| grep /proc/xen/privcmd | wc -l 1827Any clue?
Quoted 9 lines
Ok. So, a summary:
- VM has 512 MB of memory: qemu-dm leaks memory.
- VM has 4GB of memory: qemu-dm doesn't leak memory.Is that what you meant?
btw. is that Windows running any PV drivers or pure HVM with emulated devices?
Hello again,
Sylvain: Are you still seeing this qemu-dm memleak problem? Did you resolve it?
-- Pasi
Re: Re: [Xen-users] Issues migrating to xen 4.1 / qemu-dm memory leak?
Hi Pasi,
I think it does leak memory although I am not completely sure. What I am seeing is that it uses almost 2GB of memory, and that it is (slowly) growing. Before we updated to xen 4.1 (which included a qemu update), we only had 512MB for dom0.
Right now, we have (24576 is qemu's pid):
$ pmap 24576 total 1765848K $ pmap 24576 | grep /proc/xen/privcmd | wc -l 1624
Thanks,
Sylvain
Quoted 34 lines · Pasi Kärkkäinen
Quoted 16 lines · Pasi Kärkkäinen
Quoted 7 lines · Sylvain CHEVALIER
Quoted 2 lines
And did you mean qemu-dm process in dom0 is leaking memory?
I believe so. After running the whole week-end, with one instance of windows 2008 used as a domain controller, qemu-dm uses 2GB of RAM. Running pmap, I am getting lots of lines like this one:
Quoted 7 lines
00007fcd73f2e0001024K rw-s- /proc/xen/privcmd$ pmap 10423| grep /proc/xen/privcmd | wc -l 1827Any clue?
Quoted 9 lines
Ok. So, a summary:
- VM has 512 MB of memory: qemu-dm leaks memory.
- VM has 4GB of memory: qemu-dm doesn't leak memory.Is that what you meant?
btw. is that Windows running any PV drivers or pure HVM with emulated devices?
Hello again,
Sylvain: Are you still seeing this qemu-dm memleak problem? Did you resolve it?
-- Pasi