SearcharxivSearch

arXiv subjects

Michael Maitland

Publications and source records attributed to Michael Maitland.

3 recordsLinked to original sources

A Highly Scalable, Hybrid, Cross-Platform Timing Analysis Framework Providing Accurate Differential Throughput Estimation via Instruction-Level Tracing

Estimating instruction-level throughput is critical for many applications: multimedia, low-latency networking, medical, automotive, avionic, and industrial control systems all rely on tightly calculable and accurate timing bounds of their software. Unfortunately, how long a program may run - or if it may indeed stop at all - cannot be answered in the general case. This is why state-of-the-art throughput estimation tools usually focus on a subset of operations and make several simplifying assumptions. Correctly identifying these sets of constraints and regions of interest in the program typically requires source code, specialized tools, and dedicated expert knowledge. Whenever a single instruction is modified, this process must be repeated, incurring high costs when iteratively developing timing sensitive code in practice. In this paper, we present MCAD, a novel and lightweight timing analysis framework that can identify the effects of code changes on the microarchitectural level for binary programs. MCAD provides accurate differential throughput estimates by emulating whole program execution using QEMU and forwarding traces to LLVM for instruction-level analysis. This allows developers to iterate quickly, with low overhead, using common tools: identifying execution paths that are less sensitive to changes over timing-critical paths only takes minutes within MCAD. To the best of our knowledge this represents an entirely new capability that reduces turnaround times for differential throughput estimation by several orders of magnitude compared to state-of-the-art tools. Our detailed evaluation shows that MCAD scales to real-world applications like FFmpeg and Clang with millions of instructions, achieving < 3% geo mean error compared to ground truth timings from hardware-performance counters on x86 and ARM machines.

cs.PL

Entropy-reducing dynamics of a double demon

We study the reduction in total entropy, and associated conversion of environmental heat into work, arising from the coupling and decoupling of two systems followed by processing determined by suitable mutual feedback. The scheme is based on the actions of Maxwell's demon, namely the performance of a measurement on a system followed by an exploitation of the outcome to extract work. When this is carried out in a symmetric fashion, with each system informing the exploitation of the other (and both therefore acting as a demon), it may be shown that the second law can be broken, a consequence of the self-sorting character of the system dynamics.

cond-mat.stat-mech

Large deviation analysis of a simple information engine

Information thermodynamics provides a framework for studying the effect of feedback loops on entropy production. It has enabled the understanding of novel thermodynamic systems such as the information engine which can be seen as a modern version of `Maxwell's Daemon', whereby the feedback controller is acting as a Daemon, processing information gained about the system in order to do work. Here, we analyse a simple model of such an engine and provide a detailed analysis of its fluctuation properties, including the large deviations of information. We find an exact expression of the large deviation rate function for a two-site version of our model, and provide an approximate analysis for larger systems which is corroborated by simulation data.

cond-mat.stat-mech