LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-07-2011, 01:39 PM   #1
markseger
Member
 
Registered: Jul 2003
Posts: 244

Rep: Reputation: 26
Trying to understand SAR data


Once and awhile I take a dip with SAR as a refresher and I have to admit to being stumped by some of the disk data. I'm running the command "sar -b -d 1 1000" so I can look at the summary and details at the same time.

From what I'm seeing on my system, it looks like the summary 'tps' field is simply the sum of the 'tps' fields for all the partitions. The only thing is the writes to dev8-0 represents the whole disk and dev8-2 is partition 2. further, dev253-1 is the device mapper and dev8 is mapped onto it, so it looks like the same thing is being counted 3 time. This also seems true for ALL disk stats. In collectl I don't bother with partition stats and NEVER include DM stats in the totals. I'm just trying to confirm if I'm indeed interpreting the sar output correctly and/or what the logic is for doing it this way.

I also just noticed that when running a load generator, the write/sec to the partition are reported at about 100/sec, but the writes to the device mapper are being reported as 12K/sec and when they are added together totally distorts the summary stats. Very confusing.

Thoughts? Comments?

-mark
 
Old 01-08-2011, 10:44 AM   #2
markseger
Member
 
Registered: Jul 2003
Posts: 244

Original Poster
Rep: Reputation: 26
Isn't anyone mystified by this? I know a lot of people use sar, but doesn't anyone ever look at the data?
I did send a note to the author of SAR asking him the same thing, but still waiting to hear back.
-mark
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
top, ps, sar which gives accurate data for CPU utilization makam.sreekanth Linux - Newbie 6 03-20-2009 09:39 AM
Trying to understand fields in sar -v markseger Linux - General 0 05-05-2008 06:54 AM
Conflicting data from sar & top clindo Red Hat 0 05-15-2007 09:20 AM
LXer: Visualize sar data with kSar LXer Syndicated Linux News 0 03-01-2007 05:46 PM
Sar data via web browser Mike_the_Man Linux - Software 1 10-20-2006 10:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration