dacongyun.com
分享国内外服务器主机优惠信息

centos8内存机制

同一只小鸡1G内存的kvm
装centos7用free -h命令显示970多M总内存
装centos8 用free -h 显示总内存才797M

这差的也太多了吧

网友回复:

注册 太正常了 之前v佬没弄 centos 高版本的 dd 就是因为配置的原因吧

alivefox 理论上是1024M的内存 centos7显示总内存970M 50M不知道去哪了 centos8显示797M 200多M不知道去哪了 centos8 也太夸张了点吧

燕十三丶 想知道内存去哪了,可以分析下dmesg,我觉得你机器是hyperV

alivefox 是ovh的2欧小鸡啊 kvm的

h20 那你看下dmesg里是不是有 xxxxKB memory 被 reserved 了

alivefox 命令能不能具体点 带什么参数啊 大佬

h20 [root@s**n1 ~]# dmesg | grep   reserved [    0.000000] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved [    0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved [    0.000000] BIOS-e820: [mem 0x000000003e7dc000-0x000000003e7fffff] reserved [    0.000000] BIOS-e820: [mem 0x00000000feffc000-0x00000000feffffff] reserved [    0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved [    0.000000] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved [    0.000000]   DMA zone: 21 pages reserved [    0.000000] Memory: 228848K/1023464K available (12292K kernel code, 2118K rwdata, 3780K rodata, 2368K init, 6348K bss, 263308K reserved, 0K cma-reserved)

alivefox 8跟centos6 7操作起来区别大吗?

alivefox 区别倒不是很大

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

真正的个人支付接口

云免签H5支付