LINUX.ORG.RU
ФорумAdmin

KVM. Память на хосте.

 


1

1

сервер RAM 64 Gb , Ubuntu 16.04 ,KVM (конфигурация по дефолту). Запущены 2 виртуалки : 8 Gb и 16 Gb. На хосте использовано 54 Gb под процессы libvirt-qemu. Подскажите пожалуйста в чем может быть проблема.

# free m
              total        used        free      shared  buff/cache   available
Mem:          64075       54380        6935          49        2759        8127
Swap:         38174           0       38174
# cat /proc/meminfo

MemTotal:       65613052 kB
MemFree:         7111208 kB
MemAvailable:    8331808 kB
Buffers:          751400 kB
Cached:           894004 kB
SwapCached:            0 kB
Active:         22528472 kB
Inactive:         337520 kB
Active(anon):   21221452 kB
Inactive(anon):    49332 kB
Active(file):    1307020 kB
Inactive(file):   288188 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:      39091196 kB
SwapFree:       39091196 kB
Dirty:                32 kB
Writeback:             0 kB
AnonPages:      21220656 kB
Mapped:            90632 kB
Shmem:             50196 kB
Slab:            1180088 kB
SReclaimable:     152032 kB
SUnreclaim:      1028056 kB
KernelStack:       10320 kB
PageTables:        57752 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:    71897720 kB
Committed_AS:   29358116 kB
VmallocTotal:   34359738367 kB
VmallocUsed:           0 kB
VmallocChunk:          0 kB
HardwareCorrupted:     0 kB
AnonHugePages:   8710144 kB
CmaTotal:              0 kB
CmaFree:               0 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
DirectMap4k:      371000 kB
DirectMap2M:    23379968 kB
DirectMap1G:    42991616 kB
<domain type="kvm">
<name>centos7.0.1c</name>
<uuid>69482446-576b-4827-a158-a5f8e3d26dff</uuid>
<memory unit="KiB">16777216</memory>
<currentMemory unit="KiB">16777216</currentMemory>
<vcpu placement="static">5</vcpu>
<os>
<type arch="x86_64" machine="pc-i440fx-xenial">hvm</type>
</os>
<features>
<acpi/>
<apic/>
</features>
<cpu mode="custom" match="exact">
<model fallback="allow">Broadwell</model>
</cpu>
<clock offset="utc">
<timer name="rtc" tickpolicy="catchup"/>
<timer name="pit" tickpolicy="delay"/>
<timer name="hpet" present="no"/>
</clock>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>restart</on_crash>
<pm>
<suspend-to-mem enabled="no"/>
<suspend-to-disk enabled="no"/>
</pm>
<devices>
<emulator>/usr/bin/kvm-spice</emulator>
<disk type="file" device="disk">
<driver name="qemu" type="raw"/>
<source file="/tank/kvm/images/centos7.0.1c.img"/>
<target dev="vda" bus="virtio"/>
<boot order="1"/>
<address type="pci" domain="0x0000" bus="0x00" slot="0x07" function="0x0"/>
</disk>
<disk type="file" device="cdrom">
<driver name="qemu" type="raw"/>
<source file="/tank/kvm/iso/CentOS-7-x86_64-Minimal-1611.iso"/>
<target dev="hda" bus="ide"/>
<readonly/>
<address type="drive" controller="0" bus="0" target="0" unit="0"/>
</disk>
<controller type="usb" index="0" model="ich9-ehci1">
<address type="pci" domain="0x0000" bus="0x00" slot="0x06" function="0x7"/>
</controller>
<controller type="usb" index="0" model="ich9-uhci1">
<master startport="0"/>
<address type="pci" domain="0x0000" bus="0x00" slot="0x06" function="0x0" multifunction="on"/>
</controller>
<controller type="usb" index="0" model="ich9-uhci2">
<master startport="2"/>
<address type="pci" domain="0x0000" bus="0x00" slot="0x06" function="0x1"/>
</controller>
<controller type="usb" index="0" model="ich9-uhci3">
<master startport="4"/>
<address type="pci" domain="0x0000" bus="0x00" slot="0x06" function="0x2"/>
</controller>
<controller type="pci" index="0" model="pci-root"/>
<controller type="ide" index="0">
<address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x1"/>
</controller>
<controller type="virtio-serial" index="0">
<address type="pci" domain="0x0000" bus="0x00" slot="0x05" function="0x0"/>
</controller>
<interface type="bridge">
<mac address="52:54:00:17:67:68"/>
<source bridge="br1"/>
<model type="virtio"/>
<address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x0"/>
</interface>
<serial type="pty">
<target port="0"/>
</serial>
<console type="pty">
<target type="serial" port="0"/>
</console>
<channel type="unix">
<source mode="bind"/>
<target type="virtio" name="org.qemu.guest_agent.0"/>
<address type="virtio-serial" controller="0" bus="0" port="1"/>
</channel>
<channel type="spicevmc">
<target type="virtio" name="com.redhat.spice.0"/>
<address type="virtio-serial" controller="0" bus="0" port="2"/>
</channel>
<input type="tablet" bus="usb"/>
<input type="mouse" bus="ps2"/>
<input type="keyboard" bus="ps2"/>
<graphics type="vnc" port="-1" autoport="yes"/>
<sound model="ich6">
<address type="pci" domain="0x0000" bus="0x00" slot="0x04" function="0x0"/>
</sound>
<video>
<model type="qxl" ram="65536" vram="65536" vgamem="16384" heads="1"/>
<address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x0"/>
</video>
<redirdev bus="usb" type="spicevmc"></redirdev>
<redirdev bus="usb" type="spicevmc"></redirdev>
<memballoon model="virtio">
<address type="pci" domain="0x0000" bus="0x00" slot="0x08" function="0x0"/>
</memballoon>
</devices>
</domain>
<domain type="kvm">
<name>dcs-ubuntu16.04</name>
<uuid>b60dd1c2-f9e2-4f00-82fa-9a5e36220de4</uuid>
<memory unit="KiB">10485760</memory>
<currentMemory unit="KiB">10485760</currentMemory>
<vcpu placement="static">1</vcpu>
<resource>
<partition>/machine</partition>
</resource>
<os>
<type arch="x86_64" machine="pc-i440fx-wily">hvm</type>
<boot dev="hd"/>
</os>
<features>
<acpi/>
<apic/>
</features>
<clock offset="utc">
<timer name="rtc" tickpolicy="catchup"/>
<timer name="pit" tickpolicy="delay"/>
<timer name="hpet" present="no"/>
</clock>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>restart</on_crash>
<pm>
<suspend-to-mem enabled="no"/>
<suspend-to-disk enabled="no"/>
</pm>
<devices>
<emulator>/usr/bin/kvm-spice</emulator>
<disk type="file" device="disk">
<driver name="qemu" type="qcow2"/>
<source file="/tank/kvm/images/dcs-ubuntu.qcow2"/>
<target dev="vda" bus="virtio"/>
<address type="pci" domain="0x0000" bus="0x00" slot="0x07" function="0x0"/>
</disk>
<disk type="file" device="disk">
<driver name="qemu" type="raw"/>
<source file="/tank/kvm/share/w_dcs_home.img"/>
<target dev="vdf" bus="virtio"/>
<address type="pci" domain="0x0000" bus="0x00" slot="0x0d" function="0x0"/>
</disk>
<disk type="file" device="disk">
<driver name="qemu" type="raw"/>
<source file="/tank/kvm/share/w_base_v.img"/>
<target dev="vdg" bus="virtio"/>
<address type="pci" domain="0x0000" bus="0x00" slot="0x09" function="0x0"/>
</disk>
<disk type="file" device="disk">
<driver name="qemu" type="raw"/>
<source file="/tank/kvm/share/w_base_w.img"/>
<target dev="vdh" bus="virtio"/>
<address type="pci" domain="0x0000" bus="0x00" slot="0x0e" function="0x0"/>
</disk>
<disk type="file" device="disk">
<driver name="qemu" type="raw"/>
<source file="/tank/kvm/share/w_public.img"/>
<target dev="vdi" bus="virtio"/>
<address type="pci" domain="0x0000" bus="0x00" slot="0x0f" function="0x0"/>
</disk>
<disk type="file" device="disk">
<driver name="qemu" type="raw"/>
<source file="/tank/kvm/share/w_offices.img"/>
<target dev="vdj" bus="virtio"/>
<address type="pci" domain="0x0000" bus="0x00" slot="0x10" function="0x0"/>
</disk>
<disk type="file" device="cdrom">
<driver name="qemu" type="raw"/>
<target dev="hda" bus="ide"/>
<readonly/>
<address type="drive" controller="0" bus="0" target="0" unit="0"/>
</disk>
<controller type="usb" index="0" model="ich9-ehci1">
<address type="pci" domain="0x0000" bus="0x00" slot="0x06" function="0x7"/>
</controller>
<controller type="usb" index="0" model="ich9-uhci1">
<master startport="0"/>
<address type="pci" domain="0x0000" bus="0x00" slot="0x06" function="0x0" multifunction="on"/>
</controller>
<controller type="usb" index="0" model="ich9-uhci2">
<master startport="2"/>
<address type="pci" domain="0x0000" bus="0x00" slot="0x06" function="0x1"/>
</controller>
<controller type="usb" index="0" model="ich9-uhci3">
<master startport="4"/>
<address type="pci" domain="0x0000" bus="0x00" slot="0x06" function="0x2"/>
</controller>
<controller type="ide" index="0">
<address type="pci" domain="0x0000" bus="0x00" slot="0x01" function="0x1"/>
</controller>
<controller type="virtio-serial" index="0">
<address type="pci" domain="0x0000" bus="0x00" slot="0x05" function="0x0"/>
</controller>
<controller type="pci" index="0" model="pci-root"/>
<interface type="bridge">
<mac address="52:54:00:81:e4:56"/>
<source bridge="br1"/>
<model type="virtio"/>
<address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x0"/>
</interface>
<serial type="pty">
<target port="0"/>
</serial>
<console type="pty">
<target type="serial" port="0"/>
</console>
<channel type="spicevmc">
<target type="virtio" name="com.redhat.spice.0"/>
<address type="virtio-serial" controller="0" bus="0" port="1"/>
</channel>
<input type="mouse" bus="ps2"/>
<input type="keyboard" bus="ps2"/>
<graphics type="vnc" port="-1" autoport="yes" listen="0.0.0.0">
<listen type="address" address="0.0.0.0"/>
</graphics>
<sound model="ich6">
<address type="pci" domain="0x0000" bus="0x00" slot="0x04" function="0x0"/>
</sound>
<video>
<model type="qxl" ram="65536" vram="65536" vgamem="16384" heads="1"/>
<address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x0"/>
</video>
<redirdev bus="usb" type="spicevmc"></redirdev>
<redirdev bus="usb" type="spicevmc"></redirdev>
<memballoon model="virtio">
<address type="pci" domain="0x0000" bus="0x00" slot="0x08" function="0x0"/>
</memballoon>
</devices>
<seclabel type="dynamic" model="apparmor" relabel="yes"/>
</domain>

Кэширование какое-нибудь.

Deleted ()

Давай тогда и сюда и как запускал.

leonidko ★★★ ()
Ответ на: комментарий от dyasny

техподдержка редхата уже переехала в Индию? Старайся лучше!

anonymous ()
Ответ на: комментарий от anonymous

какой толстенький, иди ищи где покушать в другом месте.

dyasny ★★★★★ ()

какое кеширование используется для накопителей?

int13h ★★★★★ ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.