LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: slinger

有>=1G内存的兄弟们

[复制链接]
发表于 2007-7-5 09:01:32 | 显示全部楼层
Post by blackwhite
谢谢,因为我用的amd64,估计没有这个选项。我记得看到过了这个,后来怎么没有发现这个。

64 从我第一次用就没有这个选项的。我当年还迷茫了半天。大概是3年前吧。。。
回复 支持 反对

使用道具 举报

发表于 2007-7-5 09:18:28 | 显示全部楼层
为什么没有选,什么原因?使没有选择的用户也可以使用?
回复 支持 反对

使用道具 举报

发表于 2007-7-5 11:41:46 | 显示全部楼层
我1G,选了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-7-5 15:09:39 | 显示全部楼层
Post by well
我1G内存,没打开4G支持,好像没什么关系,top显示也是1G

free显示呢?
回复 支持 反对

使用道具 举报

发表于 2007-7-5 16:18:00 | 显示全部楼层
上个月有个讨论:
Post by ifree
32位的x86内核不能直接访问896MB以上的物理内存区域;而用64位却没有这样的限制。
不知道这个差别会不会给用>1G内存的兄弟在性能上带来差距。
Post by hihihihi
you need to enable the high memory support (4G) inside the kernel if you have 1G to 4G of physical memory.....
Post by zhllg
Pay attention to what he said:
If you use x86 kernel, your kernel can't access physical ram > 896MB directly
This is still true even you enable PAE, i.e. can access 64G physical ram
process's address space is 4G in x86, the upmost 1G is kernel space, physical ram < 896M is mapped directly to the lower 896 M of kernel space. If you want to access physical ram > 896M in kernel, you have to map it to kernel space explicitly.
Post by 杨珂
can't access directly

是不是说内存不是浪费了,而是以非直接的方式使用
Post by zhllg
是的
看这个吧
http://kerneltrap.org/node/6067

http://www.linuxsir.cn/bbs/showthread.php?t=304445
回复 支持 反对

使用道具 举报

发表于 2007-7-5 20:57:57 | 显示全部楼层
Post by slinger
free显示呢?



the same


BTW:I use the amd64 stage
回复 支持 反对

使用道具 举报

发表于 2007-7-6 07:17:09 | 显示全部楼层
amd64 就没有选择。晕。

偶 x86 选的是 64G,直接就认了 4G 了。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表