How to measure disk IO 5.0.7? (sar, return values ​​are not valid)


 
Thread Tools Search this Thread
Operating Systems SCO How to measure disk IO 5.0.7? (sar, return values ​​are not valid)
# 1  
Old 06-28-2014
How to measure disk IO 5.0.7? (sar, return values ​​are not valid)

Hello
I am analyzing disk performance OSR5.0.7 running inside VirtualBox.
GUEST: osr5.0.7; 1GB ram; raw disk
HOST: SLES11SP3, 4GB ram; 1 disc SATA2-7200rpm

But I'm not sure how to do it right (the values ​​returned by sar not match the values ​​of the physical machine)

The attributes analyzed are:
blks/s: if not int or out, but converted to MB/s should be: blks/s * 512 /1024 /1024
bread/s: I understand you are the KB/s read from the disk that are not in the cache, with this iconclude that it is the ratio of the hard disk read.
bwrit/s: I understand you are the KB/s written when a flush is done, so i conclude that it is the ratio of the hard disk write.


To measure the performance I use the command:
time sh -c "dd if=/dev/zero of=pruebaHD-4254.dd count=131072 bs=8k ibs=8k conv=sync && sync"
Generating a file the size of the ram and then calculate the MB/s based on the value returned by time (repeat the process with different sizes of bs, then iterate 3 times)


With that understanding, when I see I have the values:
blks/s : max: 86.98 MB/s avg: 16.77 MB/s
bread/s : max: 3.10 MB/s avg: 241.66 KB/s
bwrit/s : max: 86.98 MB/s avg: 16.12 MB/s


According to "time dd" achievement Min: 20MB/s Max: 43MB/s Avg: 30MB/s.
According zabbix host 36MB/s

Since the values ​​are not similar, they conclude that something is wrong in my analysis.
I am misunderstanding sar values​​?
It is a misconception and I'm looking at it all wrong?
How I can know the ratio I / O disk presicion in OSR5.0.7?

thanks
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

What is the relation between values from TOP and SAR commands?

Hi, Please have a look at the look at the below top and sar commands. top -bn1 | grep load | awk '{printf "CPU Load: %.2f\n", $(NF-2)}' CPU Load: 0.52 sar -u 1 1 Linux 3.10.0-514.16.1.el7.x86_64 (mymac) 06/01/2017 _x86_64_ (2 CPU) 03:27:40 PM CPU %user %nice ... (1 Reply)
Discussion started by: mohtashims
1 Replies

2. UNIX for Advanced & Expert Users

Disk /dev/sdb doesn't contain a valid partition table

Hello, I have rebooted the RHEL VM but after rebooting the vm it not showing all the partition mounted on OS level, if i'll execute the fdisk -l command, then i'm able to see the same disk. below is the fdisk output : # fdisk -l Disk /dev/sda: 107.6 GB, 107639996416 bytes 255 heads, 63... (1 Reply)
Discussion started by: purushottamaher
1 Replies

3. Shell Programming and Scripting

[Solved] Extract information according to values ​​defined

Gents, Here again,, I have a problem to get a extract of some values. Every 2 rows I got a new number ( columns 12-25 ), I mean the values are repeated every 2 rows can be 3 times or 4 sometimes,, to identify that there is duplicate values a index value are write in colunm 26 ( increase 1,2,... (4 Replies)
Discussion started by: jiam912
4 Replies

4. Shell Programming and Scripting

Query the table and return values to shell script and search result values from another files.

Hi, I need a shell script, which would search the result values from another files. 1)execute " select column1 from table_name" query on the table. 2)Based on the result, need to be grep from .wft files. could please explain about this.Below is the way i am using. #!/bin/sh... (4 Replies)
Discussion started by: Rami Reddy
4 Replies

5. Shell Programming and Scripting

Can $? return multiple values?

Hi, I have a script which does something like the below: execute_some_script.sh $arg1 $arg2 `exec-some-cmd` if then; do something else do something else fi However, during some cases, there is an error saying: line xxx: [: too many arguments at the line number which has... (5 Replies)
Discussion started by: laloo
5 Replies

6. Shell Programming and Scripting

Help: return values from awk

Hi. I have a script like this: nawk 'BEGIN {FS=","; TOT1=0; REJ1=0;} { if($7=="TOTAL") { TOT1=TOT1 +$8} if($7=="REJS") { REJ1=REJ1 +$8} }' FILE_123.dat and... (1 Reply)
Discussion started by: mrodrig
1 Replies

7. UNIX for Dummies Questions & Answers

sar and iostat recommended interval/count values.

Hi, I got a request from a client to check on their server's cpu, memory and disk utilization. Am planning to use the sar and iostat commands to achieve this. The server is used for sending and receiving messages between the stockbrokers, so I was thinking to run the commands during the market... (9 Replies)
Discussion started by: 60doses
9 Replies

8. Shell Programming and Scripting

checking valid values in variable

I'm using the following in my script. if echo $cpuidle |/usr/bin/egrep ; then when I issue this statement it issues the value of the variable back to stdout which ends up in my output file. Is there a better way to write this? I'm using ksh on solaris 9. (3 Replies)
Discussion started by: MizzGail
3 Replies

9. Shell Programming and Scripting

Possible return values for $?

I think the $? returns 0 if the last issued command was successful and otherwise if not. But does anyone knows the value list that may be returned ? (or it is only zero/one ? ) Thanks in advance, Abrahao. (3 Replies)
Discussion started by: 435 Gavea
3 Replies

10. UNIX for Dummies Questions & Answers

exit/return values

Sys: HP-UX 9000 In the calling script how do I 'read' the return/exit value of a called script?:confused: THX in advance for any assistence.:) (1 Reply)
Discussion started by: vslewis
1 Replies
Login or Register to Ask a Question