On Tue, Jan 25, 2011 at 07:33:14PM +0300, Vasiliy G Tolstov wrote:
> On Tue, 2011-01-25 at 09:45 -0500, Konrad Rzeszutek Wilk wrote:
> > On Mon, Jan 24, 2011 at 11:19:02PM +0300, Vasiliy G Tolstov wrote:
> > > On Fri, 2011-01-21 at 19:16 +0300, Vasiliy G Tolstov wrote:
> > > > On Fri, 2011-01-21 at 10:30 -0500, Konrad Rzeszutek Wilk wrote:
> > > >
> > > > > Do you see any messages during bootup about memory being returned?
> > > > > Look for
> > > > > xen_release_chunk .. and pages freed ?
> > > [snip]
> > >
> > > Hello. Konrad, do You have any progress about this issue?
> >
> > Try booting your kernel with 'debug loglevel=10 memblock=debug'. I know
> > that at least
> > 64MB is used for SWIOTLB (which you don't need - you can disable that since
> > you are
> > not doing any PCI passthrough), 6MB for kernel + kernel data. The
> > "memblock=debug" will
> > give you the details to figure out who else is eating the big swaths of
> > memory.
> >
>
> Nice suggestion about swiotlb. Can You check my debug output and helps
> me to find what else eats memory?
Why don't you run this through | grep memblock,
then awk - extract those regions .. something like this:
grep memblock | serve_range:// | sed s/\\[// | sed s/\\]// | sed s/-/\ / | awk
--non-decimal-data ' { a=$2;b=$1;printf "%s %s\n", a-b, $3 }
that should give you an idea what is eating what memory. For example
NODE_DATA looks to be eating a bunch of 20 pages (20*4096)= 81920 bytes.
thought later on it free's some of them.
>
> [ 0.000000] Initializing cgroup subsys cpuset
> [ 0.000000] Initializing cgroup subsys cpu
> [ 0.000000] Linux version 2.6.37 (root@xxxxxxxxxxxxxxx) (gcc version
> 4.4.4 (Gentoo 4.4.4-r2 p1.2, pie-0.4.5) ) #1 SMP Thu Jan 6 00:29:34 UTC
> 2011
> [ 0.000000] Command line: root=/dev/xvda1 tmem=1 console=hvc0
> xencons=hvc0 earlyprintk=xen debug loglevel=10 elevator=noop
> memblock=debug iommu=off
> [ 0.000000] ACPI in unprivileged domain disabled
> [ 0.000000] released 0 pages of unused memory
> [ 0.000000] BIOS-provided physical RAM map:
> [ 0.000000] Xen: 0000000000000000 - 00000000000a0000 (usable)
> [ 0.000000] Xen: 00000000000a0000 - 0000000000100000 (reserved)
> [ 0.000000] Xen: 0000000000100000 - 0000000100800000 (usable)
> [ 0.000000] bootconsole [xenboot0] enabled
> [ 0.000000] NX (Execute Disable) protection: active
> [ 0.000000] DMI not present or invalid.
> [ 0.000000] e820 update range: 0000000000000000 - 0000000000010000
> (usable) ==> (reserved)
> [ 0.000000] e820 remove range: 00000000000a0000 - 0000000000100000
> (usable)
> [ 0.000000] No AGP bridge found
> [ 0.000000] last_pfn = 0x100800 max_arch_pfn = 0x400000000
> [ 0.000000] last_pfn = 0x100000 max_arch_pfn = 0x400000000
> [ 0.000000] memblock_x86_reserve_range: [0x016d3000-0x016defff]
> BRK
> [ 0.000000] MEMBLOCK configuration:
> [ 0.000000] memory size = 0x100790000
> [ 0.000000] memory.cnt = 0x2
> [ 0.000000] memory[0x0] [0x00000000010000-0x0000000009ffff], 0x90000
> bytes
> [ 0.000000] memory[0x1] [0x00000000100000-0x000001007fffff],
> 0x100700000 bytes
> [ 0.000000] reserved.cnt = 0x4
> [ 0.000000] reserved[0x0] [0x00000001000000-0x000000016d207f],
> 0x6d2080 bytes
> [ 0.000000] reserved[0x1] [0x000000016d3000-0x000000016defff],
> 0xc000 bytes
> [ 0.000000] reserved[0x2] [0x000000017fe000-0x00000001c4dfff],
> 0x450000 bytes
> [ 0.000000] reserved[0x3] [0x00000020000000-0x000001007fffff],
> 0xe0800000 bytes
> [ 0.000000] initial memory mapped : 0 - 027ff000
> [ 0.000000] memblock_x86_reserve_range: [0x0009e000-0x0009ffff]
> TRAMPOLINE
> [ 0.000000] memblock_x86_reserve_range: [0x0009a000-0x0009dfff]
> ACPI WAKEUP
> [ 0.000000] init_memory_mapping: 0000000000000000-0000000100000000
> [ 0.000000] 0000000000 - 0100000000 page 4k
> [ 0.000000] kernel direct mapping tables up to 100000000 @
> 1ffa000-27ff000
> [ 0.000000] memblock_x86_reserve_range: [0x01ffa000-0x027e8fff]
> PGTABLE
> [ 0.000000] init_memory_mapping: 0000000100000000-0000000100800000
> [ 0.000000] 0100000000 - 0100800000 page 4k
> [ 0.000000] kernel direct mapping tables up to 100800000 @
> 1f7f6000-20000000
> [ 0.000000] memblock_x86_reserve_range: [0x1f7f6000-0x1f7fafff]
> PGTABLE
> [ 0.000000] RAMDISK: 017fe000 - 01b38000
> [ 0.000000] No NUMA configuration found
> [ 0.000000] Faking a node at 0000000000000000-0000000100800000
> [ 0.000000] Initmem setup node 0 0000000000000000-0000000100800000
> [ 0.000000] memblock_x86_reserve_range: [0x1fffb000-0x1fffffff]
> NODE_DATA
> [ 0.000000] NODE_DATA [000000001fffb000 - 000000001fffffff]
> [ 0.000000] memblock_x86_reserve_range: [0x1fffa000-0x1fffafff]
> BOOTMEM
> [ 0.000000] memblock_x86_reserve_range: [0x1fbfa000-0x1fff9fff]
> BOOTMEM
> [ 0.000000] memblock_x86_reserve_range: [0x1fbf9cc0-0x1fbf9fd7]
> BOOTMEM
> [ 0.000000] memblock_x86_reserve_range: [0x1f3f6000-0x1f7f5fff]
> BOOTMEM
> [ 0.000000] memblock_x86_reserve_range: [0x1b000000-0x1f1fffff]
> BOOTMEM
> [ 0.000000] memblock_x86_reserve_range: [0x1fbf8000-0x1fbf8fff]
> BOOTMEM
> [ 0.000000] memblock_x86_reserve_range: [0x1fbf7000-0x1fbf7fff]
> BOOTMEM
> [ 0.000000] memblock_x86_reserve_range: [0x1fbf6000-0x1fbf6fff]
> BOOTMEM
> [ 0.000000] memblock_x86_reserve_range: [0x1fbf5000-0x1fbf5fff]
> BOOTMEM
> [ 0.000000] memblock_x86_reserve_range: [0x1fbf4000-0x1fbf4fff]
> BOOTMEM
> [ 0.000000] memblock_x86_reserve_range: [0x1fbf3000-0x1fbf3fff]
> BOOTMEM
> [ 0.000000] memblock_x86_reserve_range: [0x1fbf2000-0x1fbf2fff]
> BOOTMEM
> [ 0.000000] memblock_x86_reserve_range: [0x1fbf1000-0x1fbf1fff]
> BOOTMEM
> [ 0.000000] memblock_x86_reserve_range: [0x1fbf0000-0x1fbf0fff]
> BOOTMEM
> [ 0.000000] memblock_x86_reserve_range: [0x1fbef000-0x1fbeffff]
> BOOTMEM
> [ 0.000000] memblock_x86_reserve_range: [0x1fbee000-0x1fbeefff]
> BOOTMEM
> [ 0.000000] memblock_x86_reserve_range: [0x1fbed000-0x1fbedfff]
> BOOTMEM
> [ 0.000000] memblock_x86_reserve_range: [0x1fbec000-0x1fbecfff]
> BOOTMEM
> [ 0.000000] memblock_x86_reserve_range: [0x1fbeb000-0x1fbebfff]
> BOOTMEM
> [ 0.000000] memblock_x86_reserve_range: [0x1fbea000-0x1fbeafff]
> BOOTMEM
> [ 0.000000] memblock_x86_reserve_range: [0x1fbe9000-0x1fbe9fff]
> BOOTMEM
> [ 0.000000] memblock_x86_reserve_range: [0x1fbe8000-0x1fbe8fff]
> BOOTMEM
> [ 0.000000] memblock_x86_reserve_range: [0x1fbe7000-0x1fbe7fff]
> BOOTMEM
> [ 0.000000] memblock_x86_reserve_range: [0x1fbe6000-0x1fbe6fff]
> BOOTMEM
> [ 0.000000] memblock_x86_reserve_range: [0x1fbe5000-0x1fbe5fff]
> BOOTMEM
> [ 0.000000] memblock_x86_reserve_range: [0x1fbe4000-0x1fbe4fff]
> BOOTMEM
> [ 0.000000] memblock_x86_reserve_range: [0x1fbe3000-0x1fbe3fff]
> BOOTMEM
> [ 0.000000] memblock_x86_reserve_range: [0x1fbe2000-0x1fbe2fff]
> BOOTMEM
> [ 0.000000] memblock_x86_reserve_range: [0x1fbe1000-0x1fbe1fff]
> BOOTMEM
> [ 0.000000] memblock_x86_reserve_range: [0x1fbe0000-0x1fbe0fff]
> BOOTMEM
> [ 0.000000] memblock_x86_reserve_range: [0x1fbdf000-0x1fbdffff]
> BOOTMEM
> [ 0.000000] memblock_x86_reserve_range: [0x1fbde000-0x1fbdefff]
> BOOTMEM
> [ 0.000000] memblock_x86_reserve_range: [0x1fbdd000-0x1fbddfff]
> BOOTMEM
> [ 0.000000] memblock_x86_reserve_range: [0x1fbdc000-0x1fbdcfff]
> BOOTMEM
> [ 0.000000] memblock_x86_reserve_range: [0x1fbdb000-0x1fbdbfff]
> BOOTMEM
> [ 0.000000] memblock_x86_reserve_range: [0x1fbda000-0x1fbdafff]
> BOOTMEM
> [ 0.000000] memblock_x86_free_range: [0x1e9c0000-0x1f1fffff]
> [ 0.000000] memblock_x86_free_range: [0x1f3f6000-0x1f7f5fff]
> [ 0.000000] memblock_x86_free_range: [0x1fbfa000-0x1fff9fff]
> [ 0.000000] Zone PFN ranges:
> [ 0.000000] DMA 0x00000010 -> 0x00001000
> [ 0.000000] DMA32 0x00001000 -> 0x00100000
> [ 0.000000] Normal 0x00100000 -> 0x00100800
> [ 0.000000] Movable zone start PFN for each node
> [ 0.000000] early_node_map[2] active PFN ranges
> [ 0.000000] 0: 0x00000010 -> 0x000000a0
> [ 0.000000] 0: 0x00000100 -> 0x00100800
> [ 0.000000] On node 0 totalpages: 1050512
> [ 0.000000] DMA zone: 56 pages used for memmap
> [ 0.000000] DMA zone: 6 pages reserved
> [ 0.000000] DMA zone: 3922 pages, LIFO batch:0
> [ 0.000000] memblock_x86_reserve_range: [0x1fff9e80-0x1fff9fff]
> BOOTMEM
> [ 0.000000] DMA32 zone: 14280 pages used for memmap
> [ 0.000000] DMA32 zone: 1030200 pages, LIFO batch:31
> [ 0.000000] memblock_x86_reserve_range: [0x1ffe1e80-0x1fff9e7f]
> BOOTMEM
> [ 0.000000] Normal zone: 28 pages used for memmap
> [ 0.000000] Normal zone: 2020 pages, LIFO batch:0
> [ 0.000000] memblock_x86_reserve_range: [0x1ffe1dc0-0x1ffe1e7f]
> BOOTMEM
> [ 0.000000] memblock_x86_reserve_range: [0x1ffe0000-0x1ffe0fff]
> BOOTMEM
> [ 0.000000] memblock_x86_reserve_range: [0x1ffdf000-0x1ffdffff]
> BOOTMEM
> [ 0.000000] memblock_x86_reserve_range: [0x1ffde000-0x1ffdefff]
> BOOTMEM
> [ 0.000000] SMP: Allowing 14 CPUs, 0 hotplug CPUs
> [ 0.000000] No local APIC present
> [ 0.000000] APIC: disable apic facility
> [ 0.000000] APIC: switched to apic NOOP
> [ 0.000000] nr_irqs_gsi: 16
> [ 0.000000] memblock_x86_reserve_range: [0x1ffe1cc0-0x1ffe1d9f]
> BOOTMEM
> [ 0.000000] memblock_x86_reserve_range: [0x1ffe1c40-0x1ffe1ca7]
> BOOTMEM
> [ 0.000000] memblock_x86_reserve_range: [0x1ffe1bc0-0x1ffe1c27]
> BOOTMEM
> [ 0.000000] memblock_x86_reserve_range: [0x1ffe1b40-0x1ffe1ba7]
> BOOTMEM
> [ 0.000000] memblock_x86_reserve_range: [0x1ffe1b00-0x1ffe1b1f]
> BOOTMEM
> [ 0.000000] PM: Registered nosave memory: 00000000000a0000 -
> 0000000000100000
> [ 0.000000] PCI: Warning: Cannot find a gap in the 32bit address
> range
> [ 0.000000] PCI: Unassigned devices with 32bit resource registers may
> break!
> [ 0.000000] Allocating PCI resources starting at 100900000 (gap:
> 100900000:400000)
> [ 0.000000] Booting paravirtualized kernel on Xen
> [ 0.000000] Xen version: 4.0.0_21091_06-0.2 (preserve-AD)
> [ 0.000000] memblock_x86_reserve_range: [0x1ffe1a80-0x1ffe1afb]
> BOOTMEM
> [ 0.000000] memblock_x86_reserve_range: [0x1ffe1a00-0x1ffe1a7b]
> BOOTMEM
> [ 0.000000] setup_percpu: NR_CPUS:64 nr_cpumask_bits:64 nr_cpu_ids:14
> nr_node_ids:1
> [ 0.000000] memblock_x86_reserve_range: [0x1ffdd000-0x1ffddfff]
> BOOTMEM
> [ 0.000000] memblock_x86_reserve_range: [0x1ffdc000-0x1ffdcfff]
> BOOTMEM
> [ 0.000000] memblock_x86_reserve_range: [0x1fe62000-0x1ffdbfff]
> BOOTMEM
> [ 0.000000] PERCPU: Embedded 27 pages/cpu @ffff88001fe62000 s78656
> r8192 d23744 u110592
> [ 0.000000] memblock_x86_reserve_range: [0x1ffe19c0-0x1ffe19c7]
> BOOTMEM
> [ 0.000000] memblock_x86_reserve_range: [0x1ffe1980-0x1ffe1987]
> BOOTMEM
> [ 0.000000] memblock_x86_reserve_range: [0x1ffe1940-0x1ffe1977]
> BOOTMEM
> [ 0.000000] memblock_x86_reserve_range: [0x1ffe18c0-0x1ffe192f]
> BOOTMEM
> [ 0.000000] pcpu-alloc: s78656 r8192 d23744 u110592 alloc=27*4096
> [ 0.000000] pcpu-alloc: [0] 00 [0] 01 [0] 02 [0] 03 [0] 04 [0] 05 [0]
> 06 [0] 07
> [ 0.000000] pcpu-alloc: [0] 08 [0] 09 [0] 10 [0] 11 [0] 12 [0] 13
> [ 0.000000] memblock_x86_reserve_range: [0x1ffe17c0-0x1ffe18bf]
> BOOTMEM
> [ 0.000000] memblock_x86_reserve_range: [0x1ffe1740-0x1ffe1787]
> BOOTMEM
> [ 0.000000] memblock_x86_reserve_range: [0x1ffe16c0-0x1ffe1707]
> BOOTMEM
> [ 0.000000] memblock_x86_free_range: [0x1ffdd000-0x1ffddfff]
> [ 0.000000] memblock_x86_free_range: [0x1ffdc000-0x1ffdcfff]
> [ 0.000000] Built 1 zonelists in Node order, mobility grouping on.
> Total pages: 1036142
> [ 0.000000] Policy zone: Normal
> [ 0.000000] Kernel command line: root=/dev/xvda1 tmem=1 console=hvc0
> xencons=hvc0 earlyprintk=xen debug loglevel=10 elevator=noop
> memblock=debug iommu=off
> [ 0.000000] memblock_x86_reserve_range: [0x1fe5a000-0x1fe61fff]
> BOOTMEM
> [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
> [ 0.000000] Checking aperture...
> [ 0.000000] No AGP bridge found
> [ 0.000000] Subtract (25 early reservations)
> [ 0.000000] [000009a000-000009ffff]
> [ 0.000000] [0001000000-00016d207f]
> [ 0.000000] [00016d3000-00016defff]
> [ 0.000000] [00017fe000-0001c4dfff]
> [ 0.000000] [0001ffa000-00027e8fff]
> [ 0.000000] [001b000000-001e9bffff]
> [ 0.000000] [001f7f6000-001f7fafff]
> [ 0.000000] [001fbda000-001fbf8fff]
> [ 0.000000] [001fbf9cc0-001fbf9fd7]
> [ 0.000000] [001fe5a000-001ffdbfff]
> [ 0.000000] [001ffde000-001ffe0fff]
> [ 0.000000] [001ffe16c0-001ffe1707]
> [ 0.000000] [001ffe1740-001ffe1787]
> [ 0.000000] [001ffe17c0-001ffe192f]
> [ 0.000000] [001ffe1940-001ffe1977]
> [ 0.000000] [001ffe1980-001ffe1987]
> [ 0.000000] [001ffe19c0-001ffe19c7]
> [ 0.000000] [001ffe1a00-001ffe1a7b]
> [ 0.000000] [001ffe1a80-001ffe1afb]
> [ 0.000000] [001ffe1b00-001ffe1b1f]
> [ 0.000000] [001ffe1b40-001ffe1ba7]
> [ 0.000000] [001ffe1bc0-001ffe1c27]
> [ 0.000000] [001ffe1c40-001ffe1ca7]
> [ 0.000000] [001ffe1cc0-001ffe1d9f]
> [ 0.000000] [001ffe1dc0-01007fffff]
> [ 0.000000] Memory: 443276k/4202496k available (4125k kernel code,
> 448k absent, 3758772k reserved, 1636k data, 640k init)
> [ 0.000000] SLUB: Genslabs=15, HWalign=64, Order=0-3, MinObjects=0,
> CPUs=14, Nodes=1
> [ 0.000000] Hierarchical RCU implementation.
> [ 0.000000] RCU-based detection of stalled CPUs is disabled.
> [ 0.000000] NR_IRQS:4352 nr_irqs:384 16
> [ 0.000000] Console: colour dummy device 80x25
> [ 0.000000] console [tty0] enabled
> [ 0.000000] console [hvc0] enabled, bootconsole disabled
> [ 0.000000] allocated 43253760 bytes of page_cgroup
> [ 0.000000] please try 'cgroup_disable=memory' option if you don't
> want memory cgroups
> [ 0.000000] Xen: using vcpuop timer interface
> [ 0.000000] installing Xen timer for CPU 0
> [ 0.000000] Detected 2266.836 MHz processor.
> [ 0.004000] Calibrating delay loop (skipped), value calculated using
> timer frequency.. 4533.67 BogoMIPS (lpj=9067344)
> [ 0.004000] pid_max: default: 32768 minimum: 301
> [ 0.004000] Security Framework initialized
> [ 0.004000] SELinux: Initializing.
> [ 0.004000] SELinux: Starting in permissive mode
> [ 0.004000] AppArmor: AppArmor disabled by boot time parameter
> [ 0.004000] Dentry cache hash table entries: 524288 (order: 10,
> 4194304 bytes)
> [ 0.004000] Inode-cache hash table entries: 262144 (order: 9, 2097152
> bytes)
> [ 0.004000] Mount-cache hash table entries: 256
> [ 0.004000] Initializing cgroup subsys ns
> [ 0.004000] ns_cgroup deprecated: consider using the 'clone_children'
> flag without the ns_cgroup.
> [ 0.004000] Initializing cgroup subsys cpuacct
> [ 0.004000] Initializing cgroup subsys memory
> [ 0.004000] Initializing cgroup subsys devices
> [ 0.004000] Initializing cgroup subsys freezer
> [ 0.004000] Initializing cgroup subsys net_cls
> [ 0.004000] Initializing cgroup subsys blkio
> [ 0.004000] CPU: Unsupported number of siblings 16
> [ 0.004000] Performance Events: unsupported p6 CPU model 26 no PMU
> driver, software events only.
> [ 0.004000] SMP alternatives: switching to UP code
> [ 0.008069] cpu 0 spinlock event irq 382
> [ 0.008382] installing Xen timer for CPU 1
> [ 0.008398] cpu 1 spinlock event irq 376
> [ 0.008428] SMP alternatives: switching to SMP code
> [ 0.004000] CPU: Unsupported number of siblings 16
> [ 0.012269] installing Xen timer for CPU 2
> [ 0.012293] cpu 2 spinlock event irq 370
> [ 0.004000] CPU: Unsupported number of siblings 16
> [ 0.012656] installing Xen timer for CPU 3
> [ 0.012674] cpu 3 spinlock event irq 364
> [ 0.004000] CPU: Unsupported number of siblings 16
> [ 0.013017] installing Xen timer for CPU 4
> [ 0.013034] cpu 4 spinlock event irq 358
> [ 0.004000] CPU: Unsupported number of siblings 16
> [ 0.015738] installing Xen timer for CPU 5
> [ 0.015768] cpu 5 spinlock event irq 352
> [ 0.004000] CPU: Unsupported number of siblings 16
> [ 0.016261] installing Xen timer for CPU 6
> [ 0.016288] cpu 6 spinlock event irq 346
> [ 0.004000] CPU: Unsupported number of siblings 16
> [ 0.017027] installing Xen timer for CPU 7
> [ 0.017052] cpu 7 spinlock event irq 340
> [ 0.004000] CPU: Unsupported number of siblings 16
> [ 0.017350] installing Xen timer for CPU 8
> [ 0.017377] cpu 8 spinlock event irq 334
> [ 0.004000] CPU: Unsupported number of siblings 16
> [ 0.017714] installing Xen timer for CPU 9
> [ 0.017740] cpu 9 spinlock event irq 328
> [ 0.004000] CPU: Unsupported number of siblings 16
> [ 0.018029] installing Xen timer for CPU 10
> [ 0.018056] cpu 10 spinlock event irq 322
> [ 0.004000] CPU: Unsupported number of siblings 16
> [ 0.018286] installing Xen timer for CPU 11
> [ 0.018313] cpu 11 spinlock event irq 316
> [ 0.004000] CPU: Unsupported number of siblings 16
> [ 0.018632] installing Xen timer for CPU 12
> [ 0.018659] cpu 12 spinlock event irq 310
> [ 0.004000] CPU: Unsupported number of siblings 16
> [ 0.019058] installing Xen timer for CPU 13
> [ 0.019084] cpu 13 spinlock event irq 304
> [ 0.004000] CPU: Unsupported number of siblings 16
> [ 0.019316] Brought up 14 CPUs
> [ 0.019398] devtmpfs: initialized
> [ 0.020299] Grant table initialized
> [ 0.020299] NET: Registered protocol family 16
> [ 0.020513] PCI: setting up Xen PCI frontend stub
> [ 0.020521] PCI: pci_cache_line_size set to 64 bytes
> [ 0.028030] bio: create slab <bio-0> at 0
> [ 0.028093] ACPI: Interpreter disabled.
> [ 0.028093] xen_balloon: Initialising balloon driver.
> [ 0.028367] last_pfn = 0x100800 max_arch_pfn = 0x400000000
> [ 0.044669] vgaarb: loaded
> [ 0.044669] PCI: System does not support PCI
> [ 0.044669] PCI: System does not support PCI
> [ 0.044669] Switching to clocksource xen
> [ 0.044669] pnp: PnP ACPI: disabled
> [ 0.059138] NET: Registered protocol family 2
> [ 0.059305] IP route cache hash table entries: 32768 (order: 6,
> 262144 bytes)
> [ 0.060283] TCP established hash table entries: 131072 (order: 9,
> 2097152 bytes)
> [ 0.061111] TCP bind hash table entries: 65536 (order: 8, 1048576
> bytes)
> [ 0.061422] TCP: Hash tables configured (established 131072 bind
> 65536)
> [ 0.061433] TCP reno registered
> [ 0.061457] UDP hash table entries: 2048 (order: 4, 65536 bytes)
> [ 0.061503] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes)
> [ 0.061703] NET: Registered protocol family 1
> [ 0.061720] PCI: CLS 0 bytes, default 64
> [ 0.061787] Unpacking initramfs...
> [ 0.065754] Freeing initrd memory: 3304k freed
> [ 0.067573] platform rtc_cmos: registered platform RTC device (no PNP
> device found)
> [ 0.079443] Intel AES-NI instructions are not detected.
> [ 0.079988] audit: initializing netlink socket (disabled)
> [ 0.080082] type=2000 audit(1295968813.070:1): initialized
> [ 0.080611] HugeTLB registered 2 MB page size, pre-allocated 0 pages
> [ 0.092066] VFS: Disk quotas dquot_6.5.2
> [ 0.092278] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
> [ 0.094579] fuse init (API version 7.15)
> [ 0.095184] SGI XFS with ACLs, security attributes, realtime, large
> block/inode numbers, no debug enabled
> [ 0.097683] SGI XFS Quota Management subsystem
> [ 0.098553] Btrfs loaded
> [ 0.098568] msgmni has been set to 872
> [ 0.098796] SELinux: Registering netfilter hooks
> [ 0.099798] io scheduler noop registered (default)
> [ 0.099808] io scheduler deadline registered
> [ 0.099964] io scheduler cfq registered
> [ 0.100226] pci-stub: invalid id string ""
> [ 0.109773] Console: switching to colour frame buffer device 100x37
> [ 0.113403] Event-channel device installed.
> [ 0.115096] Non-volatile memory driver v1.3
> [ 0.115342] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
> [ 0.376418] Initialising Xen virtual ethernet driver.
> [ 0.378610] Equalizer2002: Simon Janes (simon@xxxxxxx) and David S.
> Miller (davem@xxxxxxxxxx)
> [ 0.379119] console [netcon0] enabled
> [ 0.379155] netconsole: network logging started
> [ 0.380636] PNP: No PS/2 controller found. Probing ports directly.
> [ 0.382550] i8042.c: No controller found.
> [ 0.384154] mice: PS/2 mouse device common for all mice
> [ 0.387897] input: Xen Virtual Keyboard
> as /devices/virtual/input/input0
> [ 0.389874] input: Xen Virtual Pointer
> as /devices/virtual/input/input1
> [ 0.394445] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0
> [ 0.395599] rtc_cmos: probe of rtc_cmos failed with error -38
> [ 0.397054] cpuidle: using governor ladder
> [ 0.398111] cpuidle: using governor menu
> [ 0.399227] Netfilter messages via NETLINK v0.30.
> [ 0.400562] IPv4 over IPv4 tunneling driver
> [ 0.402211] GRE over IPv4 demultiplexor driver
> [ 0.402289] Initializing XFRM netlink socket
> [ 0.404255] NET: Registered protocol family 17
> [ 0.405227] Registering the dns_resolver key type
> [ 0.406866] registered taskstats version 1
> [ 0.407802] IMA: No TPM chip found, activating TPM-bypass!
> [ 0.481165] blkfront: xvda: barriers enabled
> [ 0.499229] xvda: xvda1
> [ 0.588349] blkfront: xvdb: barriers enabled
> [ 0.617933] xvdb: xvdb1
> [ 0.708239] XENBUS: Device with no driver: device/console/0
> [ 0.709469] Freeing unused kernel memory: 640k freed
> [ 0.758412] EXT3-fs: barriers not enabled
> [ 0.773576] kjournald starting. Commit interval 5 seconds
> [ 0.773618] EXT3-fs (xvda1): mounted filesystem with writeback data
> mode
> [ 2.098341] NET: Registered protocol family 10
> [ 2.099747] lo: Disabled Privacy Extensions
> [ 2.100923] tunl0: Disabled Privacy Extensions
> [ 3.398405] EXT3-fs (xvda1): using internal journal
>
>
> > Is this also a problem if you boot the guest as HVM?
>
> Not. Now i'm use only PVM mode.
>
> > What happens if you boot your
> > PV guest without 'maxmem=4096' and .. oh, I think I know why this is
> > happening = the
> > kernel allocates pagetables as if you have 4GB of memory and that eats much
> > of low memory.
> > If you decrease the 'maxmem' you should see a smaller amount being used.
>
> I understand this. Does xen PVM 2.6.37 have any features that can be
> disabled to free memory?
>
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|