EP1019826A1 - Procede et systeme pour la surveillance en continu de logiciels - Google Patents
Procede et systeme pour la surveillance en continu de logicielsInfo
- Publication number
- EP1019826A1 EP1019826A1 EP97942716A EP97942716A EP1019826A1 EP 1019826 A1 EP1019826 A1 EP 1019826A1 EP 97942716 A EP97942716 A EP 97942716A EP 97942716 A EP97942716 A EP 97942716A EP 1019826 A1 EP1019826 A1 EP 1019826A1
- Authority
- EP
- European Patent Office
- Prior art keywords
- monitoring
- computer program
- functional
- program
- functional computer
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
- G06F11/3466—Performance evaluation by tracing or monitoring
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
- G06F11/0706—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
- G06F11/0715—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in a system implementing multitasking
Definitions
- This invention relates to a method of and system for continuously monitoring the performance of computer programs and software systems, and particularly throughout the life-cycle of the program or software system.
- a method of continuously monitoring the performance or attributes of computer software comprising the steps of: compiling a functional computer program for execution in a target computer environment; specifying the attributes of the functional computer program to be monitored at the time the functional computer program is compiled and simultaneously compiling a monitoring computer program for parallel execution in said target computer environment; said monitoring computer program being adapted to extract data continuously from said functional computer program when said programs are executed in parallel; and analyzing said data to obtain information about the performance or other attributes of said functional computer program.
- the functional and monitoring computer programs may be recorded on any convenient memory or data storage means.
- data storage means including functional computer program and a monitoring computer program for monitoring the performance or other attributes of said functional computer program, said functional computer program being arranged to perform a functional application when executed in a target computer environment, wherein attributes of the functional computer program to be monitored are specified when the functional computer program is compiled, said monitoring computer program being compiled at the same time the functional computer program is compiled, and said monitoring computer program is adapted to extract data continuously from said functional computer program when the computer programs are executed simultaneously in parallel.
- the functional and monitoring computer programs may be executed in a common processor unit, it is preferred that a separate monitoring processor be provided for executing the monitoring program in parallel to the functional computer program.
- the functional computer program and the monitoring program are preferably compiled so that each process which is spawned in the functional computer program has its own monitoring process which is spawned in the monitoring program.
- Each process of the functional computer program preferably has its own address space in order to minimize intrusion by the monitoring program.
- some intrusive code, automatically supplied during compilation may be necessary to ensure that all monitored information is passed transparently between the functional and monitoring processes.
- the functional computer program and the monitoring computer program are compiled to include links between the monitoring program and the functional computer program to enable data to be extracted from the functional computer program by the monitoring program.
- a wide variety of aspects of performance or attributes of functional computer programs may be monitored by the method of the present invention. These include: current execution costs; exceptions in the functional program; the actual time spent in a function; and the use of external resources.
- the monitoring process executed by the monitoring program is preferably arranged to rendezvous with the functional computer program on termination of a functional process performed by the functional computer program. This is particularly desirable if the monitoring process is collecting timing information, e.g. the actual time spent in a function.
- the monitoring computer program may also be arranged to terminate a process of the functional computer program upon detection of a fatal error in said process by the monitoring computer program.
- a system for continuously monitoring the performance or attributes of a functional computer program comprising: compilation means arranged to compile the functional computer program and a monitoring computer program from a source language into a computer code, the monitoring computer program being arranged to monitor attributes of the functional computer program specified at the time the functional computer program is compiled; execution means arranged to execute the monitoring computer program simultaneously in parallel with the functional computer program, wherein the monitoring program is arranged to interact with the functional computer program to extract data continuously from the functional computer program when said programs are executed simultaneously; and analyzing means for analyzing the data extracted from the functional computer program to continuously monitor the specified attributes of the functional computer program.
- the execution means may comprise a common processor unit for executing the functional and monitoring computer programs simultaneously in parallel.
- the execution means preferably includes an application processor for executing the functional computer program (the "main application") and a monitoring processor for simultaneously executing the monitoring program in parallel.
- a communications link preferably a high speed communications bus, is conveniently provided between the main application processor and the monitoring processor to enable data to be extracted from the main application by the monitoring program.
- the compilation means for compiling the functional and monitoring computer programs may comprise a single compiler. Alternatively, separate compilers may be used to compile the functional and monitoring computer programs. Where separate processors are used, a multiprocessor loader may be used to load the functional and monitoring programs into the main application processor and the monitoring processor respectively.
- the monitoring processor When the monitoring processor is loaded with the monitoring program, it preferably includes a monitoring means for receiving and processing data from the main application.
- the monitoring processor may also include memory means for storing statistical data about the main application which is monitored, and the analyzing means may comprise a log module which is adapted to process the data received from the main application by the monitoring means and statistical data from the memory means to produce information about the performance and attributes of the main application.
- the system may conveniently also include display means, preferably one or more graphic displays, for displaying the information about the performance and attributes of the functional computer program produced by the analyzing means.
- the system of the present invention is thus able to monitor the performance, quality and attributes of a functional computer program while it is being executed.
- the system is built around the ability to provide continuous process monitors when compiling the computer code, with the process monitors being written in the same source language.
- the source language chosen should be able to support multiple processes and process monitoring.
- suitable languages available one of which is Erlang, a source language developed by Telefonaktiebolaget L M Ericsson. Erlang is particularly suitable for use in the present invention because its features include timing support, multiple process support, dynamic module loading, a built in error handling mechanism and real- time garbage collection.
- FIG. 1 is a block diagram of a continuous monitoring computer system in accordance with the invention.
- FIG. 1 there is shown a continuous monitoring computer system comprising first and second compilers 10 and 20, a main application processor 30, a monitoring processor 40 and a multiprocessor loader 50 for the main application processor 30 and the monitoring processor 40.
- Each compiler 10, 20 is a modified Erlang compiler which is arranged to compile a computer program in computer code (C code) from a source code written in Erlang, a programming language developed by Telefonaktiebolaget L.M. Ericsson. It will, however, be appreciated that other programming languages may be used instead of Erlang in the present invention.
- the first compiler 10 is arranged to compile a functional computer program, the "main application” from a standard application process 12.
- the second compiler 20 is arranged to compile a monitoring program from an auto build monitoring process 22 using predetermined monitoring attributes or parameters 21 specified at the time the functional computer program is compiled.
- the main application and the monitoring program are arranged to be run in parallel simultaneously by the main application processor 30 and by the monitoring processor 40.
- the main application processor 30 and the monitoring processor 40 communicate with each other by a high speed communications link or bus 25 which enables the monitoring processor 40 to extract data continuously from the main application processor 30 as the functional computer program is executed by the main application processor 30.
- the main application processor 30 and the monitoring processor 40 may utilize a shared memory to simulate the communications link between the processors.
- the main application processor 30 executes the main application 32 which is programmed during compilation by compiler 10 to contain links 14 to the monitoring program.
- the monitoring program is also programmed during compilation by the compiler 20 to contain links 24 to the main application program to be monitored.
- the application processor 30 loaded with the main application 32 includes at least one spawn monitor 34 which, when the main application process is being run, passes data about the main application via the high speed bus 25 to the monitoring processor 40.
- the monitoring processor 40 loaded with the monitoring program includes a monitoring module 42 for receiving and processing data from the spawn monitor 34 of the main application 32, a log processor 44, and a statistics processor 46 which includes memory means for storing statistical data about the main application process which is monitored.
- the log processor 44 of the monitoring processor 40 is adapted to process data about the main application received by the monitoring module 42 and statistical data received from the statistics processor 46. In this manner, the log processor 44 can continuously examine and analyze data extracted from the main application process while it is being run by the main application processor 30 to produce information about the performance and attributes of the functional computer process representing the main application.
- the log processor 44 is also able to communicate via the high speed bus 25 with a rendezvous section 36 of the main application 32 when a process in the main application is terminated so that the time taken to run the process in the main application can be monitored, and that any error information can be passed to the main application. If a fatal error in a process of the main application is detected by the monitoring processor 40, the process being monitored can be terminated by the log processor 44 without any change to the system state, and recovery initiated as if the process had not commenced.
- the log processor 44 is in communication with one or more display means 60, preferably in the form of a graphical display which can display a graphical analysis about the performance or attributes of the main application process.
- the monitoring processor 40 may be programmed to include a wide variety of different continuous process monitors for continuously monitoring different aspects of the performance or attributes of the main application process.
- continuous process monitors which may be included in the monitoring processor are: a real-time profiler which functions as a statistical sampler of a program counter of the main application processor to keep a decaying record of current execution costs; an exception monitor which monitors exceptions throughout the system (down to the process level); an actual time monitor which measures the actual time spent in a process (it may also keep a record of other system activity); and an external resource access monitor 44 which can monitor the use of external resources such as disk channel, of each process.
- Various other continuous process monitors may be provided, such as system specific monitors which can present data collected against the system specifications over a variety of time frames enabling the user to examine trends in the system. These include reliability and maintainability monitors.
- system specific monitors which can present data collected against the system specifications over a variety of time frames enabling the user to examine trends in the system.
- reliability and maintainability monitors include reliability and maintainability monitors.
- the system of the present invention for providing continuous process monitors is built around the ability to provide system monitors automatically when compiling code. This provides a system similar to the provision of profiling in existing compilers except that the monitors will be written in the same source language.
- a primary feature of Erlang is its management of multiple processes as a fundamental part of the system.
- the feature is critical to the construction of a monitoring Erlang compiler and to plan for this capability in the construction phase .
- the monitor is designed for a multiple processor environment although in a prototype system Unix process support (sockets and Unix communications between machines: internet sockets) is utilized to support multiple processes. To do this each process is linked into an Erlang runtime library which provides this communication support. Processes communicate via sockets in (or internet ports) with their Unix pid as the socket identifier. This (with the machine id) is the identifier that gets created when a process is spawned.
- the Erlang runtime library also contains other support code for Erlang internals such as list and tuple management. The actual compilation takes place in a number of phases:
- Lexing/parsing - this phase will produce an abstract syntax tree.
- optimization break the tree into basic blocks for local expression optimization. Try 'global' (within a module) optimization; also do (importantly) last call optimization.
- the compiler includes code in the functional process to spawn the hand coded monitoring process automatically using the existing Erlang system for process creation and control. Monitors are intended to be processes that simply collect information. These monitoring processes can then pass data along to other processes responsible for the analysis and presentation of that data. Since monitors are written in the source language (Erlang) the process communication mechanisms in Erlang can be exploited to forward this information to other processes which are responsible for displaying and analyzing the collected information.
- the compiler which compiles from Erlang to C-code can support the following features: dynamic loading, run-time garbage collection and multiple process support (over multiple machines).
- the monitoring process may be necessary for the monitoring process and the functional process to rendezvous on the termination of the functional process. This is particularly the case if the monitoring process is collecting timing information. This rendezvous can create a performance overhead in cases where the execution of the monitoring process is held up for some reason. It is intended that the monitoring processes be small and straight forward processes which contain little functionality other than data gathering mechanisms. By virtue of the monitoring process being simple and small it is predicted that these processes will generally be ready to rendezvous with the functional process when the functional process is ready to terminate.
- the present invention therefore provides an effective method and system for continuously monitoring the performance or other attributes of a functional computer program which does not adversely affect the execution of the functional computer program to a significant extent.
- specifying the attributes to be monitored and compiling the monitoring program at the time the functional computer program is compiled allows the specified attributes to be monitored throughout the life-cycle of the functional computer program.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Debugging And Monitoring (AREA)
Abstract
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
AUPO292096 | 1996-10-11 | ||
AUPO2920A AUPO292096A0 (en) | 1996-10-11 | 1996-10-11 | A method and system for continuous software monitoring |
PCT/AU1997/000678 WO1998016882A1 (fr) | 1996-10-11 | 1997-10-09 | Procede et systeme pour la surveillance en continu de logiciels |
Publications (2)
Publication Number | Publication Date |
---|---|
EP1019826A1 true EP1019826A1 (fr) | 2000-07-19 |
EP1019826A4 EP1019826A4 (fr) | 2004-07-21 |
Family
ID=3797229
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
EP97942716A Ceased EP1019826A4 (fr) | 1996-10-11 | 1997-10-09 | Procede et systeme pour la surveillance en continu de logiciels |
Country Status (4)
Country | Link |
---|---|
EP (1) | EP1019826A4 (fr) |
AU (1) | AUPO292096A0 (fr) |
TW (1) | TW365665B (fr) |
WO (1) | WO1998016882A1 (fr) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106294169A (zh) * | 2016-08-17 | 2017-01-04 | 华中科技大学 | 一种基于符号执行虚拟机的数据竞争检测与重放方法 |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6266654B1 (en) * | 1992-12-15 | 2001-07-24 | Softlock.Com, Inc. | Method for tracking software lineage |
US7209901B2 (en) | 1992-12-15 | 2007-04-24 | Sl Patent Holdings Llc C/O Aol Time Warner | Method for selling, protecting, and redistributing digital goods |
US7089212B2 (en) | 1992-12-15 | 2006-08-08 | Sl Patent Holdings Llc | System and method for controlling access to protected information |
US6374369B1 (en) | 1999-05-21 | 2002-04-16 | Philips Electronics North America Corporation | Stochastic performance analysis method and apparatus therefor |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5539907A (en) * | 1994-03-01 | 1996-07-23 | Digital Equipment Corporation | System for monitoring computer system performance |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2236202B (en) * | 1989-09-21 | 1993-11-03 | Sun Microsystems Inc | Method and apparatus for extracting process performance information from a computer over a network |
US5313616A (en) * | 1990-09-18 | 1994-05-17 | 88Open Consortium, Ltd. | Method for analyzing calls of application program by inserting monitoring routines into the executable version and redirecting calls to the monitoring routines |
DE69409445D1 (de) * | 1993-07-27 | 1998-05-14 | Ibm | Prozessüberwachung in einem Mehrfachverarbeitungsanbieter |
JPH10500787A (ja) * | 1994-03-14 | 1998-01-20 | グリーン・ヒルズ・ソフトウェア・インコーポレーテッド | 高レベル言語プログラムの時間及び試験の最適化 |
US5528753A (en) * | 1994-06-30 | 1996-06-18 | International Business Machines Corporation | System and method for enabling stripped object software monitoring in a computer system |
US5809303A (en) * | 1995-10-18 | 1998-09-15 | Sun Microsystems, Inc. | Device I/O monitoring mechanism for a computer operating system |
-
1996
- 1996-10-11 AU AUPO2920A patent/AUPO292096A0/en not_active Abandoned
-
1997
- 1997-10-09 EP EP97942716A patent/EP1019826A4/fr not_active Ceased
- 1997-10-09 WO PCT/AU1997/000678 patent/WO1998016882A1/fr active Application Filing
- 1997-10-09 TW TW086114977A patent/TW365665B/zh active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5539907A (en) * | 1994-03-01 | 1996-07-23 | Digital Equipment Corporation | System for monitoring computer system performance |
Non-Patent Citations (5)
Title |
---|
ARAL, GERTNER: "Non Intrusive and Interactive Profiling in Parasight" ACM PPEALS CONFERENCE, 1988, pages 21-30, XP002279482 * |
JONATHAN ROSENBERG: "How debuggers work : algorithms, data structures, and architecture" 1996, JOHN WILEY &SONS , NEW YORK, US * page 95, line 1 - page 106, last line * * page 195, line 19 - page 196, line 15 * * |
MICHAEL DWYER: "Process Placement in Distributed Multiprocessor Systems : an Investigation using Erlang" DEPARTMENT OF COMPUTER SCIENCE, RMIT UNIVERSITY, 19 November 1998 (1998-11-19), pages 1-37, XP002280348 * |
See also references of WO9816882A1 * |
SOSIC R. : "Dynascope A Tool for Program Directing" ACM, - 1992 pages 12-21, XP002279483 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106294169A (zh) * | 2016-08-17 | 2017-01-04 | 华中科技大学 | 一种基于符号执行虚拟机的数据竞争检测与重放方法 |
CN106294169B (zh) * | 2016-08-17 | 2018-08-03 | 华中科技大学 | 一种基于符号执行虚拟机的数据竞争检测与重放方法 |
Also Published As
Publication number | Publication date |
---|---|
AUPO292096A0 (en) | 1996-11-07 |
EP1019826A4 (fr) | 2004-07-21 |
TW365665B (en) | 1999-08-01 |
WO1998016882A1 (fr) | 1998-04-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5274815A (en) | Dynamic instruction modifying controller and operation method | |
US8108839B2 (en) | Method and apparatus for tracing execution of computer programming code using dynamic trace enablement | |
Yan et al. | Performance measurement, visualization and modeling of parallel and distributed programs using the AIMS toolkit | |
US6078744A (en) | Method and apparatus for improving compiler performance during subsequent compilations of a source program | |
Benedict et al. | Periscope: An online-based distributed performance analysis tool | |
US5960198A (en) | Software profiler with runtime control to enable and disable instrumented executable | |
US7890941B1 (en) | Binary profile instrumentation framework | |
US6374369B1 (en) | Stochastic performance analysis method and apparatus therefor | |
Kacsuk et al. | A graphical development and debugging environment for parallel programs | |
US5911073A (en) | Method and apparatus for dynamic process monitoring through an ancillary control code system | |
US6289505B1 (en) | Method, apparatus and computer programmed product for binary re-optimization using a high level language compiler | |
CN101122880A (zh) | 内嵌调试器的嵌入式系统及嵌入式系统调试方法 | |
WO1998016882A1 (fr) | Procede et systeme pour la surveillance en continu de logiciels | |
Wismüller et al. | Interactive debugging and performance analysis of massively parallel applications | |
AU725899B2 (en) | A method and system for continuous software monitoring | |
Cheong et al. | Chief: A parallel simulation environment for parallel systems | |
Oberhuber et al. | DETOP-an interactive debugger for PowerPC based multicomputers | |
Appelbe et al. | Integrating tools for debugging and developing multitasking programs | |
Shende et al. | Instrumentation and measurement strategies for flexible and portable empirical performance evaluation | |
CN112162921A (zh) | 一种工业自动化测试与控制系统 | |
Badouel et al. | Svmview: a performance tuning tool for dsm-based parallel computers | |
Wang et al. | CAT: Context Aware Tracing for Rust Asynchronous Programs | |
Barbie | Reporting of performance tests in a continuous integration environment | |
Ludwig et al. | OCM—an OMIS compliant monitoring system | |
Nagamatsu | Runtime software reorganization by traditional OS features |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PUAI | Public reference made under article 153(3) epc to a published international application that has entered the european phase |
Free format text: ORIGINAL CODE: 0009012 |
|
17P | Request for examination filed |
Effective date: 19990504 |
|
AK | Designated contracting states |
Kind code of ref document: A1 Designated state(s): DE FR GB SE |
|
RAP1 | Party data changed (applicant data changed or rights of an application transferred) |
Owner name: ROYAL MELBOURNE INSTITUTE OF TECHNOLOGY |
|
RIC1 | Information provided on ipc code assigned before grant |
Ipc: 7G 06F 11/36 B Ipc: 7G 06F 11/30 A |
|
A4 | Supplementary search report drawn up and despatched |
Effective date: 20040607 |
|
17Q | First examination report despatched |
Effective date: 20050329 |
|
RAP1 | Party data changed (applicant data changed or rights of an application transferred) |
Owner name: JIFMAR PTY LTD |
|
17Q | First examination report despatched |
Effective date: 20050329 |
|
STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: THE APPLICATION HAS BEEN REFUSED |
|
18R | Application refused |
Effective date: 20081209 |