Mimalloc Benchmarks #19539
nick-l-o3de
started this conversation in
General
Mimalloc Benchmarks
#19539
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
mimalloc issues
Spew on startup
mimalloc-debug.lib is produced when in profile mode.
Crash unloading and loading levels in mimalloc+hpha mode
The innards of "this" seemed fine, but the innards of "this->m_garbage" were all null.
Timings
Names of runs:
-DO3DE_OS_ALLOCATOR_USE_MIMALLOC=ON -DO3DE_SYSTEM_ALLOCATOR_USE_MALLOC=OFF(mimalloc and HPHA)-DO3DE_OS_ALLOCATOR_USE_MIMALLOC=ON -DO3DE_SYSTEM_ALLOCATOR_USE_MALLOC=ON(Mimalloc, no HPHA)-DO3DE_OS_ALLOCATOR_USE_MIMALLOC=OFF -DO3DE_SYSTEM_ALLOCATOR_USE_MALLOC=OFF(o3de vanilla, with HPHA)-DO3DE_OS_ALLOCATOR_USE_MIMALLOC=OFF -DO3DE_SYSTEM_ALLOCATOR_USE_MALLOC=ON(o3de vanilla, no HPHA)rmdir /s /q Cache && AssetProcessorBatch.exe --zeroAnalysisModeLOWER IS BETTER
Best to worst: MALLOC, MIMALLOC+HPHA, MIMALLOC, HPHA
Editor load/run/start/quit test
note that Asset Processor is running and idle in the background so no asset processing happens and all assets
are already ready during this test.
With "runtest.py"
LOWER IS BETTER
High memory watermark
I start the game running in the editor, which involves running the server, too, and check the
maximum allocated amount of memory.
Note that this value was identical across multiple runs, so only one is shown.
LOWER IS BETTER
FPS
This is the average ms per frame, inside the game runtime in the editor, when running
in an unlimited framerate mode (no vsync). Note that each time I ctrlg/exit, the
ms/f goes up, so this is just the first run (will investigate)
LOWER IS BETTER
Beta Was this translation helpful? Give feedback.
All reactions