OWB Performance measurement

  1. Introduction
  2. Benchmark tools
    1. Memory
      1. mem_usage
      2. Linux /proc interface
    2. CPU
      1. sysstat
  3. Test procedure
  4. Results

Introduction

This page describes how to benchmark OWB performance. Of course, that is not an universal method. It is just a method. So it probably have some drawbacks and/or some lacks.
The first part will describes tools used to benchmark performance like memory consumption or CPU load.
The following section describes the procedure used to measure performance.
Finally the last part reports on results.

Benchmark tools

http://www.sand-labs.org/owb/wiki/PerfOwb To complete (intro about embedded and limited resources).

Memory

mem_usage

A very interesting script is mem_usage which is a perl script which can be found here. This script take advantage of linux /proc/<PID>/maps file to compute some values like mapped executable size or data size.

Linux /proc interface

Many informations about running processes can be retrieved through /proc/ filesystem. In many situation the problem is to know which file to look at and how information are formatted in the file.

CPU

To be done.

sysstat

to test. sysstat homepage

Test procedure

Results