» 您尚未登录:请 登录 | 注册 | 标签 | 帮助 | 小黑屋 |


 19 12
发新话题
打印

[新闻] SONY针对Eurogamer关于PS4内存的报道发表了一份声明,其中提及虚拟内存

http://www.eurogamer.net/articles/digitalfoundry-ps3-system-software-memory

UPDATE #2: Sony has issued a statement:

We would like to clear up a misunderstanding regarding our "direct" and "flexible" memory systems. The article states that "flexible" memory is borrowed from the OS, and must be returned when requested - that's not actually the case.

The actual true distinction is that:
■"Direct Memory" is memory allocated under the traditional video game model, 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.

We have no comment to make on the amount of memory reserved by the system or what it is used for.
对于系统使用内存的数量或者用途,我们无可奉告。



Based on this information, plus the new source coming forward to explain the properties of flexible memory, our take on this right now is that there is 4.5GB of conventional RAM available to developers, along with the OS-controlled flexible memory Sony describes, in addition to that.

We understand that this is a 1GB virtual address space, split into two areas - 512MB of on-chip RAM is used (the physical area) and another 512MB is "paged", perhaps like a Windows swap file. But to be clear, of the 8GB of GDDR5 on PS4, our contention is that 5GB of it is available to developers.

The good news is that the amount is static and not dictated by OS functions as we stated in our original post, making it a lot easier for developers to work with.



PS4的8GB内存中系统占用2.5GB(或者3GB,等业内解释),开发者可以使用的有5.5GB(或者5GB,等业内解释),其中4.5GB(或者4GB,等业内解释)是"Direct Memory",1GB是"Flexible Memory",也是用于游戏的,并且是动态的。这1GB又分成两个部分:512MB的物理空间和512MB的虚拟空间。

业内的说法http://bbs.a9vg.com/forum.php?mod=viewthread&tid=3546905&page=5&authorid=483741

[ 本帖最后由 空缺中 于 2013-7-28 02:08 编辑 ]


TOP

說的是4.5+1,那1又分兩部份

詳情看這位業內
http://bbs.a9vg.com/forum.php?mo ... amp;authorid=483741



TOP

posted by wap, platform: Android

我很好奇sony对系统内存使用数量和用途无可奉告?而单单解释了flexible memory?看来ps4的OS优化还没有定数?


TOP

引用:
原帖由 madrista7 于 2013-7-28 00:48 发表
posted by wap, platform: Android

我很好奇sony对系统内存使用数量和用途无可奉告?而单单解释了flexible memory?看来ps4的OS优化还没有定数?
本来官方就从来不会说os占用状况的。。
这对于pr来讲没任何正面意义。。

ps360的os占用状况也不是官方说的,也是被动泄露的。。
减肥优化当然会可能,ps3当初好像12xm的os占用,现在才50m~~
功能却增加不少。。

当然论到os,索尼自然和ms没法比,xo的os好像才占36m还是32m来着。。

TOP

这太容易理解了

X86-64 架构,将最低32位区域完全地址访问,也就是 4G

http://zh.wikipedia.org/wiki/X86 ... 4.E7.B4.B0.E7.AF.80

http://zh.wikipedia.org/wiki/%E7 ... 0%E6%89%A9%E5%B1%95

高位内存系统管理。系统管理分页,标准的 BSD 内存管理。

1G 里面塞几个内存分页

[ 本帖最后由 FXCarl 于 2013-7-28 02:13 编辑 ]

TOP

好像是用于录像的缓存数据了,这尼玛也太浪费了吧,怕伤硬盘用闪存不行吗?

TOP

引用:
原帖由 你老闆 于 2013-7-28 00:13 发表
說的是4.5+1,那1又分兩部份

詳情看這位業內
http://bbs.a9vg.com/forum.php?mo ... amp;authorid=483741
按这位业内的说法应该是:OS占了3GB后,剩下的游戏用的"Direct Memory"占4GB,"Flexible Memory"占1GB,这1GB又分成512MB的物理空间和512MB的虚拟空间
http://bbs.a9vg.com/forum.php?mod=viewthread&tid=3546905&page=5&authorid=483741


如楼上所说,这512MB的虚拟空间甚至是整个1GB的"Flexible Memory"在现阶段被用来当做录像时的缓存了,不过好在是动态的


有个疑问写在顶楼了,1GB"Flexible Memory"是清楚的了,剩下的就是系统占用2.5GB还是3GB、"Direct Memory"占用4GB还是4.5GB的问题

[ 本帖最后由 空缺中 于 2013-7-28 02:15 编辑 ]

TOP

引用:
原帖由 FXCarl 于 2013-7-28 01:08 发表
这太容易理解了

X86-64 架构,低32位区域完全地址访问,也就是 4G

http://zh.wikipedia.org/wiki/X86 ... 4.E7.B4.B0.E7.AF.80

高位内存系 ...
能看清楚点吗,低位可不止4g

TOP

引用:
原帖由 空缺中 于 2013-7-28 01:35 发表




按这位业内的说法应该是:OS占了3GB后,剩下的游戏用的"Direct Memory"占4GB,"Flexible Memory"占1GB,这1GB又分成512MB的物理空间和512MB的虚拟空间
http://bbs.a9vg.com/forum.php?mod=viewthread&tid=3 ...
反正4-5之間啦

TOP

  不仅仅是看错,是理解错了 …… 也没说好

我是觉得 PS4 上,4G 的内存是不做复杂地址转换的。和物理内存比较紧密,给游戏使用。一些32位时代的东西也方便沿用(位运算什么的)。然后剩下的空间是操作系统管理的,需要用一些其他的方式来使用。

直接64位开发,对于小团队来说,那不得搞的一头包 ……

[ 本帖最后由 FXCarl 于 2013-7-28 02:22 编辑 ]

TOP

这512MB的虚拟空间是指的硬盘虚拟内存吗?

TOP

我是没搞懂为什么单独搞个1G的空间,作用是什么?

TOP

纠结这个1G干嘛,应该问系统干嘛用掉2.5或者3了,系统OS应该用不掉这么多啊,要是拿去存录像了那可是暴殄天物啊

TOP

系统占用的容量太大了,不过估计微软的也好不了多少。

TOP

微软可是三系统啊,索尼那个算什么啊

TOP

 19 12
发新话题
     
官方公众号及微博