Skip to main content

2021 | OriginalPaper | Buchkapitel

38. Evaluation of Power Consumption and Application Optimization for Adaptive-Ticks Feature in Linux Kernel

verfasst von : Abdullah Aljuhni, Shaji Yusuf, C. Edward Chow, Oluwatobi Akanbi, Amer Aljaedi

Erschienen in: ITNG 2021 18th International Conference on Information Technology-New Generations

Verlag: Springer International Publishing

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

Scheduler timer architecture has significant impact on operating system performance and power consumption. The current generation of Linux kernel supports multiple timer implementations, including periodic ticks, Dyntick-idle and Adaptive-ticks. Adaptive-ticks kernel offers the benefits of previous generations with additional improvement in power consumption and performance. In this paper, we evaluate the impact of Adaptive-ticks on power consumption with Linux kernel version 5.4.0 on an Intel Core i9-9900K. The current generation of Adaptive-ticks feature does not support multiple tasks in a ready queue; however, with the increase in application parallelism, not having support for multiple tasks in the ready queue poses a significant disadvantage to this feature. To support multi-threaded applications, we propose an application optimization technique which splits threads into two main categories, lightweight and heavyweight, with proper affinity settings for better power consumption. In addition, this study proposes a possible implementation strategy to extend the Adaptive-ticks feature to support multiple tasks in the ready queue. Our tests use in-band “RAPL” for profiling power consumption, and synthetic benchmarks such as Livermore, RAMSpeed, and SysBench, as the workloads. For real-world application benchmarking, we use Linux kernel compilation. The study shows that Adaptive-ticks kernel can reduce power consumption by 1–2.7% and the application optimization technique provides a 2.4% enhancement in power consumption.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Literatur
2.
Zurück zum Zitat T. Gleixner, D. Niehaus, Hrtimers and beyond: Transforming the Linux time subsystems, in Proceedings of the Linux Symposium, vol. 1, (2006) T. Gleixner, D. Niehaus, Hrtimers and beyond: Transforming the Linux time subsystems, in Proceedings of the Linux Symposium, vol. 1, (2006)
5.
Zurück zum Zitat F. Weisbecker, Status of Linux dynticks, in 9th Annual Workshop on Operating Systems Platforms for Embedded Real-Time Applications-OSPERT13, (2013) F. Weisbecker, Status of Linux dynticks, in 9th Annual Workshop on Operating Systems Platforms for Embedded Real-Time Applications-OSPERT13, (2013)
6.
Zurück zum Zitat A. Aljuhni, C.E. Chow, A. Aljaedi, S. Yusuf, F. Torres-Reyes, Towards understanding application performance and system behavior with the full dynticks feature, in 2018 IEEE 8th Annual Computing and Communication Workshop and Conference (CCWC), (IEEE, 2018), pp. 394–401CrossRef A. Aljuhni, C.E. Chow, A. Aljaedi, S. Yusuf, F. Torres-Reyes, Towards understanding application performance and system behavior with the full dynticks feature, in 2018 IEEE 8th Annual Computing and Communication Workshop and Conference (CCWC), (IEEE, 2018), pp. 394–401CrossRef
7.
Zurück zum Zitat M. Holappa, Performance Comparison of LTE ENODEB OSI Layer 2 Implementations: Preemptive Partitioned Scheduling vs. Non-Preemptive Global Scheduling. Master’s Thesis, Degree Programme in Information Networks (2013) M. Holappa, Performance Comparison of LTE ENODEB OSI Layer 2 Implementations: Preemptive Partitioned Scheduling vs. Non-Preemptive Global Scheduling. Master’s Thesis, Degree Programme in Information Networks (2013)
8.
Zurück zum Zitat M. Palmer, M. Walters, Guide to Operating Systems (Cengage Learning, Boston, 2012) M. Palmer, M. Walters, Guide to Operating Systems (Cengage Learning, Boston, 2012)
9.
Zurück zum Zitat H. Akkan, M. Lang, L.M. Liebrock, Stepping towards noiseless Linux environment, in Proceedings of the 2nd International Workshop on Runtime and Operating Systems for Supercomputers, (June 2012), pp. 1–7 H. Akkan, M. Lang, L.M. Liebrock, Stepping towards noiseless Linux environment, in Proceedings of the 2nd International Workshop on Runtime and Operating Systems for Supercomputers, (June 2012), pp. 1–7
10.
Zurück zum Zitat S. Siddha, V. Pallipadi, A. Ven, Getting maximum mileage out of tickless, in Proceedings of the Linux Symposium, (Ottawa, 2007), pp. 201–207 S. Siddha, V. Pallipadi, A. Ven, Getting maximum mileage out of tickless, in Proceedings of the Linux Symposium, (Ottawa, 2007), pp. 201–207
11.
Zurück zum Zitat M. Simonović, L. Saranovac, Power management implementation in FreeRTOS on LM3S3748. Serbian J. Electr. Eng. 10(1), 199–208 (2013)CrossRef M. Simonović, L. Saranovac, Power management implementation in FreeRTOS on LM3S3748. Serbian J. Electr. Eng. 10(1), 199–208 (2013)CrossRef
12.
Zurück zum Zitat V. Jiménez et al., Power and thermal characterization of POWER6 system, in 2010 19th International Conference on Parallel Architectures and Compilation Techniques (PACT), (IEEE, 2010), pp. 7–18 V. Jiménez et al., Power and thermal characterization of POWER6 system, in 2010 19th International Conference on Parallel Architectures and Compilation Techniques (PACT), (IEEE, 2010), pp. 7–18
13.
Zurück zum Zitat F. Garcia, C. Lameter, Tickless kernel practical experiences, in Presented at LinuxCon, (2013) F. Garcia, C. Lameter, Tickless kernel practical experiences, in Presented at LinuxCon, (2013)
14.
Zurück zum Zitat S. Kanev, K. Hazelwood, G.-Y. Wei, D. Brooks, Tradeoffs between power management and tail latency in warehouse-scale applications, in 2014 IEEE International Symposium on Workload Characterization (IISWC), (IEEE, 2014), pp. 31–40CrossRef S. Kanev, K. Hazelwood, G.-Y. Wei, D. Brooks, Tradeoffs between power management and tail latency in warehouse-scale applications, in 2014 IEEE International Symposium on Workload Characterization (IISWC), (IEEE, 2014), pp. 31–40CrossRef
15.
Zurück zum Zitat D. Thiebaut, H.S. Stone, Footprints in the cache. ACM Trans. Comput. Syst. (TOCS) 5(4), 305–329 (1987)CrossRef D. Thiebaut, H.S. Stone, Footprints in the cache. ACM Trans. Comput. Syst. (TOCS) 5(4), 305–329 (1987)CrossRef
17.
Zurück zum Zitat A.C. de Melo, The new Linux ‘perf’ tools. Slides from Linux Kongress (2010) A.C. de Melo, The new Linux ‘perf’ tools. Slides from Linux Kongress (2010)
18.
Zurück zum Zitat E. Rotem, A. Naveh, A. Ananthakrishnan, E. Weissmann, D. Rajwan, Power-management architecture of the intel microarchitecture code-named Sandy Bridge. IEEE Micro 32(2), 20–27 (2012)CrossRef E. Rotem, A. Naveh, A. Ananthakrishnan, E. Weissmann, D. Rajwan, Power-management architecture of the intel microarchitecture code-named Sandy Bridge. IEEE Micro 32(2), 20–27 (2012)CrossRef
19.
Zurück zum Zitat F.H. McMahon, The Livermore Fortran Kernels: A Computer Test of the Numerical Performance Range (Lawrence Livermore National Lab, Livermore, 1986) F.H. McMahon, The Livermore Fortran Kernels: A Computer Test of the Numerical Performance Range (Lawrence Livermore National Lab, Livermore, 1986)
20.
Zurück zum Zitat R.M. Hollander, P.V. Bolotoff, RAMSpeed, a cache and memory benchmarking tool (2011) R.M. Hollander, P.V. Bolotoff, RAMSpeed, a cache and memory benchmarking tool (2011)
21.
Zurück zum Zitat A. Kopytov, Sysbench manual. MySQL AB, 2–3 (2012) A. Kopytov, Sysbench manual. MySQL AB, 2–3 (2012)
23.
Zurück zum Zitat A. Sodani, Knights landing (knl): 2nd generation Intel® Xeon Phi processor, in 2015 IEEE Hot Chips 27 Symposium (HCS), (IEEE, 2015), pp. 1–24 A. Sodani, Knights landing (knl): 2nd generation Intel® Xeon Phi processor, in 2015 IEEE Hot Chips 27 Symposium (HCS), (IEEE, 2015), pp. 1–24
Metadaten
Titel
Evaluation of Power Consumption and Application Optimization for Adaptive-Ticks Feature in Linux Kernel
verfasst von
Abdullah Aljuhni
Shaji Yusuf
C. Edward Chow
Oluwatobi Akanbi
Amer Aljaedi
Copyright-Jahr
2021
DOI
https://doi.org/10.1007/978-3-030-70416-2_38