12-07-2010
Benchmarking and performance analyzing in OS
Is/Are there an/some application/applications , package/packages for benchmarking or system performance measuring which are there for almost all Linux releases and distributions?
6 More Discussions You Might Find Interesting
1. UNIX Benchmarks
This is from my server
AMD K6 133MHz
64Mb RAM
4GB HDD (Maxtor - ATA33)
2x10Mb NIC
1Mb Intel Graphic Card
BYTE UNIX Benchmarks (Version 3.11)
System -- FreeBSD sergiu.tarnita.net 5.0-RELEASE FreeBSD 5.0-RELEASE #2: Thu Mar 17 15:49:16 EET 2005... (0 Replies)
Discussion started by: Sergiu-IT
0 Replies
2. HP-UX
Hi everyone,
I'm working on one HP-Unix application which we have to port completely onto Windows xp. Before that I have to compare performance of two different machines. My HP-Unix is running on HP-C8000 workstation and windows XP machine is intel Xeon. Now the problem is to evaluate the... (0 Replies)
Discussion started by: dgatkal
0 Replies
3. Shell Programming and Scripting
hello, i have a lot of pcap files (tcpdump output) that i want to compare.
every tcpdump output has two file, server and client.
what i want to do is:
1. take timestamp, source address, destination address, and packet id from each file (server and client)
2. find the packets sent from... (0 Replies)
Discussion started by: slumpia
0 Replies
4. High Performance Computing
Hi guys. I am trying to test my universities cluster using the Intel Linpack Benchmarking software. Let me say from the get-go that i am a Linux novice, and only recently learnt some Linux commands to have a play around, so if you can please keep the language simple :)
I have run a Linpack test... (17 Replies)
Discussion started by: mercthunder
17 Replies
5. UNIX for Advanced & Expert Users
Good morning,
for the impatient: I have a new backup-server and need to monitor, what the machine can do, what's the best way of finding that out?
I will tell the story right from the beginning, so you have a clue about what's going on:
I have a setup of three machines:
A new... (6 Replies)
Discussion started by: PatrickBaer
6 Replies
6. UNIX for Dummies Questions & Answers
Where i get a open source benchmark program using pthread library for benchmarking our multicore system for the first stage.I need the source code too for that application ,because in later stage we need to develop our application so that i need to study pthread more.
please anybody guide me . (0 Replies)
Discussion started by: sujith4u87
0 Replies
LEARN ABOUT SUNOS
cpc_disable
cpc_enable(3CPC) cpc_enable(3CPC)
NAME
cpc_enable, cpc_disable - enable and disable performance counters
SYNOPSIS
cc [ flag... ] file... -lcpc [ library... ]
#include <libcpc.h>
int cpc_enable(cpc_t *cpc);
int cpc_disable(cpc_t *cpc);
In certain applications, it can be useful to explicitly enable and disable performance counters at different times so that the performance
of a critical algorithm can be examined. The cpc_enable() and cpc_disable() functions can be used to enable and disable the performance
counters without otherwise disturbing the invoking LWP's performance hardware configuration.
Upon successful completion, cpc_enable() and cpc_disable() return 0. Otherwise, they return -1 and set errno to indicate the error.
These functions will fail if:
EAGAIN The associated performance counter context has been invalidated by another process.
EINVAL No performance counter context has been created for the calling LWP.
Example 1: Use cpc_enable and cpc_disable to minimize code needed by application.
In the following example, the cpc_enable() and cpc_disable() functions are used to minimize the amount of code that needs to be added to
the application. The cputrack(1) command can be used in conjunction with these functions to provide event programming, sampling, and
reporting facilities.
If the application is instrumented in this way and then started by cputrack with the nouser flag set in the event specification, counting
of user events will only be enabled around the critical code section of interest. If the program is run normally, no harm will ensue.
int
main(int argc, char *argv[])
{
cpc_t *cpc = cpc_open(CPC_VER_CURRENT);
/* ... application code ... */
if (cpc != NULL)
(void) cpc_enable(cpc);
/* ==> Code to be measured goes here <== */
if (cpc != NULL)
(void) cpc_disable(cpc);
/* ... other application code */
}
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
|MT-Level |Safe |
+-----------------------------+-----------------------------+
cputrack(1), cpc(3CPC), cpc_open(3CPC), libcpc(3LIB), attributes(5)
31 Jan 2005 cpc_enable(3CPC)