Krysan, Susan
2007-Oct-18 00:56 UTC
[Xen-devel] using 3.1.1 with 256GB host, 11_create_concurrent_pos of xm-test fails with Cannot allocate memory
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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Ian Pratt
2007-Oct-18 07:59 UTC
RE: [Xen-devel] using 3.1.1 with 256GB host, 11_create_concurrent_pos of xm-test fails with Cannotallocate memory
> 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 of3.1.1> and it has plenty of memory - 256GB.That''s interesting. Is this a regression, or the first time you''ve tried 256GB? Please can you use a debug build of xen then try sending it ''debug key'' events so we can see the memory stats. You can do this from the serial console, or inject the key presses via xm. Ian _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Krysan, Susan
2007-Oct-18 18:31 UTC
RE: [Xen-devel] using 3.1.1 with 256GB host, 11_create_concurrent_pos of xm-test fails with Cannotallocate memory
Thanks for your response. This is the first time xen has actually been allotted 256GB. I''ve booted unstable with 256GB before, but xen is only allotted 166gb (truncated for 32on64 support). Next week I will run with a debug build and provide you with the memory stats. Thanks, Sue Krysan Linux Systems Group Unisys Corporation -----Original Message----- From: Ian Pratt [mailto:Ian.Pratt@cl.cam.ac.uk] Sent: Thursday, October 18, 2007 4:00 AM To: Krysan, Susan; xen-devel@lists.xensource.com Cc: ian.pratt@cl.cam.ac.uk Subject: RE: [Xen-devel] using 3.1.1 with 256GB host,11_create_concurrent_pos of xm-test fails with Cannotallocate memory> 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 of3.1.1> and it has plenty of memory - 256GB.That''s interesting. Is this a regression, or the first time you''ve tried 256GB? Please can you use a debug build of xen then try sending it ''debug key'' events so we can see the memory stats. You can do this from the serial console, or inject the key presses via xm. Ian _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Krysan, Susan
2007-Nov-26 20:45 UTC
RE: [Xen-devel] using 3.1.1 with 256GB host, 11_create_concurrent_pos of xm-test fails with Cannotallocate memory
I found the solution to this problem. I added xen boot parameter xenheap_megabytes=64 and now test 11_create_concurrent_pos of xm-test passes. Thanks, Sue Krysan Linux Systems Group Unisys Corporation -----Original Message----- From: Krysan, Susan Sent: Thursday, October 18, 2007 2:31 PM To: ''Ian Pratt''; xen-devel@lists.xensource.com Subject: RE: [Xen-devel] using 3.1.1 with 256GB host,11_create_concurrent_pos of xm-test fails with Cannotallocate memory Thanks for your response. This is the first time xen has actually been allotted 256GB. I''ve booted unstable with 256GB before, but xen is only allotted 166gb (truncated for 32on64 support). Next week I will run with a debug build and provide you with the memory stats. Thanks, Sue Krysan Linux Systems Group Unisys Corporation -----Original Message----- From: Ian Pratt [mailto:Ian.Pratt@cl.cam.ac.uk] Sent: Thursday, October 18, 2007 4:00 AM To: Krysan, Susan; xen-devel@lists.xensource.com Cc: ian.pratt@cl.cam.ac.uk Subject: RE: [Xen-devel] using 3.1.1 with 256GB host,11_create_concurrent_pos of xm-test fails with Cannotallocate memory> 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 of3.1.1> and it has plenty of memory - 256GB.That''s interesting. Is this a regression, or the first time you''ve tried 256GB? Please can you use a debug build of xen then try sending it ''debug key'' events so we can see the memory stats. You can do this from the serial console, or inject the key presses via xm. Ian _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel