An Evaluation of Coarse-Grained Locking for Multicore Microkernels
نویسندگان
چکیده
The trade-off between coarseand fine-grained locking is a well understood issue in operating systems. Coarse-grained locking provides lower overhead under low contention, finegrained locking provides higher scalability under contention, though at the expense of implementation complexity and reduced best-case performance. We revisit this trade-off in the context of microkernels and tightly-coupled cores with shared caches and low inter-core migration latencies. We evaluate performance on two architectures: x86 and ARM MPCore, in the former case also utilising transactional memory (Intel TSX). Our thesis is that on such hardware, a well-designed microkernel, with short system calls, can take advantage of coarse-grained locking on modern hardware, avoid the run-time and complexity cost of multiple locks, enable formal verification, and still achieve scalability comparable to fine-grained locking.
منابع مشابه
An experimental study on hydraulic behavior of free-surface radial flow in coarse-grained porous media
The equations of fluids in porous media are very useful in designing the rockfill and diversion dams, gabions, breakwaters and ground water reserves. Researches have been showed that the Forchheimer equation is not sufficient for the analysis of hydraulic behavior of free-surface radial flows; because, in these flows, in addition to the hydraulic gradient and velocity, the variable of radius is...
متن کاملGrids and Clusters with Multi-Core Nodes: A Genetics Application Perspective
The introduction of multicore processors imply that algorithms which are parallelized at an outer, coarse grain level should possibly be revisited to examine if multithreading should also be used at an inner, fine grain level. In this paper we discuss parallel versions of the tightly coupled global optimization algorithm DIRECT. We examine how both coarse grained and fine grained parallelism ca...
متن کاملParaWeaver: Performance Evaluation on Programming Models for Fine Grained Threads
There is a trend towards multicore or manycore processors in computer architecture design. In addition, several parallel programming models have been introduced. Some extract concurrent threads implicitly whenever possible, resulting in fine grained threads. Others construct threads by explicit user specifications in the program, resulting in coarse grained threads. How these two mechanisms imp...
متن کاملMolecular Dynamics Simulations of Freezing Behavior of Pure Water and 14% Water-NaCl Mixture Using the Coarse-Grained Model
We performed molecular dynamics simulations using the coarse-grained model to study the freezing behavior of pure water and 14% water-salt mixture in a wide range of temperatures for a very long time around 50 nanoseconds. For the salty water, an interface in nanoscale was used. For both systems, the f...
متن کاملAn improved joint model: POS tagging and dependency parsing
Dependency parsing is a way of syntactic parsing and a natural language that automatically analyzes the dependency structure of sentences, and the input for each sentence creates a dependency graph. Part-Of-Speech (POS) tagging is a prerequisite for dependency parsing. Generally, dependency parsers do the POS tagging task along with dependency parsing in a pipeline mode. Unfortunately, in pipel...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- CoRR
دوره abs/1609.08372 شماره
صفحات -
تاریخ انتشار 2016