系统内存减少了
Tofloor
poster avatar
xiaoshuijing
deepin
2016-02-23 03:09
Author
我的是联想的G450笔记本电脑原本是2GB的内存,后来自己又加了个2GB的条子,我现在是64位的deepin系统和64位的win 10,以前是32位的deepin和 32位的win 10,在以前32位deepin和32位win 10的时候deepin读的系统内存位3.91GB,win 10是4GB(2.96G可用)而现在换成了64的系统后内存在deepin系统里却变成了3.83GB,win 10下的正常是4GB,为什么在deepin下的内存读的容量减少了呢?比32位的还少,请问这是为什么呢?
我是先装的win 10后用u盘装的deepin。deepin的版本为最新的15.1
Reply Favorite View the author
All Replies
avatar
kingskill
deepin
2016-02-23 04:00
#1
我的是7.80g,64位系统。两根4g。
Reply View the author
avatar
chatop
deepin
2016-02-23 05:37
#2
显卡用掉了,而win10算错了
Reply View the author
avatar
182******97
deepin
2016-02-23 16:12
#3
我8g条子才200块,
Reply View the author
avatar
xiaoshuijing
deepin
2016-02-23 21:12
#4
https://bbs.deepin.org/post/37390
显卡用掉了,而win10算错了

我的本是独显,这win 10算错了
Reply View the author
avatar
xiaoshuijing
deepin
2016-02-23 21:12
#5
https://bbs.deepin.org/post/37390
我8g条子才200块,

哪买的这么便宜?
Reply View the author
avatar
liujindong
deepin
2016-02-23 21:17
#6
https://bbs.deepin.org/post/37390
我的本是独显,这win 10算错了

就那样,我台式机也是独显,内存也没了一点,感觉没啥影响
Reply View the author
avatar
xiaoshuijing
deepin
2016-02-24 00:13
#7
https://bbs.deepin.org/post/37390
就那样,我台式机也是独显,内存也没了一点,感觉没啥影响

没了点正常,这个我知道,但我不理解的是,64位的比32位的没的还多这我就不理解了。
Reply View the author
avatar
lijiwe24
deepin
2016-02-25 04:30
#8
tmpfs调用了吧
Reply View the author
avatar
xiaoshuijing
deepin
2016-02-28 20:02
#9

额,你这么一说也有可能
Reply View the author
avatar
lijiwe24
deepin
2016-02-29 19:28
#10
机械盘,8G内存,tmpfs,机械盘里面处理过的文件,再处理,比SSD的处理速度快了一倍。。。。。。。。缓存到了tmpfs里面了,速度就是快,不过内存也就减少了
Reply View the author
avatar
MattD
deepin
2016-02-29 21:10
#11
https://bbs.deepin.org/post/37390
机械盘,8G内存,tmpfs,机械盘里面处理过的文件,再处理,比SSD的处理速度快了一倍。。。。。。。。缓存到 ...

tmpfs占用的内存不会从实际的“可用内存”中扣除。
/tmp、/dev/shm、/run这些采用tmpfs的挂载点,但都是动态占用。
Reply View the author
avatar
lijiwe24
deepin
2016-02-29 22:42
#12
https://bbs.deepin.org/post/37390
tmpfs占用的内存不会从实际的“可用内存”中扣除。
/tmp、/dev/shm、/run这些采用tmpfs的挂载点,但都是 ...

那扣除的内存哪去了?算法问题?

1024的bug?
Reply View the author
avatar
MattD
deepin
2016-02-29 23:21
#13
https://bbs.deepin.org/post/37390
那扣除的内存哪去了?算法问题?

1024的bug?

集成显卡+硬件保留,包括系统 BIOS,输入输出设备的地址和设定,各类接口的设定和地址等等。根据硬件和软件环境,不同的机器会有不同的表现。
另外,需要注意,Windows显示的内存单位是1000进制,Linux是1024进制。即使是4GB的内存,在Linux下也会显示为3.73GiB左右。
另外,我能确定tmpfs会扣除可用内存的原因是,如果tmpfs真的会扣除可用内存,那么可用内存应该就会随运行进程而呈现动态变化,而不是一个固定的值。
而且内核的文档对tmpfs也有这么一段说明:
Since tmpfs lives completely in the page cache and on swap, all tmpfs pages will be shown as "Shmem" in /proc/meminfo and "Shared" in free(1). Notice that these counters also include shared memory (shmem, see ipcs(1)). The most reliable way to get the count is using df(1) and du(1)

Reply View the author