Search engine for discovering works of Art, research articles, and books related to Art and Culture
ShareThis
Javascript must be enabled to continue!

HTLL: Latency-aware Scalable Blocking Mutex

View through CrossRef
<p>This paper finds that existing mutex locks suffer from throughput collapses or latency collapses, or both in the over-subscribed scenarios where applications create more threads than the core number, e.g., database applications like mysql uses per thread per connection.<br> We make an in-depth performance analysis on existing locks and then identify three design rules for the lock primitive to achieve scalable performance in over-subscribed scenarios. First, to achieve ideal throughput, the lock design should keep adequate number of active competitors. Second, the active competitors should be arranged carefully to avoid preemption problems. Third, to meet latency requirements, the lock design should track the latency of each competitor and reorder the competitors according to the latency requirement. We propose a new lock design called HTLL that satisfies these rules and achieves both high throughput and low latency even when the cores are oversubscribed.<br> HTLL only requires minimal human effort to annotate the latency requirement. Evaluation results show that HTLL achieves scalable performance in the over-subscribed scenarios. Specifically, in lmdb, HTLL can reduce latency by up to 97% with only an average 5% degradation in throughput, when compared to state-of-the-art locks such as Malthusian, CST, and Mutexee locks. In comparison to pthread mutex lock, HTLL increases the throughput by up to 22% and decreases the latency by up to 80%. Meanwhile, for the under-subscribed scenarios, it also has similar or even better performance than state-of-the-arts.</p>
Institute of Electrical and Electronics Engineers (IEEE)
Title: HTLL: Latency-aware Scalable Blocking Mutex
Description:
<p>This paper finds that existing mutex locks suffer from throughput collapses or latency collapses, or both in the over-subscribed scenarios where applications create more threads than the core number, e.
g.
, database applications like mysql uses per thread per connection.
<br> We make an in-depth performance analysis on existing locks and then identify three design rules for the lock primitive to achieve scalable performance in over-subscribed scenarios.
First, to achieve ideal throughput, the lock design should keep adequate number of active competitors.
Second, the active competitors should be arranged carefully to avoid preemption problems.
Third, to meet latency requirements, the lock design should track the latency of each competitor and reorder the competitors according to the latency requirement.
We propose a new lock design called HTLL that satisfies these rules and achieves both high throughput and low latency even when the cores are oversubscribed.
<br> HTLL only requires minimal human effort to annotate the latency requirement.
Evaluation results show that HTLL achieves scalable performance in the over-subscribed scenarios.
Specifically, in lmdb, HTLL can reduce latency by up to 97% with only an average 5% degradation in throughput, when compared to state-of-the-art locks such as Malthusian, CST, and Mutexee locks.
In comparison to pthread mutex lock, HTLL increases the throughput by up to 22% and decreases the latency by up to 80%.
Meanwhile, for the under-subscribed scenarios, it also has similar or even better performance than state-of-the-arts.
</p>.

Related Results

MutEx: a multifaceted gateway for exploring integrative pan-cancer genomic data
MutEx: a multifaceted gateway for exploring integrative pan-cancer genomic data
AbstractSomatic mutation and gene expression dysregulation are considered two major tumorigenesis factors. While independent investigations of either factor pervade, studies of ass...
Towards Ubiquitous and Continuous Network Latency Monitoring
Towards Ubiquitous and Continuous Network Latency Monitoring
The Internet plays an important role in modern society, and its network performance impacts billions of users every day. For many network applications, network latency has a large ...
Northern Hemisphere atmospheric blocking simulation in present and future climate
Northern Hemisphere atmospheric blocking simulation in present and future climate
&lt;p&gt;We present a comprehensive analysis of the representation of winter and summer Northern Hempishere atmospheric blocking in global climate simulations in both prese...
Studies on carrier-blocking structures for up-conversion infrared photodetectors
Studies on carrier-blocking structures for up-conversion infrared photodetectors
Infrared (IR) photodetectors have been widely used in the fields of both civil and military applications such as environmental monitoring, medical diagnostics, satellite remote sen...
Immunofluorescence Protocol for use on cultured cell lines (IF-IC) v1
Immunofluorescence Protocol for use on cultured cell lines (IF-IC) v1
Goal: Immunohistochemistry (or IHC) is a method for demonstrating the presence and location of molecules in cultured cells. Solutions and Reagents: NOTE: *Prepare solutions wit...
Comparison of Blue Light Blocking Effects of Tips and Tinted Lenses for Dental Light Curing Machines
Comparison of Blue Light Blocking Effects of Tips and Tinted Lenses for Dental Light Curing Machines
Background/Objectives: This study aimed to examine the blue-light blocking effect according to the curing light tip and the color of the protective eyeglass lens for the operator’s...
Enhanced quality of service mechanisms for 5G networks
Enhanced quality of service mechanisms for 5G networks
The heterogeneous services with stringent requirements that are envisioned to co-exist under the fifth generation of cellular networks (5G), inexorably challenge the current Long-T...

Back to Top