A study in Malloc: a case of excessive minor faults

  • Authors:
  • Phillip Ezolt

  • Affiliations:
  • Compaq Computer Corporation

  • Venue:
  • ALS '01 Proceedings of the 5th annual Linux Showcase & Conference - Volume 5
  • Year:
  • 2001

Quantified Score

Hi-index 0.00

Visualization

Abstract

GNU libc's default setting for malloc can cause a significant performance penalty for applications that use it extensively, such as Compaq's high performance extended math library, CXML. The default malloc tuning can cause a significant number of minor page faults, and result in application performance of only half of the true potential. This paper describes how to remove the performance penalty using environmental variables and the method used to discover the cause of the malloc performance penalty.