I am installing xen 4.0.2rev1pre with kernel 2.6.32.24 (up-to-date
branch) at a CentOS 5.5 system, setting dom0 memory to 4096MB at
/boot/grub/menu.lst:
kernel /xen.gz dom0_mem=4096M
dom0 gets up with severe lack of memory, as shown in the log below.
When I set the initial memory to 2048M, the system goes up without any
major problem.
I was formerly testing version 4.0.1 kernel 2.6.32.21. Although I was
not having the same problems, I noticed that the dom0 wasn't getting the
memory ascribed to it. Instead, it was getting between 2300 and 3602 MB
(apparently depending on the total amount of memory).
Oct 13 19:45:53 r2b16ch2x18p2 kernel: [ 98.219969] xend invoked
oom-killer: gfp_mask=0x200da, order=0, oom_adj=0
Oct 13 19:45:53 r2b16ch2x18p2 kernel: [ 98.220268] xend cpuset=/
mems_allowed=0
Oct 13 19:45:53 r2b16ch2x18p2 kernel: [ 98.220276] Pid: 4608, comm:
xend Not tainted 2.6.32.24 #2
Oct 13 19:45:53 r2b16ch2x18p2 kernel: [ 98.220548] Call Trace:
Oct 13 19:45:53 r2b16ch2x18p2 kernel: [ 98.220827]
[<ffffffff810b85dd>] ? __spin_unlock+0x17/0x1b
Oct 13 19:45:53 r2b16ch2x18p2 kernel: [ 98.221105]
[<ffffffff810b875f>] oom_kill_process+0x7d/0x217
Oct 13 19:45:53 r2b16ch2x18p2 kernel: [ 98.221386]
[<ffffffff810b8cc2>] __out_of_memory+0x3f/0x149
Oct 13 19:45:53 r2b16ch2x18p2 kernel: [ 98.221658]
[<ffffffff810b8e3a>] out_of_memory+0x6e/0xa4
Oct 13 19:45:53 r2b16ch2x18p2 kernel: [ 98.221939]
[<ffffffff810bb686>] __alloc_pages_nodemask+0x477/0x5ab
Oct 13 19:45:53 r2b16ch2x18p2 kernel: [ 98.222223]
[<ffffffff810daf0f>] read_swap_cache_async+0x48/0xe4
Oct 13 19:45:53 r2b16ch2x18p2 kernel: [ 98.222503]
[<ffffffff810db003>] swapin_readahead+0x58/0x97
Oct 13 19:45:53 r2b16ch2x18p2 kernel: [ 98.222782]
[<ffffffff810de037>] ? __spin_unlock+0x17/0x1b
Oct 13 19:45:53 r2b16ch2x18p2 kernel: [ 98.223062]
[<ffffffff810ceeda>] handle_mm_fault+0x3f1/0x72c
Oct 13 19:45:53 r2b16ch2x18p2 kernel: [ 98.223352]
[<ffffffff8155da46>] do_page_fault+0x205/0x271
Oct 13 19:45:53 r2b16ch2x18p2 kernel: [ 98.223631]
[<ffffffff8155ba35>] page_fault+0x25/0x30
Oct 13 19:45:54 r2b16ch2x18p2 kernel: [ 98.223908] Mem-Info:
Oct 13 19:45:54 r2b16ch2x18p2 kernel: [ 98.223912] DMA per-cpu:
Oct 13 19:45:54 r2b16ch2x18p2 kernel: [ 98.224182] CPU 0: hi: 0,
btch: 1 usd: 0
Oct 13 19:45:54 r2b16ch2x18p2 kernel: [ 98.224458] CPU 1: hi: 0,
btch: 1 usd: 0
Oct 13 19:45:54 r2b16ch2x18p2 kernel: [ 98.224733] CPU 2: hi: 0,
btch: 1 usd: 0
Oct 13 19:45:55 r2b16ch2x18p2 kernel: [ 98.225008] CPU 3: hi: 0,
btch: 1 usd: 0
Oct 13 19:45:55 r2b16ch2x18p2 kernel: [ 98.225283] CPU 4: hi: 0,
btch: 1 usd: 0
Oct 13 19:45:55 r2b16ch2x18p2 kernel: [ 98.225557] CPU 5: hi: 0,
btch: 1 usd: 0
Oct 13 19:45:55 r2b16ch2x18p2 kernel: [ 98.225831] CPU 6: hi: 0,
btch: 1 usd: 0
Oct 13 19:45:55 r2b16ch2x18p2 kernel: [ 98.226105] CPU 7: hi: 0,
btch: 1 usd: 0
Oct 13 19:45:55 r2b16ch2x18p2 kernel: [ 98.226380] DMA32 per-cpu:
Oct 13 19:45:55 r2b16ch2x18p2 kernel: [ 98.226652] CPU 0: hi: 186,
btch: 31 usd: 0
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.226926] CPU 1: hi: 186,
btch: 31 usd: 30
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.227201] CPU 2: hi: 186,
btch: 31 usd: 0
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.227475] CPU 3: hi: 186,
btch: 31 usd: 0
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.227750] CPU 4: hi: 186,
btch: 31 usd: 0
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.228024] CPU 5: hi: 186,
btch: 31 usd: 0
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.228299] CPU 6: hi: 186,
btch: 31 usd: 0
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.228575] CPU 7: hi: 186,
btch: 31 usd: 0
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.228847] Normal per-cpu:
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.229118] CPU 0: hi: 186,
btch: 31 usd: 0
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.229393] CPU 1: hi: 186,
btch: 31 usd: 0
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.229668] CPU 2: hi: 186,
btch: 31 usd: 0
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.229942] CPU 3: hi: 186,
btch: 31 usd: 0
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.230218] CPU 4: hi: 186,
btch: 31 usd: 0
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.230493] CPU 5: hi: 186,
btch: 31 usd: 0
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.230766] CPU 6: hi: 186,
btch: 31 usd: 0
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.231041] CPU 7: hi: 186,
btch: 31 usd: 0
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.231321] active_anon:19
inactive_anon:0 isolated_anon:0
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.231323] active_file:3
inactive_file:11 isolated_file:0
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.231324] unevictable:1260
dirty:0 writeback:104 unstable:0
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.231326] free:5807
slab_reclaimable:1204 slab_unreclaimable:8157
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.231327] mapped:1039
shmem:0 pagetables:1719 bounce:0
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.232709] DMA free:11940kB
min:24kB low:28kB high:36kB active_anon:0kB inactive_anon:0kB
active_file:0kB inactive_file:0kB unevictable:0kB isolated(anon):0kB
isolated(file):0kB present:11764kB mlocked:0kB dirty:0kB writeback:0kB
mapped:0kB shmem:0kB slab_reclaimable:0kB slab_unreclaimable:32kB
kernel_stack:0kB pagetables:0kB unstable:0kB bounce:0kB
writeback_tmp:0kB pages_scanned:0 all_unreclaimable? yes
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.234153] lowmem_reserve[]: 0
1966 3058 3058
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.234642] DMA32 free:8884kB
min:4540kB low:5672kB high:6808kB active_anon:76kB inactive_anon:0kB
active_file:12kB inactive_file:44kB unevictable:5040kB
isolated(anon):0kB isolated(file):0kB present:2013892kB mlocked:5040kB
dirty:0kB writeback:416kB mapped:4156kB shmem:0kB
slab_reclaimable:4776kB slab_unreclaimable:32060kB kernel_stack:1664kB
pagetables:6876kB unstable:0kB bounce:0kB writeback_tmp:0kB
pages_scanned:32 all_unreclaimable? no
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.236078] lowmem_reserve[]: 0
0 1091 1091
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.236565] Normal free:2404kB
min:2520kB low:3148kB high:3780kB active_anon:0kB inactive_anon:0kB
active_file:0kB inactive_file:0kB unevictable:0kB isolated(anon):0kB
isolated(file):0kB present:1118144kB mlocked:0kB dirty:0kB writeback:0kB
mapped:0kB shmem:0kB slab_reclaimable:40kB slab_unreclaimable:536kB
kernel_stack:16kB pagetables:0kB unstable:0kB bounce:0kB
writeback_tmp:0kB pages_scanned:0 all_unreclaimable? yes
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.238013] lowmem_reserve[]: 0
0 0 0
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.238493] DMA: 1*4kB 0*8kB
2*16kB 2*32kB 3*64kB 3*128kB 2*256kB 1*512kB 2*1024kB 2*2048kB 1*4096kB
= 11940kB
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.239509] DMA32: 801*4kB
0*8kB 0*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 1*2048kB
1*4096kB = 9348kB
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.240524] Normal: 9*4kB
11*8kB 7*16kB 4*32kB 4*64kB 0*128kB 1*256kB 1*512kB 1*1024kB 0*2048kB
0*4096kB = 2412kB
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.241534] 1080 total
pagecache pages
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.241799] 73 pages in swap cache
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.242063] Swap cache stats:
add 19943, delete 19870, find 2153/3477
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.242339] Free swap = 4152072kB
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.242603] Total swap = 4194296kB
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.363208] 974848 pages RAM
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.363215] 487797 pages reserved
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.363219] 6769 pages shared
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.363223] 479714 pages non-shared
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.363230] Out of memory: kill
process 4527 (httpd) score 56036 or a child
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.363508] Killed process 4527
(httpd)
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.364919] xend invoked
oom-killer: gfp_mask=0x200da, order=0, oom_adj=0
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.365212] xend cpuset=/
mems_allowed=0
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.365224] Pid: 4608, comm:
xend Not tainted 2.6.32.24 #2
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.365509] Call Trace:
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.365804]
[<ffffffff810b85dd>] ? __spin_unlock+0x17/0x1b
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.366093]
[<ffffffff810b875f>] oom_kill_process+0x7d/0x217
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.366383]
[<ffffffff810b8cc2>] __out_of_memory+0x3f/0x149
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.366662]
[<ffffffff810b8e3a>] out_of_memory+0x6e/0xa4
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.366937]
[<ffffffff810bb686>] __alloc_pages_nodemask+0x477/0x5ab
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.367213]
[<ffffffff810daf0f>] read_swap_cache_async+0x48/0xe4
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.367489]
[<ffffffff810db003>] swapin_readahead+0x58/0x97
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.367762]
[<ffffffff810de037>] ? __spin_unlock+0x17/0x1b
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.368037]
[<ffffffff810ceeda>] handle_mm_fault+0x3f1/0x72c
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.368312]
[<ffffffff8155da46>] do_page_fault+0x205/0x271
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.368588]
[<ffffffff8155ba35>] page_fault+0x25/0x30
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.368857] Mem-Info:
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.368862] DMA per-cpu:
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.369124] CPU 0: hi: 0,
btch: 1 usd: 0
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.369391] CPU 1: hi: 0,
btch: 1 usd: 0
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.369656] CPU 2: hi: 0,
btch: 1 usd: 0
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.369923] CPU 3: hi: 0,
btch: 1 usd: 0
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.370188] CPU 4: hi: 0,
btch: 1 usd: 0
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.370457] CPU 5: hi: 0,
btch: 1 usd: 0
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.370724] CPU 6: hi: 0,
btch: 1 usd: 0
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.370988] CPU 7: hi: 0,
btch: 1 usd: 0
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.371258] DMA32 per-cpu:
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.371522] CPU 0: hi: 186,
btch: 31 usd: 0
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.371788] CPU 1: hi: 186,
btch: 31 usd: 0
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.372055] CPU 2: hi: 186,
btch: 31 usd: 0
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.377607] CPU 3: hi: 186,
btch: 31 usd: 121
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.377870] CPU 4: hi: 186,
btch: 31 usd: 0
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.378134] CPU 5: hi: 186,
btch: 31 usd: 0
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.378398] CPU 6: hi: 186,
btch: 31 usd: 0
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.378662] CPU 7: hi: 186,
btch: 31 usd: 33
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.378927] Normal per-cpu:
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.379191] CPU 0: hi: 186,
btch: 31 usd: 0
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.379459] CPU 1: hi: 186,
btch: 31 usd: 0
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.379727] CPU 2: hi: 186,
btch: 31 usd: 0
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.379994] CPU 3: hi: 186,
btch: 31 usd: 0
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.380262] CPU 4: hi: 186,
btch: 31 usd: 0
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.380529] CPU 5: hi: 186,
btch: 31 usd: 0
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.380796] CPU 6: hi: 186,
btch: 31 usd: 0
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.381063] CPU 7: hi: 186,
btch: 31 usd: 0
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.381337] active_anon:19
inactive_anon:0 isolated_anon:0
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.381338] active_file:0
inactive_file:0 isolated_file:0
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.381339] unevictable:1260
dirty:0 writeback:104 unstable:0
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.381341] free:5855
slab_reclaimable:1204 slab_unreclaimable:8157
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.381342] mapped:1039
shmem:0 pagetables:1597 bounce:0
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.382672] DMA free:11940kB
min:24kB low:28kB high:36kB active_anon:0kB inactive_anon:0kB
active_file:0kB inactive_file:0kB unevictable:0kB isolated(anon):0kB
isolated(file):0kB present:11764kB mlocked:0kB dirty:0kB writeback:0kB
mapped:0kB shmem:0kB slab_reclaimable:0kB slab_unreclaimable:32kB
kernel_stack:0kB pagetables:0kB unstable:0kB bounce:0kB
writeback_tmp:0kB pages_scanned:0 all_unreclaimable? yes
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.384074] lowmem_reserve[]: 0
1966 3058 3058
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.384556] DMA32 free:9076kB
min:4540kB low:5672kB high:6808kB active_anon:76kB inactive_anon:0kB
active_file:0kB inactive_file:0kB unevictable:5040kB isolated(anon):0kB
isolated(file):0kB present:2013892kB mlocked:5040kB dirty:0kB
writeback:416kB mapped:4156kB shmem:0kB slab_reclaimable:4776kB
slab_unreclaimable:32060kB kernel_stack:1664kB pagetables:6388kB
unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0
all_unreclaimable? no
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.385959] lowmem_reserve[]: 0
0 1091 1091
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.386438] Normal free:2404kB
min:2520kB low:3148kB high:3780kB active_anon:0kB inactive_anon:0kB
active_file:0kB inactive_file:0kB unevictable:0kB isolated(anon):0kB
isolated(file):0kB present:1118144kB mlocked:0kB dirty:0kB writeback:0kB
mapped:0kB shmem:0kB slab_reclaimable:40kB slab_unreclaimable:536kB
kernel_stack:16kB pagetables:0kB unstable:0kB bounce:0kB
writeback_tmp:0kB pages_scanned:0 all_unreclaimable? yes
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.387838] lowmem_reserve[]: 0
0 0 0
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.388313] DMA: 1*4kB 0*8kB
2*16kB 2*32kB 3*64kB 3*128kB 2*256kB 1*512kB 2*1024kB 2*2048kB 1*4096kB
= 11940kB
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.389315] DMA32: 848*4kB
5*8kB 0*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 1*2048kB
1*4096kB = 9576kB
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.390318] Normal: 9*4kB
11*8kB 7*16kB 4*32kB 4*64kB 0*128kB 1*256kB 1*512kB 1*1024kB 0*2048kB
0*4096kB = 2412kB
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.391318] 1080 total
pagecache pages
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.391584] 73 pages in swap cache
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.391845] Swap cache stats:
add 19943, delete 19870, find 2153/3478
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.392112] Free swap = 4152224kB
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.392373] Total swap = 4194296kB
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.512889] 974848 pages RAM
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.512895] 487797 pages reserved
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.512899] 6626 pages shared
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.512903] 479593 pages non-shared
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.512911] Out of memory: kill
process 4528 (httpd) score 56036 or a child
Oct 13 19:45:56 r2b16ch2x18p2 kernel: [ 98.513192] Killed process 4528
(httpd)
The log follows similarly several times for several daemons.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|