- 精华
- 0
- 帖子
- 643
- 威望
- 0 点
- 积分
- 689 点
- 种子
- 0 点
- 注册时间
- 2007-1-15
- 最后登录
- 2017-9-23
|
发表于 2013-7-28 00:47 · 上海
|
显示全部楼层
翻译不准确
挺好理解的问题,偌大的阿九没有懂的人出来解释都能讨论得热火朝天,真是有够神奇
简而言之,就是引入了以往PC上才有的虚拟内存机制
"Direct Memory" is memory allocated under the traditional video game model, so the game controls all aspects of its allocation
首先原文其实就不那么准确,与其说traditional video game model,不如说traditional console game model,不过从索尼的角度这么说也未尝不可;对于PC游戏来说,现代操作系统中虚拟内存的存在使得内存管理并不是首要优先级的事情,而console则不一样,一则内存固定且有限,二则操作系统功能有限,so the game controls all aspects of its allocation
"Flexible Memory" is memory managed by the PS4 OS on the game's behalf, and allows games to use some very nice FreeBSD virtual memory functionality. However this memory is 100 per cent the game's memory, and is never used by the OS, and as it is the game's memory it should be easy for every developer to use it.
说白了这些就是虚拟内存,只不过是专门用于游戏的虚拟内存。“some very nice FreeBSD virtual memory functionality”,哪些功能?无非是动态换页什么的。http://www.freebsd.org/doc/en/books/arch-handbook/vm.html
为什么会有这个东西?可以这么猜测,索尼不确定未来能腾出来多少空间,但是又不想让开发者在开发时困扰,所以开发者只要像使用虚拟内存一样用这部分内存就行了,有了这层抽象之后,如果以后OS有优化,这部分实际内存增加了,对开发者也没有任何影响
savvy? |
|