Running this script from within a PV guest without having an xm console
attached can use all dom0 memory.
while [ 1 ]; do ls -lR /usr > /dev/xvc0; done
Start of script: (1% mem usage)
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
10281 root 15 0 76536 14m 2448 S 2 1.0
0:00.61 qemu-dm
Couple minutes later: (17% mem usage)
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
10281 root 16 0 291m 231m 2448 R 15 17.0
0:16.34 qemu-dm
Much later: (72.8% mem usage)
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
10281 root 15 0 1052m 989m 2448 S 10 72.8
1:13.25 qemu-dm
Attached patch sets dom->buffer.max_capacity to xend configured limit.
Please apply to xen-unstable tip.
Signed-off-by: Pat Campbell <plc@novell.com>
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel