吴文官 发表于 2003-10-20 13:26:38

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

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

正确否?

超级用户 发表于 2003-10-20 23:03:16

I don't think so.

Dragonfly 发表于 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机制是多此一举

Dragonfly 发表于 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.
页: [1]
查看完整版本: COPY-ON-WRITE机制提高了内存使用率,但降低了系统