- UID
- 2
- 积分
- 8682
- 帖子
- 2905
- 主题
- 199
- 论坛币
- 11739
- 威望
- 16
- EP值
- 2349
- MP值
- 15
- 阅读权限
- 200
- 注册时间
- 2011-8-3
- 在线时间
- 2597 小时
- 最后登录
- 2024-8-28
|
I've just finished the implementation of the chuck cache support. Though, the result turned to be disappointing.
I then analyze all the three cache approaches (file cache, frame cache, chunk cache), and concluded that only the frame cache can bring to practical use.
1. file cache largely depends on the locality of the chunks, if they come in a more random order that performance will be dramatically decreased. Though with relatively small TCAS files, the locality is not an issue, when switching the content of the cache, it will stop the rendering process for a while (this is the biggest problem which should be avoided).
2. chunk cache largely depends on the chunk duration, if a chunk is occupied by many frames (the chunk duration is long), the chunk cache may increase the performance a lot. But this is not the case for practical use (especially with per frame effects whose chunks are likely to be one frame living).
3. frame cache is a good approach, no matter what condition we met. So it is the only one brought into practical use.
|
|