- Browse by Subject
Browsing by Subject "dynamic binary instrumentation"
Now showing 1 - 3 of 3
Results Per Page
Sort Options
Item Realtime Dynamic Binary Instrumentation(Office of the Vice Chancellor for Research, 2016-04-08) Du, Mike; Hill, James H.Abstract: We present a novel technique and framework for decreasing instrumentation overhead in software systems that utilize dynamic binary instrumentation. First, we introduce a lightweight networking framework combined with an easily extensible BSON implementation as a heavy analysis routine replacement. Secondly, we bind instrumentation and analysis threads to non-overlapping cpu cores---allowing analysis threads to execute faster. Lastly, we utilize a lock-free buffering system to bridge the gap between instrumentation and analysis threads, and minimize the overhead to the instrumentation threads. Using this combination, we managed to write a dynamic binary instrumentation tool (DBI) in Pin using Pin++ that is 1100% faster than its counterpart DBI tool with no buffering, and less than 500% slower than a similar tool with no analysis routine.Item Using Non-Intrusive Instrumentation to Analyze any Distributed Middleware in Real-Time(2021-05) Lui, Nyalia; Hill, James H.; Raje, Rajeev; Song, FengguangDynamic Binary Instrumentation (DBI) is one way to monitor a distributed system in real-time without modifying source code. Previous work has shown it is possible to instrument distributed systems using standards-based distributed middleware. Existing work, however, only applies to a single middleware, such as CORBA. This thesis therefore presents a tool named the Standards-based Distributed Middleware Monitor (SDMM), which generalizes two modern standards-based distributed middleware, the Data Distribution Service (DDS) and gRemote Procedure Call (gRPC). SDMM uses DBI to extract values and other data relevant to monitoring a distributed system in real-time. Using dynamic instrumentation allows SDMM to capture information without a priori knowledge of the distributed system under instrumentation. We applied SDMM to systems created with two DDS vendors, RTI Connext DDS and OpenDDS, as well as gRPC which is a complete remote procedure call framework. Our results show that the data collection process contributes to less than 2% of the run-time overhead in all test cases.Item Using Reservoir Sampling and Parallelization to Improve Dynamic Binary Instrumentation(IEEE, 2022-05-16) Upp, Brandon; Meruga, Sai Pavan Kumar; Hill, James H.; Human-Centered Computing, School of Informatics and ComputingThis paper investigates two aspects of using dynamic binary instrumentation for real-time instrumentation of a distributed software systems. First, this paper investigates techniques for achieving different levels of visibility (i.e., ensuring all parts of a system are represented, or visible, in final results) into a software system without compromising software system performance. Secondly, this paper investigates how using reservoir sampling can be used to further reduce instrumentation overhead. The results of the research show that reservoir sampling can be used to reduce instrumentation overhead when compared to regular sampling methods like Constant, Percentage and Exhaustive sampling while also providing the desired system visibility.