Test 11_create_concurrent_pos of xm-test suite only creates
33 domains and then gets: Cannot allocate memory. The host has c/s 15464
of 3.1.1 and it has plenty of memory – 256GB.
Xend log shows:
[2007-10-15 09:06:48 6447] DEBUG (XendDomainInfo:84)
XendDomainInfo.create(['vm', ['name', '11_create_34'], ['memory', 512],
['vcpus', 1], ['on_xend_start', 'ignore'], ['on_xend_stop', 'ignore'],
['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.18-xen'], ['ramdisk',
'/home/unisys/xen-3.1-testing.hg/tools/xm-test/ramdisk/initrd.img'], ['root',
'/dev/ram0'], ['args', 'ramdisk_size=3561']]]])
[2007-10-15 09:06:48 6447] DEBUG (XendDomainInfo:1506)
XendDomainInfo.constructDomain
[2007-10-15 09:06:49 6447] DEBUG (balloon:116) Balloon:
242725968 KiB free; need 2048; done.
[2007-10-15 09:06:49 6447] ERROR (XendDomainInfo:424) VM
start failed
Traceback (most recent call last):
File
"/home/unisys/xen-3.1-testing.hg/dist/install/usr/lib64/python/xen/xend/XendDomainInfo.py",
line 403, in start
XendTask.log_progress(0, 30,
self._constructDomain)
File
"/home/unisys/xen-3.1-testing.hg/dist/install/usr/lib64/python/xen/xend/XendTask.py",
line 209, in log_progress
retval = func(*args, **kwds)
File "/home/unisys/xen-3.1-testing.hg/dist/install/usr/lib64/python/xen/xend/XendDomainInfo.py",
line 1529, in _constructDomain
hvm = int(hvm))
Error: (12, 'Cannot allocate memory')
Xm-test default for domain size was 64M; the README
recommends increasing the domain size if there are memory errors, so I tried
128M, 256M and 512M. When I reboot the host with 192gb, leaving the
domain memory size as 512M, the test does not fail.
Any ideas why adding the extra host memory causes the test
to fail?
Thanks,
Sue Krysan
Linux Systems Group
Unisys Corporation