32位无pae内核表示完全应用毫无压力。 不明白。。。
于2011年12月1日 11:58:00,xiaobo写到: > 楼主是在问4G内存中无法被32位系统使用到的那部分大家怎么用吧? > > 在 2011年12月1日 上午11:39,lee <llz916...@yahoo.com.cn>写道: > >> 再查了下,似乎说的不太对: >> A buffer is something that has yet to be "written" to disk. >> A cache is something that has been "read" from the disk and stored >> for later use. >> 也就是说buffer是用于存放要输出到disk(块设备)的数据的,而cache是存放从disk上读出的数据。这二者是为了提高IO性能的,并由OS管理。 >> >> http://www.cnblogs.com/coldplayerest/archive/2010/02/20/1669949.html >> >> 这里说可以用这个方法释放掉cache的数据: >> [引用] >> 释放掉被系统cache占用的数据; >> >> echo 3 >/proc/sys/vm/drop_caches >> [/引用] >> >> 您可以考虑查看下。 >> >> >> 于2011年12月1日 11:34:28,lee写到: >>> 我指的是,不管在32位还是64位系统下,系统都对硬盘做了缓存。 >>> >>> 你使用free命令就能看到,大部分的内存空间都已经被占用了,free的空间只有一点点。 >>> >>> 这与我在windows下内存使用30%(4GB)的情况大相径庭,我在linux下的free空间只有大约300MB。 >>> >>> 绝大部分空间都用在了buffers/cached上面,而buffers/cached这些东西就是用来做磁盘缓存的。 >>> >>> 查了下资料:buffers:给块设备做缓冲,只记录文件系统的metadata和tracking in-flight >>> pages;用来存储目录的内容与权限,cached用来给文件做缓冲。 >>> >>> 然后运行需要占用内存空间较大的程序时候,内存被动态回收。 >>> >>> 你不需要考虑优化的问题,最多调整一两个参数。 >>> >>> 于2011年12月1日 11:04:23,刘畅写到: >>>> 64bit is good os >>>> >>>> 2011/12/1, RL <464138...@qq.com>: >>>>> 于 2011年12月01日 09:16, caimouse 写道: >>>>>> 哪一 >>>>> 就是啊,换64位系统啊,不要设置什么缓存啊 >>>>> >>>>> -- >>>>> ubuntu-zh mailing list >>>>> ubuntu-zh@lists.ubuntu.com >>>>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh >>>>> >>>> >>> >>> >> >> >> >> -- >> ubuntu-zh mailing list >> ubuntu-zh@lists.ubuntu.com >> https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh >> > > > -- ubuntu-zh mailing list ubuntu-zh@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-zh