Software-Based Online Monitoring of Cache Contents on Platforms without Coherence Fabric
Author(s) -
Adriaan Schmidt,
Oliver Horst
Publication year - 2012
Publication title -
fraunhofer-publica (fraunhofer-gesellschaft)
Language(s) - English
Resource type - Conference proceedings
ISSN - 1530-1362
ISBN - 978-1-4673-4930-7
DOI - 10.1109/apsec.2012.10
Subject(s) - computer science , cache , cache algorithms , cache invalidation , cache coherence , smart cache , software , embedded system , cache coloring , mesi protocol , cache pollution , operating system , computer hardware , cpu cache
In favor of smaller chip areas and associated fabrication costs, designers of embedded multi-core systems on occasion decide not to include cache coherence logic in the hardware design. However, handling all cache coherence exclusively in software is error-prone, and there are presently no tools supporting developers in this task. Thus, we propose a new software testing method, based on online inspection of the cache contents, to pinpoint programming mistakes related to cache handling. This concept helps localizing the causing data symbol even for complicated cache handling errors, e. g. where the causing and manifesting code-location of an error differ. Our solution is a pure software solution and does not require any specialized hardware. We evaluate our approach by using it in a large application, and show that we can detect typical cache-related errors
Accelerating Research
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom
Address
John Eccles HouseRobert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom