@inproceedings {190, title = {Power-efficient Multiple Producer-Consumer}, booktitle = {IEEE 28th International Symposium on Parallel \& Distributed Processing (IPDPS)}, year = {2014}, pages = { 669--678}, address = {Phoenix, USA}, abstract = {

Power efficiency has been one of the main objectives of hardware design in the last two decades. However, with the recent explosion of mobile computing and the increasing demand for green data centers, software power efficiency has also risen to be an equally important factor. We argue that most classic concurrency control algorithms were designed in an era when power efficiency was not an important dimension in algorithm design. Such algorithms are applied to solve a wide range of problems from kernel-level primitives in operating systems to networking devices and web services. These primitives and services are constantly and heavily invoked in any computer system and by larger scale in networking devices and data centers. Thus, even a small change in their power spectrum can make a huge impact on overall power consumption in long periods of time.

This paper focuses on the classic producer-consumer problem. First, we study the power efficiency of different existing implementations of the producer-consumer problem. In particular, we present evidence that these implementations behave drastically differently with respect to power consumption. Secondly, we present a dynamic algorithm for the multiple producer-consumer problem, where consumers in a multicore system use learning mechanisms to predict the rate of production, and effectively utilize this prediction to attempt to latch onto previously scheduled CPU wake-ups.\  Such group latching results in minimizing the overall number of CPU wakeups and in effect, power consumption. We enable consumers to dynamically reserve more pre-allocated memory in cases where the production rate is too high. Consumers may compete for the extra space and dynamically release it when it is no longer needed. Our experiments show that our algorithm provides up to 40\% decrease in the number of CPU wakeups, and 30\% decrease in power consumption. We validate the scalability of our algorithm with an increasing number of consumers.

}, doi = {10.1109/IPDPS.2014.75}, author = {Medhat, Ramy and Bonakdarpour, Borzoo and Fischmeister, Sebastian} }