Apache OpenOffice (AOO) Bugzilla – Issue 101219
Use memory-cache for small streams in storage implementation.
Last modified: 2009-07-02 14:28:23 UTC
The transaction model of storages requires to cache data until the final commit of the root storage. Using of the memory cache instead of temporary file cache would improve the storage performance. Currently the maximal size of the memory caching is limited, if the stream is bigger than the limit the usual temporary file caching is used.
The change is commited in os128 cws. As result, all the streams that are smaller than 30000 bytes are stored temporally in the memory ( instead of temporary files ) during the saving/loading process.
Created attachment 61689 [details] The performance measures.
The attached performance measurements were done on DEV300_m45 with integrated fix for this issue and original DEV300_m45 a the reference.
.
mav->mru: I see no way for QA to test directly the new implementation. What still could be tested is that all the loading/storing automated tests ( for all applications ) are still running successfully.
Verified in CWS os128. The automated and manual tests regarding load/save did not show any problems.
I've tested OOo-dev m50 with file from issue 70544. Load perf is no longer suffer from many temp files, but OOo still creates/erases them.
Checked in DEV300m51.