TCAX 字幕特效制作工具官方论坛 | ASS | TCAS | Python | Aegisub | Lua

标题: [libtcas] Load/Volume Test on the very new libtcas [打印本页]

作者: milkyjing    时间: 2011-10-11 03:04:48     标题: [libtcas] Load/Volume Test on the very new libtcas

The TCAS files for testing are all large ones and somewhat complex (chunks are stored in a more random order in the time dimension).

Load Test

test tcas file 1

Additional Info
Size:   2.35 GB (2,526,669,312 bytes)
Index Streams:   216


Testing Result

Without cache support
initialization takes 21513 mm

chunk streams 216


total time for rendering 2327 frames 597250

I/O time 542349
Press any key to continue . . .

memory operation duration: 54901

initialization takes 18393 mm

chunk streams 216


total time for rendering 2327 frames 619059

I/O time 564365
Press any key to continue . . .

memory operation duration: 54703

initialization takes 34274 mm

chunk streams 216


total time for rendering 2327 frames 674127

I/O time 619003
Press any key to continue . . .

memory operation duration: 55124


With frame cache support
initialization takes 1794 mm


total time for rendering 2327 frames 491435

I/O time 458912
Press any key to continue . . .

memory operation duration: 32523

initialization takes 1809 mm


total time for rendering 2327 frames 448815

I/O time 416802
Press any key to continue . . .

memory operation duration: 32013

initialization takes 18050 mm


total time for rendering 2327 frames 590885

I/O time 555709
Press any key to continue . . .

memory operation duration: 35176


Volume Test

test tcas file 2

Additional Info
Size:   1.26 GB (1,356,047,664 bytes)
Index Streams:   225


Testing Result

Without cache support
initialization takes 1950 mm

chunk streams 225


total time for rendering 2339 frames 46176

I/O time 5658
Press any key to continue . . .

memory operation duration: 40518

initialization takes 2012 mm

chunk streams 225


total time for rendering 2339 frames 45318

I/O time 5982
Press any key to continue . . .

memory operation duration: 39336

initialization takes 1996 mm

chunk streams 225


total time for rendering 2339 frames 45568

I/O time 5707
Press any key to continue . . .

memory operation duration: 39861


With frame cache support
initialization takes 1981 mm


total time for rendering 2339 frames 32761

I/O time 6178
Press any key to continue . . .

memory operation duration: 26583

initialization takes 2090 mm


total time for rendering 2339 frames 34274

I/O time 6741
Press any key to continue . . .

memory operation duration: 27533

initialization takes 1966 mm


total time for rendering 2339 frames 33883

I/O time 6162
Press any key to continue . . .

memory operation duration: 27721




图片附件: [test tcas file 1] tcas_info1.jpg (2011-10-11 03:04:24, 16.14 KB) / 下载次数 939
http://tcax.org/forum.php?mod=attachment&aid=Njh8NGI1MGJhNjB8MTczMjMzNjc3OXwwfDA%3D



图片附件: [test tcas file 2] tcas_info2.jpg (2011-10-11 16:50:32, 16.13 KB) / 下载次数 933
http://tcax.org/forum.php?mod=attachment&aid=Njl8ZmJlZGYzYTN8MTczMjMzNjc3OXwwfDA%3D


作者: milkyjing    时间: 2011-10-11 03:43:12     标题: Conclusion

When the file is too large, the OS's default file cache support may not work, so even it is the second time to access the file, the speed will still be slow, (we can recognize that, most of the time is spent on the I/O), and when it comes to such large TCAS files, the locality of chunks is likely not to be maintained, so the file cache will be a bad idea (it will make the I/O even slower!)...

1. However, even when we are dealing with such large files, the time it spent on doing the in-memory things is still very little.
2. Even in such condition, the frame cache will still improve the overall performance.
3. To enjoy the OS's default file cache support, the TCAS file should better be less than 1GB, (which is still large enough for practical use), and with the cache, the performance of the second time access will be dramatically increased. If the file is larger than 2GB, the OS's default file cache support may not work.
4. Theoritically speaking, the maximum TCAS file that the libtcas can support is 16GB, which is large enough.
5. It is really a bad idea to store video frames as TCAS frames, both a waste of disc space and performance, since the TCAS file format is designed for discrete pixels (isolated objects).




作者: milkyjing    时间: 2011-10-11 17:20:33     标题: Screenshot

load_test

volume_test

图片附件: [volume_test] volume_test.jpg (2011-10-11 17:20:11, 79.74 KB) / 下载次数 937
http://tcax.org/forum.php?mod=attachment&aid=NzF8YWE0N2U0NGJ8MTczMjMzNjc3OXwwfDA%3D



图片附件: [load_test] load_test.jpg (2011-10-11 17:20:11, 96.44 KB) / 下载次数 946
http://tcax.org/forum.php?mod=attachment&aid=NzB8ZWMzOGM5MDJ8MTczMjMzNjc3OXwwfDA%3D






欢迎光临 TCAX 字幕特效制作工具官方论坛 | ASS | TCAS | Python | Aegisub | Lua (http://tcax.org/) Powered by Discuz! X2