Files
UnrealEngineUWP/Engine/Source/ThirdParty/mimalloc/docs/group__cpp.js

11 lines
695 B
JavaScript
Raw Normal View History

Update mimalloc to version 2.0.0-2762784 for HUGE memory usage improvement in editor workloads This version of mimalloc is very efficient at distributing threaded allocations in a way that maintains locality which in turn improve the amount of memory that we're able to send back to the system after heavily multithreaded workloads. This also improves performance as less page fault and cache misses are expected coming from more densily packed allocations. mimalloc v1 seemed to waste more memory because of its commit size being larger than TBB. However, its allocation patterns was already way tigther than TBB but for it to become apparent, you had to activate the "page_reset" and "reset_decommits" options, which came at a performance loss. mimalloc v2 offers both better locality and by default will more agressively decommit memory with only minor performance loss in some cases and performance gain in many. Given the advantages of mimalloc v2 compared to Intel TBB, we should probably consider it as our next default allocator for the editor. - All tests performed on AMD TR 3970X with 256GB RAM - Loading FramingCameraTest map on special project with -ddc=cold and waiting until every asset is built - 699s @ 32GB for tbb malloc - 655s @ 37GB for mimalloc v1 - 757s @ 12GB for mimalloc v1 + page_reset and reset_decommits - 604s @ 15GB for mimalloc v2 - Loading P_World on Reverb -ddc=cold and waiting until every asset is built - 2372s @ 71GB for tbb malloc - 2587s @ 75GB for mimalloc v1 - 3212s @ 34GB for mimalloc v1 + page_reset and reset_decommits - 2503s @ 37GB for mimalloc v2 - Loading P_Construct_WP on special project with -ddc=cold and waiting until every asset is built - 6404s @ 56GB for tbb malloc - 6640s @ 37GB for mimalloc v2 - Loading Apollo_Terrain on FortniteGame with -ddc=cold and waiting until every asset is built - 751s @ 33GB for tbb malloc - 744s @ 25GB for mimalloc v2 - Cooking FramingCameraTest map on special project with a warmed-up DDC - 379s @ 34GB for tbb malloc - 367s @ 29GB for mimalloc v2 #rb Brandon.Dawson, Yuriy.ODonnell, Stefan.Boberg [CL 15859558 by danny couture in ue5-main branch]
2021-03-30 06:38:15 -04:00
var group__cpp =
[
[ "mi_stl_allocator", "group__cpp.html#structmi__stl__allocator", null ],
[ "mi_new", "group__cpp.html#gaad048a9fce3d02c5909cd05c6ec24545", null ],
[ "mi_new_aligned", "group__cpp.html#gaef2c2bdb4f70857902d3c8903ac095f3", null ],
[ "mi_new_aligned_nothrow", "group__cpp.html#gab5e29558926d934c3f1cae8c815f942c", null ],
[ "mi_new_n", "group__cpp.html#gae7bc4f56cd57ed3359060ff4f38bda81", null ],
[ "mi_new_nothrow", "group__cpp.html#gaeaded64eda71ed6b1d569d3e723abc4a", null ],
[ "mi_new_realloc", "group__cpp.html#gaab78a32f55149e9fbf432d5288e38e1e", null ],
[ "mi_new_reallocn", "group__cpp.html#ga756f4b2bc6a7ecd0a90baea8e90c7907", null ]
];