Results 1 to 4 of 4

Thread: Boot "OpenSuse 15.1 - with XEN Hypervisor" - wrong Memory size.

  1. #1

    Question Boot "OpenSuse 15.1 - with XEN Hypervisor" - wrong Memory size.

    Hello,

    i have a little and the same Problem on "two" PC-Clients.
    The Computers have 16 GB Memory, a brandnew installed OpenSuse 15.1 incl. Updates.

    If the Computer boots without the "XEN Hypervisor" they are no Problems and the correct Memorysize displayed.
    Boot the System with "XEN Hypervisor" only 2.2 GB Memory are displayed.
    I remove 8 GB Memory and the Computer start with 8 GB Memory they only 1.7 GB are displayed!?

    I tried a lot, kernel parameters, new installation and installed a Second System. Same Failure!
    I'm also feeding Google wrong and I'm running out of ideas.

    Some Systeminformations.:

    Code:
     # dmidecode 3.2
    Getting SMBIOS data from sysfs.
    SMBIOS 2.7 present.
    
    Handle 0x0056, DMI type 16, 23 bytes
    Physical Memory Array
            Location: System Board Or Motherboard
            Use: System Memory
            Error Correction Type: None
            Maximum Capacity: 32 GB
            Error Information Handle: Not Provided
            Number Of Devices: 4
    
    Handle 0x0059, DMI type 17, 34 bytes
    Memory Device
            Array Handle: 0x0056
            Error Information Handle: Not Provided
            Total Width: 64 bits
            Data Width: 64 bits
            Size: 4096 MB
            Form Factor: DIMM
            Set: None
            Locator: DIMM 1A
            Bank Locator: BANK 0
            Type: DDR3
            Type Detail: Synchronous
            Speed: 1600 MT/s
            Manufacturer: 0443
            Serial Number: 41A616C7
            Asset Tag: 9876543210
            Part Number: RMR5030EF68F9W1600
            Rank: 1
            Configured Memory Speed: 1600 MT/s
    
    Handle 0x005E, DMI type 17, 34 bytes
    Memory Device
            Array Handle: 0x0056
            Error Information Handle: Not Provided
            Total Width: 64 bits
            Data Width: 64 bits
            Size: 4096 MB
            Form Factor: DIMM
            Set: None
            Locator: DIMM A1
            Bank Locator: BANK 1
            Type: DDR3
            Type Detail: Synchronous
            Speed: 1600 MT/s
            Manufacturer: 0443
            Serial Number: 42337099
            Asset Tag: 9876543210
            Part Number: RMR5030EF68F9W1600
            Rank: 1
            Configured Memory Speed: 1600 MT/s
    
    Handle 0x0060, DMI type 17, 34 bytes
    Memory Device
            Array Handle: 0x0056
            Error Information Handle: Not Provided
            Total Width: 64 bits
            Data Width: 64 bits
            Size: 4096 MB
            Form Factor: DIMM
            Set: None
            Locator: DIMM 1B
            Bank Locator: BANK 2
            Type: DDR3
            Type Detail: Synchronous
            Speed: 1600 MT/s
            Manufacturer: 0443
            Serial Number: 42317099
            Asset Tag: 9876543210
            Part Number: RMR5030EF68F9W1600
            Rank: 1
            Configured Memory Speed: 1600 MT/s
    
    Handle 0x0062, DMI type 17, 34 bytes
    Memory Device
            Array Handle: 0x0056
            Error Information Handle: Not Provided
            Total Width: 64 bits
            Data Width: 64 bits
            Size: 4096 MB
            Form Factor: DIMM
            Set: None
            Locator: DIMM B2
            Bank Locator: BANK 3
            Type: DDR3
            Type Detail: Synchronous
            Speed: 1600 MT/s
            Manufacturer: 0443
            Serial Number: 412F16C7
            Asset Tag: 9876543210
            Part Number: RMR5030EF68F9W1600
            Rank: 1
            Configured Memory Speed: 1600 MT/s
    
    --------------------------------------------------------------------
    
                  total        used        free      shared  buff/cache   available
    Mem:           2214         787         268         236        1158        1146
    Swap:         16383           0       16383
    
    --------------------------------------------------------------------
    
    Linux bes 4.12.14-lp151.28.36-default #1 SMP Fri Dec 6 13:50:27 UTC 2019 (8f4a495) x86_64 x86_64 x86_64 GNU/Linux
    
    --------------------------------------------------------------------
    
    fox@bes:~> dmesg | grep -i memory
    [    0.000000] Scanning 1 areas for low memory corruption
    [    0.000000] Base memory trampoline at [ffff880000098000] 98000 size 24576
    [    0.000000] Early memory node ranges
    [    0.000000] Reserving Intel graphics memory at [mem 0xdda00000-0xdf9fffff]
    [    0.000000] PM: Registered nosave memory: [mem 0x00000000-0x00000fff]
    [    0.000000] PM: Registered nosave memory: [mem 0x0009e000-0x000fffff]
    [    0.000000] PM: Registered nosave memory: [mem 0x20000000-0x201fffff]
    [    0.000000] PM: Registered nosave memory: [mem 0x40004000-0x40004fff]
    [    0.000000] PM: Registered nosave memory: [mem 0xd9532000-0xd9ffafff]
    [    0.000000] PM: Registered nosave memory: [mem 0xd9ffb000-0xda00afff]
    [    0.000000] PM: Registered nosave memory: [mem 0xda00b000-0xda4eefff]
    [    0.000000] PM: Registered nosave memory: [mem 0xda4ef000-0xdbe90fff]
    [    0.000000] PM: Registered nosave memory: [mem 0xdbe92000-0xdbed4fff]
    [    0.000000] PM: Registered nosave memory: [mem 0xdc975000-0xdcbeefff]
    [    0.000000] PM: Registered nosave memory: [mem 0xdcc00000-0xdd7fffff]
    [    0.000000] PM: Registered nosave memory: [mem 0xdd800000-0xdf9fffff]
    [    0.000000] PM: Registered nosave memory: [mem 0xdfa00000-0xf7ffffff]
    [    0.000000] PM: Registered nosave memory: [mem 0xf8000000-0xfbffffff]
    [    0.000000] PM: Registered nosave memory: [mem 0xfc000000-0xfebfffff]
    [    0.000000] PM: Registered nosave memory: [mem 0xfec00000-0xfec00fff]
    [    0.000000] PM: Registered nosave memory: [mem 0xfec01000-0xfecfffff]
    [    0.000000] PM: Registered nosave memory: [mem 0xfed00000-0xfed03fff]
    [    0.000000] PM: Registered nosave memory: [mem 0xfed04000-0xfed1bfff]
    [    0.000000] PM: Registered nosave memory: [mem 0xfed1c000-0xfed91fff]
    [    0.000000] PM: Registered nosave memory: [mem 0xfed92000-0xfedfffff]
    [    0.000000] PM: Registered nosave memory: [mem 0xfee00000-0xfeefffff]
    [    0.000000] PM: Registered nosave memory: [mem 0xfef00000-0xfeffffff]
    [    0.000000] PM: Registered nosave memory: [mem 0xff000000-0xffffffff]
    [    0.000000] Memory: 2232056K/16649728K available (10256K kernel code, 1479K rwdata, 3352K rodata, 2104K init, 9888K bss, 14417672K reserved, 0K cma-reserved)
    [    0.023302] Freeing SMP alternatives memory: 32K
    [    0.044525] x86/mm: Memory block size: 128MB
    [    2.714258] Freeing initrd memory: 30216K
    [    2.714602] Scanning for low memory corruption every 60 seconds
    [    2.748850] Non-volatile memory driver v1.3
    [    2.982362] Freeing unused kernel memory: 2104K
    [    3.006542] Freeing unused kernel memory: 2020K
    [    3.006933] Freeing unused kernel memory: 744K
    
    --------------------------------------------------------------------
    
    fox@bes:~> dmesg | grep BIOS-e820 
    nothing found
    
    --------------------------------------------------------------------
    
    fox@bes:~> lshw
    list the memory correct. 
    
    --------------------------------------------------------------------
    
    fox@bes:~> cat /proc/meminfo
    MemTotal:        2267172 kB
    MemFree:          137056 kB
    MemAvailable:     962616 kB
    Buffers:           25540 kB
    Cached:          1030416 kB
    SwapCached:         3056 kB
    Active:          1223388 kB
    Inactive:         664852 kB
    Active(anon):     812916 kB
    Inactive(anon):   264920 kB
    Active(file):     410472 kB
    Inactive(file):   399932 kB
    Unevictable:       10820 kB
    Mlocked:           10820 kB
    SwapTotal:      16777212 kB
    SwapFree:       16771316 kB
    Dirty:               116 kB
    Writeback:             0 kB
    AnonPages:        840048 kB
    Mapped:           469416 kB
    Shmem:            236628 kB
    Slab:             116120 kB
    SReclaimable:      71368 kB
    SUnreclaim:        44752 kB
    KernelStack:        8848 kB
    PageTables:        36664 kB
    NFS_Unstable:          0 kB
    Bounce:                0 kB
    WritebackTmp:          0 kB
    CommitLimit:    17910796 kB
    Committed_AS:    3256048 kB
    VmallocTotal:   34359738367 kB
    VmallocUsed:           0 kB
    VmallocChunk:          0 kB
    HardwareCorrupted:     0 kB
    AnonHugePages:         0 kB
    ShmemHugePages:        0 kB
    ShmemPmdMapped:        0 kB
    DirectMap4k:    16650124 kB
    DirectMap2M:           0 kB
    

    Much thanks for every help!
    Best regards,
    FoXIsNoGood

  2. #2
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,836
    Blog Entries
    2

    Default Re: Boot "OpenSuse 15.1 - with XEN Hypervisor" - wrong Memory size.

    You're going to have to be better at describing what and how you arrived at your memory displayed...
    What app are you running that's displaying the info?
    Is the memory what is available, or total?
    etc.

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  3. #3
    Join Date
    Aug 2008
    Location
    Belgium
    Posts
    196

    Default Re: Boot "OpenSuse 15.1 - with XEN Hypervisor" - wrong Memory size.

    Hello,

    this is a feature with the xen kernel: most of the memory (80% ?) is reserved for all the VM
    see https://www.suse.com/support/kb/doc/?id=3559698

    You can force the memory amount for dom0 in file /etc/default/grub

    add the next lines
    Code:
    # Xen boot parameters for all Xen boots
    GRUB_CMDLINE_XEN="dom0_mem=13312M,max:13312M"
    Replace 13312M by the amount of memory that you want for the dom0. This value must be your total memory minus the memory needed for the VM's.
    Thereafter reboot.

    Regards
    Philippe
    Tumbleweed (x86_64) Kernel 5.3.5 with KDE plasma

  4. #4

    Default Re: Boot "OpenSuse 15.1 - with XEN Hypervisor" - wrong Memory size.

    Quote Originally Posted by phil524 View Post
    Hello,

    this is a feature with the xen kernel: most of the memory (80% ?) is reserved for all the VM
    see https://www.suse.com/support/kb/doc/?id=3559698

    You can force the memory amount for dom0 in file /etc/default/grub

    add the next lines
    Code:
    # Xen boot parameters for all Xen boots
    GRUB_CMDLINE_XEN="dom0_mem=13312M,max:13312M"
    Replace 13312M by the amount of memory that you want for the dom0. This value must be your total memory minus the memory needed for the VM's.
    Thereafter reboot.

    Regards
    Philippe
    Holeymoley.

    I spent 3 hours troubleshooting this. Only seeing 3 gigs out of 32 AFTER installing xen. Decided.... hmmm lets restart and choose opensuse without xen and see what it looks like. Saw all 32 gigs. Then found this post with the right google search terms

    Thanks for the post and the reply. I can cease banging my head on the wall and get on with learning xen.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •