Browse Prior Art Database

MULTI-MODEL TRACE COLLECTION FOR NETWORKED CLIENTS

IP.com Disclosure Number: IPCOM000013687D
Original Publication Date: 2000-Mar-01
Included in the Prior Art Database: 2003-Jun-18
Document File: 2 page(s) / 38K

Publishing Venue

IBM

Abstract

The Mechanism to gather trace/debug data from a networked (thin) client with limited hardware resources, needs to be different, depending on the type of trace being collected. Consider the following scenarios . The trace could be (1) long, spanning days, with huge collection volumes but relative low collection rates, or (2) it could be a small snapshot of some intense activity, with high collection rates, or

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 52% of the total text.

Page 1 of 2

MULTI-MODEL TRACE COLLECTION FOR NETWORKED CLIENTS

The Mechanism to gather trace/debug data from a networked (thin) client with limited hardware resources, needs to be different, depending on the type of trace being collected.

Consider the following scenarios . The trace could be


(1) long, spanning days, with huge collection volumes but relative low collection rates, or
(2) it could be a small snapshot of some intense activity, with high collection rates, or
(3) Could go on for a long time but the last few moments would be of interest, high data rates and low volume.

The problem is to provide a general enough trace infrastructure, in a hardware resources constrained environment, that is still flexible enough to handle the conflicting needs of the three scenarios presented above.

The Trace Gathering Mechanism (TGM) supports three modes of collection (fill, wrap, continuous) that address the different scenarios.

The invention solves the problem by isolating the mode implementation, in the Trace Gathering Mechanism (TGM) on the client,
(1) from the Instrumentation at one end, with an instrumentation API that has no concept of mode, and
(2) a network (TCPIP) socket at the other with a simple protocol, which is again mode independent

The TGM consists of a temporary trace buffer, which is allocated from system memory, a daemon thread of execution, that monitors the buffer, and a tcpip socket to provide a network connection to another host machine to which the data from the client would be eventually transferred for storage to disk.

The components are used differently depending on the mode

TGM collection modes:

Fill: The simplest and fastest mode, where the data writes fill the buffer linearly, with writes ignored once the bu...