PhD Defense by Sangho Lee

Event Details
  • Date/Time:
    • Monday August 10, 2015
      12:00 pm - 2:00 pm
  • Location: KACB 2108
  • Phone:
  • URL:
  • Email:
  • Fee(s):
    N/A
  • Extras:
Contact
No contact information submitted.
Summaries

Summary Sentence: Mitigating the performance impact of memory bloat

Full Summary: No summary paragraph submitted.

Ph.D. Defense of Dissertation Announcement

Title: Mitigating the performance impact of memory bloat

 

Sangho Lee

Ph.D. Candidate

School of Computer Science

College of Computing

Georgia Institute of Technology

 

Date: August 10, 2015 (Monday)

Time: 12:00 PM - 2:00 PM (ET)

Location: KACB 2108

 

Committee:

------------

Dr. Santosh Pande (Advisor, School of Computer Science, Georgia Tech)

Dr. Alessandro Orso (School of Computer Science, Georgia Tech)

Dr. Karsten Schwan (School of Computer Science, Georgia Tech)

Dr. Hyesoon Kim (School of Computer Science, Georgia Tech)

Dr. Sudhakar Yalamanchili (School of Electrical and Computer Engineering, Georgia Tech)

 

Abstract:

Memory bloat is loosely defined as an excessive use of memory than is necessary in an application. Due to the complexity of efficient memory management that developers have to deal with, memory bloat is pervasive and is often neglected in favor of lower application development cost. Unfortunately, when the bloat becomes severe, unwanted performance issues may occur due to its impact on memory management mechanisms and memory layout.

 

In light of this, this dissertation identifies 3 pervasive causes of performance issues due to memory bloat and present feedback-driven solutions for each.

 

First, in certain languages like C/C++, applications have to manually manage memory in terms of allocation and deallocation. When users forget to free an allocated memory (due to a bug), this leads to a form of memory bloat known as memory leak. Presence of memory leaks causes gradual exhaustion of system memory and eventually leads to serious performance degradation of production systems.  To prevent the obvious consequences of memory leaks, we present a memory leak detection framework that relies on object behavior introspection.  Our framework models behavioral changes of hypothetically leaked objects in terms of their staleness and coexistence patterns among the allocated objects. With the introspective memory leak detection framework, we observed significant memory bloat savings upon weeding out discovered memory leaks.

 

Second, memory bloat prevention mechanism in multi-threaded memory allocators is another source of performance issues. When the bloat prevention mechanism is frequently triggered unnecessarily as an artifact of intensive memory allocations/deallocations, an application may experience a suboptimal performance. To address this, we present a feedback-directed tuning mechanism for TCMalloc, a widely used memory allocator for high performance systems. Our optimization technique tunes the thread cache management mechanism in TCMalloc to the memory allocation behavior of an application and reduces the management cost of the internal data structures in TCMalloc. With the proposed technique integrated into FDO in GCC, we observed up to 10% improvement in application performance.

 

Third, in some languages like Java, memory is automatically managed through garbage collection. Memory bloat in Java applications occurs due to performance unconscious designs and implementations. When an application uses an excessive amount of memory by creating too many objects than is

necessary, negative performance impact such as high garbage collection overhead may arise.  To address this issue, we present an object recycle

optimization technique for Java applications.  Our technique uses a static analysis to figure out safe-deallocation sites of objects and uses a dynamic profiling to select allocation sites for code transformation. With the optimization technique, We observed up to 10% improvement in application performance on DaCapo 2006 benchmark applications.

 

In summary, this dissertation comprehensively analyzes and proposes solutions to the problem of memory bloat in both manual and automated memory managed systems.

Additional Information

In Campus Calendar
No
Groups

Graduate Studies

Invited Audience
Public
Categories
Other/Miscellaneous
Keywords
Phd Defense
Status
  • Created By: Tatianna Richardson
  • Workflow Status: Published
  • Created On: Aug 3, 2015 - 5:04am
  • Last Updated: Oct 7, 2016 - 10:12pm