Site icon Embarcadero RAD Studio, Delphi, & C++Builder Blogs

Double Performance In Some Scenarios With Custom FastMM4-AVX Memory Manager

time lapse photography of cars on road during night time

Photo by Kehn Hermano on Pexels.com

While looking into upgrading the FastMM4 version in Embarcadero Dev-C++ I ran across a fork of FastMM4 called FastMM4-AVX. It uses special instruction sets to achieve better results than the original FastMM4. Developer maximmasiutin has added a number of enhancements to the original FastMM4 specifically “AVX support and multi-threaded enhancements (faster locking)”. It claims “Under some multi-threading scenarios, the FastMM4-AVX branch is more than twice as fast comparing to the Original FastMM4.” That sounds pretty good. The take away about memory managers seems to be some are better in some scenarios than others so if you need more speed it could be worth your while to test out different ones in your specific application. Take a look at all the items which were added on top of FastMM4.

“What was added to FastMM4-AVX in comparison to the original FastMM4:

There are also some additional benchmarks between FastMM4 and FastMM4-AVX available from Embarcadero MVP Radek Červinka. Check out that blog post.

Interested in trying out FastMM4-AVX in your own project? Head over to GitHub and download the full source code for FastMM4-AVX. Plus check out all of the benchmarks.

Exit mobile version