Please use this identifier to cite or link to this item: http://artemis.cslab.ece.ntua.gr:8080/jspui/handle/123456789/17017
Full metadata record
DC FieldValueLanguage
dc.contributor.authorΜαρία Δημακοπούλου
dc.date.accessioned2018-07-23T19:45:24Z-
dc.date.available2018-07-23T19:45:24Z-
dc.date.issued2014-9-15
dc.date.submitted2014-6-10
dc.identifier.urihttp://artemis-new.cslab.ece.ntua.gr:8080/jspui/handle/123456789/17017-
dc.description.abstractProcessor hardware performance counters have improved in quality and features in recent years. At the same time, the performance monitoring support in Linux has been significantly revamped with the development of the perf_events subsystem. Those factors concur in making performance monitoring a more common practice among developers. However, no performance analysis is possible without reliable hardware counter data.In this thesis, we focus on a published correctness erratum in the performance monitoring unit of recent Intel processors when Hyper-Threading is enabled. This erratum causes cross hyper-thread hardware counter corruption and may produce unreliable results. We propose a cache-coherence style protocol that we implement in the Linux kernel to circumvent the issue by introducing cross hyper-thread dynamic event scheduling. We also introduce an event scheduling algorithm that achieves the optimal scheduling of events onto hardware counters at all times. The proposed optimizations do not require any user level changes and leverage the internal design of the perf_events subsystem.The source code has been posted to the upstream Linux kernel and our contribution has received honorary awards from Intel and Google.
dc.languageEnglish
dc.subjectperformance monitoring
dc.subjecthardware counters
dc.subjectpmu
dc.subjectscheduling algorithms
dc.subjecthyper-threading
dc.subjectlinux kernel
dc.subjectperf_events
dc.titleImproving Reliability & Efficiency Of Performance Monitoring In Linux
dc.typeDiploma Thesis
dc.description.pages87
dc.contributor.supervisorΚοζύρης Νεκτάριος
dc.departmentΤομέας Τεχνολογίας Πληροφορικής & Υπολογιστών
dc.organizationΕΜΠ, Τμήμα Ηλεκτρολόγων Μηχανικών & Μηχανικών Υπολογιστών
Appears in Collections:Διπλωματικές Εργασίες - Theses

Files in This Item:
File SizeFormat 
DT2014-0257.pdf1.97 MBAdobe PDFView/Open


Items in Artemis are protected by copyright, with all rights reserved, unless otherwise indicated.