Re:Open-Sourcing Vespa, Yahoo’s Data Processing and Serving ...
by sanxiyn on Wednesday September 27, 2017 @08:22AM
(#15347020)
Vespa, using its own malloc: https://github.com/vespa-engine/vespa/tree/master/vespamallo...
[ Parent
| on HN ]
Re:Open-Sourcing Vespa, Yahoo’s Data Processing and Serving ...
by andreer on Wednesday September 27, 2017 @09:27AM
(#15347559)
The reason is simply, for performance. To avoid having to go to the kernel every time we need to allocate memory for a query, and avoid having to clear memory on free/reuse. It is made for Vespa, but also used for other programs.
Similar in purpose to Google's TCMalloc: http://goog-perftools.sourceforge.net/doc/tcmalloc.html
Re:Open-Sourcing Vespa, Yahoo’s Data Processing and Serving ...
by sanxiyn on Wednesday September 27, 2017 @09:41AM
(#15347680)
How is it better than TCMalloc? (If it isn't, it probably should be replaced by TCMalloc.)
Re:Open-Sourcing Vespa, Yahoo’s Data Processing and Serving ...
by andreer on Wednesday September 27, 2017 @09:47AM
(#15347726)
In our tests, vespamalloc has simply been faster. I don't know how in-depth the analysis has been as to why, but obviously vespamalloc is written and tuned for Vespa so that is a likely factor.