Project

General

Profile

Feature #4489

need ptcumem

Added by Robert Mustacchi about 7 years ago. Updated about 7 years ago.

Status:
Resolved
Priority:
Normal
Category:
lib - userland libraries
Start date:
2014-01-16
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

libumem does a good job at providing a scalable malloc implementation for heavily threaded applications. However, in the case of uncontended allocations, libumem still has to always grab a single lock. In small object malloc heavy code, this adds a noticeable amount of overhead, especially when compared to other systems where they have lock-free ways of returning small objects. This work investigates adding a per-thread cache to libumem where recently freed allocations are stored in the thread itself.

#1

Updated by Robert Mustacchi about 7 years ago

  • Status changed from New to Resolved
  • % Done changed from 90 to 100

Resolved in 4f364e7c95ee7fd9d5bbeddc1940e92405bb0e72.

Also available in: Atom PDF