QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1615|回复: 4

COPY-ON-WRITE机制提高了内存使用率,但降低了系统

[复制链接]
发表于 2003-10-20 13:26:38 | 显示全部楼层 |阅读模式
COPY-ON-WRITE机制提高了内存使用率,但降低了系统效率

正确否?
发表于 2003-10-20 23:03:16 | 显示全部楼层
I don't think so.
回复

使用道具 举报

发表于 2003-10-21 00:13:16 | 显示全部楼层
what u mean 系统效率 ? speed? system speed? or application speed?
回复

使用道具 举报

 楼主| 发表于 2003-10-21 11:59:20 | 显示全部楼层
speed
我觉得copy-on-write机制是多此一举
回复

使用道具 举报

发表于 2003-10-21 23:04:21 | 显示全部楼层
this is a trade off.
1) copy all at the beginning will reduce init speed but with full running spped
2) copy on write will slow running speed.

so if u everytime need access all fields, 1) is better
if u seldom need all 2) is better

this must base on some observation and statistics.
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-9-28 04:21 , Processed in 0.043133 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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