Sponsored Content
Operating Systems Linux Doubt about programs for testing Linux performance Post 302328900 by MarkSeger on Thursday 25th of June 2009 12:00:25 PM
Old 06-25-2009
I think one of the biggest mistakes people make when testing is to time the test from start to finish and not pay attention to anything in between. For example, I always use netperf to measure network performance, or dt to measure disk as well as others, BUT I always run collectl in another window to see what's happening to my cpu, disk, network, memory and other subsystems while the test is in process. If you get an bad end-to-end number, and the intermediate numbers are very erratic it just may be a system or network switch is misconfigured. Looking at the elapsed time or average load will never give you a true picture.

In fact, if you run collectl with a monitoring interval of 0.1 seconds or even less which doing disk tests you can actually watch the cache fill as the tests run faster at first.

-mark
 

7 More Discussions You Might Find Interesting

1. AIX

Performance testing on AIX

I'm doing performance testing for one application which works on AIX. But I don't know which performance parameters of memory need to be collected. Now, I just know very few: 1. page in 2. page out 3. fre They are all collected by "vmstat" command. I want to know, except for above... (2 Replies)
Discussion started by: adasong
2 Replies

2. Web Development

Suggested tool / approach for performance testing

What is a good approach for a performance testing tool suite for web applications? I am specifically interested in tools that execute a certain set of tasks well as opposed to tuning high traffic sites. In other words, a profiler would be a good idea to have, although I understand these tools are... (4 Replies)
Discussion started by: figaro
4 Replies

3. IP Networking

using multiple iperf instances for performance testing

Hello all! I have the need to performance-test a MPLS switch, I was thinking of using iperf to accomplish the task. I had in mind using a linux box with a Gigabit interface connected to a L2 switch on a 802.1Q trunk. In the interface I would create 20 VLANs with 20 different IP subnets. ... (0 Replies)
Discussion started by: ppucci
0 Replies

4. Emergency UNIX and Linux Support

using multiple iperf instances for performance testing

Hello all! I have the need to performance-test a MPLS switch, I was thinking of using iperf to accomplish the task. I had in mind using a linux box with a Gigabit interface connected to a L2 switch on a 802.1Q trunk. In the interface I would create 20 VLANs with 20 different IP subnets. ... (2 Replies)
Discussion started by: ppucci
2 Replies

5. UNIX for Dummies Questions & Answers

Unix Performance testing - training content

Hi Everyone, My company is involved in performing performance testing and now they want to perform couple of training related with executing those tests on the servers based on Unix sytems. And I have to provide them draft of the content for those trainings. I think this kind of training... (2 Replies)
Discussion started by: Bartuss
2 Replies

6. Shell Programming and Scripting

Help with extract application logs through shell script in performance testing

Hi Experts, I am new to shell.How to extract logs (Web,APP,Database) using shell in performance testing? Need for webserver logs,app server logs and d/b logs code. Thanks in advance Sree (3 Replies)
Discussion started by: sree vasu
3 Replies

7. AIX

AIX Memory and Performance Doubt

Hi All, I have 5 Servers ( 3 DataStages Server and 2 Database Servers running HACMP and DPF). My question is 1 of the Main Core DataStage Server has few unsolved issues that I will post the question as following 1. Why most of time the File Cache in the memory seems constantly... (3 Replies)
Discussion started by: ckwan
3 Replies
iotop(1m)							   USER COMMANDS							 iotop(1m)

NAME
iotop - display top disk I/O events by process. Uses DTrace. SYNOPSIS
iotop [-C] [-D|-o|-P] [-j|-Z] [-d device] [-f filename] [-m mount_point] [-t top] [interval [count]] DESCRIPTION
iotop tracks disk I/O by process, and prints a summary report that is refreshed every interval. This is measuring disk events that have made it past system caches. Since this uses DTrace, only users with root privileges can run this command. OPTIONS
-C don't clear the screen -D print delta times - elapsed, us -j print project ID -o print disk delta times, us -P print %I/O (disk delta times) -Z print zone ID -d device instance name to snoop (eg, dad0) -f filename full pathname of file to snoop -m mount_point mountpoint for filesystem to snoop -t top print top number only EXAMPLES
Default output, print summary every 5 seconds # iotop One second samples, # iotop 1 print %I/O (time based), # iotop -P Snoop events on the root filesystem only, # iotop -m / Print top 20 lines only, # iotop -t 20 Print 12 x 5 second samples, scrolling, # iotop -C 5 12 FIELDS
UID user ID PID process ID PPID parent process ID PROJ project ID ZONE zone ID CMD command name for the process DEVICE device name MAJ device major number MIN device minor number D direction, Read or Write BYTES total size of operations, bytes ELAPSED total elapsed times from request to completion, us (this is the elapsed time from the disk request (strategy) to the disk completion (iodone)) DISKTIME total times for disk to complete request, us (this is the time for the disk to complete that event since it's last event (time between iodones), or, the time to the strategy if the disk had been idle) %I/O percent disk I/O, based on time (DISKTIME) load 1 minute load average disk_r total disk read Kb for sample disk_w total disk write Kb for sample DOCUMENTATION
See the DTraceToolkit for further documentation under the Docs directory. The DTraceToolkit docs may include full worked examples with ver- bose descriptions explaining the output. EXIT
iotop will run forever until Ctrl-C is hit, or the specified interval is reached. AUTHOR
Brendan Gregg [Sydney, Australia] SEE ALSO
iosnoop(1M), dtrace(1M) version 0.75 Oct 25, 2005 iotop(1m)
All times are GMT -4. The time now is 09:38 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy