roy shea @ ucla

16
LIS is More: Improved Diagnostic Logging in Sensor Networks with Log Instrumentation Specifications Roy Shea @ UCLA

Upload: saddam

Post on 24-Feb-2016

44 views

Category:

Documents


0 download

DESCRIPTION

LIS is More: Improved Diagnostic Logging in Sensor Networks with Log Instrumentation Specifications. Roy Shea @ UCLA. What is LIS. A logging framework that respects the bandwidth limitations of the distributed embedded domain. Savings From Bit Aligned Logging. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Roy Shea @ UCLA

LIS is More: Improved Diagnostic Logging in Sensor Networks

with Log Instrumentation Specifications

Roy Shea @ UCLA

Page 2: Roy Shea @ UCLA

What is LIS

• A logging framework that respects the bandwidth limitations of the distributed embedded domain

Page 3: Roy Shea @ UCLA

Savings From Bit Aligned Logging

Page 4: Roy Shea @ UCLA

Standard Identifier Assignment

Page 5: Roy Shea @ UCLA

Real Programs Have Rich Structure

Page 6: Roy Shea @ UCLA

Local Token Scoping for Short Identifiers

Page 7: Roy Shea @ UCLA

Architecture of LIS

header read_done globalcontrolflow read_done local if send_busyfooter read_done point

Page 8: Roy Shea @ UCLA

Example

Page 9: Roy Shea @ UCLA

Example

Page 10: Roy Shea @ UCLA

Example

Page 11: Roy Shea @ UCLA

Example

Page 12: Roy Shea @ UCLA

Example

Page 13: Roy Shea @ UCLA

Number of Tokens Affects Bandwidth

Page 14: Roy Shea @ UCLA

Limitations

• Current LIS implementation bases scopes on function boundaries

• Not compress program data

• Care must be taken to guarantee parsable logs– Parsing depends on knowing the local context

Page 15: Roy Shea @ UCLA

Conclusions

• Established technique of bit aligning data used to reduce log bandwidth

• Local token scoping can produce consistently small token identifier encodings

• LIS automates the difficulties of token scoping and provides a general interface for describing logging tasks

Page 16: Roy Shea @ UCLA

Discussion