linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Measuring RAID-0 CPU load
@ 2004-03-08 17:15 Ian Pilcher
  2004-03-08 17:19 ` Måns Rullgård
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Ian Pilcher @ 2004-03-08 17:15 UTC (permalink / raw)
  To: linux-raid

I need to quantify the additional CPU load that RAID-0 adds (vs. the
boost in I/O performance).  I don't need to do anything fancy;
'dd if=/dev/zero of=/dev/md?" should do the trick, but I'm not sure how
to track the processor utilization during the run.

Any ideas?

Thanks!
-- 
========================================================================
Ian Pilcher                                        i.pilcher@comcast.net
========================================================================


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Measuring RAID-0 CPU load
  2004-03-08 17:15 Measuring RAID-0 CPU load Ian Pilcher
@ 2004-03-08 17:19 ` Måns Rullgård
  2004-03-08 17:23   ` Ian Pilcher
  2004-03-08 17:21 ` Joshua Baker-LePain
  2004-03-08 17:44 ` Paul Clements
  2 siblings, 1 reply; 7+ messages in thread
From: Måns Rullgård @ 2004-03-08 17:19 UTC (permalink / raw)
  To: linux-raid

Ian Pilcher <i.pilcher@comcast.net> writes:

> I need to quantify the additional CPU load that RAID-0 adds (vs. the
> boost in I/O performance).  I don't need to do anything fancy;
> 'dd if=/dev/zero of=/dev/md?" should do the trick, but I'm not sure how
> to track the processor utilization during the run.
>
> Any ideas?

top not good?

-- 
Måns Rullgård
mru@kth.se

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Measuring RAID-0 CPU load
  2004-03-08 17:15 Measuring RAID-0 CPU load Ian Pilcher
  2004-03-08 17:19 ` Måns Rullgård
@ 2004-03-08 17:21 ` Joshua Baker-LePain
  2004-03-08 17:44 ` Paul Clements
  2 siblings, 0 replies; 7+ messages in thread
From: Joshua Baker-LePain @ 2004-03-08 17:21 UTC (permalink / raw)
  To: Ian Pilcher; +Cc: linux-raid

On Mon, 8 Mar 2004 at 11:15am, Ian Pilcher wrote

> I need to quantify the additional CPU load that RAID-0 adds (vs. the
> boost in I/O performance).  I don't need to do anything fancy;
> 'dd if=/dev/zero of=/dev/md?" should do the trick, but I'm not sure how
> to track the processor utilization during the run.

bonnie++ reports CPU usage.

-- 
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Measuring RAID-0 CPU load
  2004-03-08 17:19 ` Måns Rullgård
@ 2004-03-08 17:23   ` Ian Pilcher
  2004-03-08 17:31     ` Guy
  0 siblings, 1 reply; 7+ messages in thread
From: Ian Pilcher @ 2004-03-08 17:23 UTC (permalink / raw)
  To: linux-raid

Måns Rullgård wrote:
> Ian Pilcher <i.pilcher@comcast.net> writes:
> 
> 
>>I need to quantify the additional CPU load that RAID-0 adds (vs. the
>>boost in I/O performance).  I don't need to do anything fancy;
>>'dd if=/dev/zero of=/dev/md?" should do the trick, but I'm not sure how
>>to track the processor utilization during the run.
>>
>>Any ideas?
> 
> 
> top not good?
> 

I'm hoping for something that can report the avergage load during the
entire run.  I don't want to sit there and watch it.

 From a brief look a the man page, top doesn't seem to do this.

-- 
========================================================================
Ian Pilcher                                        i.pilcher@comcast.net
========================================================================

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: Measuring RAID-0 CPU load
  2004-03-08 17:23   ` Ian Pilcher
@ 2004-03-08 17:31     ` Guy
  2004-03-08 17:45       ` Ian Pilcher
  0 siblings, 1 reply; 7+ messages in thread
From: Guy @ 2004-03-08 17:31 UTC (permalink / raw)
  To: 'Ian Pilcher', linux-raid

man sar

-----Original Message-----
From: linux-raid-owner@vger.kernel.org
[mailto:linux-raid-owner@vger.kernel.org] On Behalf Of Ian Pilcher
Sent: Monday, March 08, 2004 12:24 PM
To: linux-raid@vger.kernel.org
Subject: Re: Measuring RAID-0 CPU load

Måns Rullgård wrote:
> Ian Pilcher <i.pilcher@comcast.net> writes:
> 
> 
>>I need to quantify the additional CPU load that RAID-0 adds (vs. the
>>boost in I/O performance).  I don't need to do anything fancy;
>>'dd if=/dev/zero of=/dev/md?" should do the trick, but I'm not sure how
>>to track the processor utilization during the run.
>>
>>Any ideas?
> 
> 
> top not good?
> 

I'm hoping for something that can report the avergage load during the
entire run.  I don't want to sit there and watch it.

 From a brief look a the man page, top doesn't seem to do this.

-- 
========================================================================
Ian Pilcher                                        i.pilcher@comcast.net
========================================================================

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Measuring RAID-0 CPU load
  2004-03-08 17:15 Measuring RAID-0 CPU load Ian Pilcher
  2004-03-08 17:19 ` Måns Rullgård
  2004-03-08 17:21 ` Joshua Baker-LePain
@ 2004-03-08 17:44 ` Paul Clements
  2 siblings, 0 replies; 7+ messages in thread
From: Paul Clements @ 2004-03-08 17:44 UTC (permalink / raw)
  To: Ian Pilcher; +Cc: linux-raid

Ian Pilcher wrote:
> 
> I need to quantify the additional CPU load that RAID-0 adds (vs. the
> boost in I/O performance).  I don't need to do anything fancy;
> 'dd if=/dev/zero of=/dev/md?" should do the trick, but I'm not sure how
> to track the processor utilization during the run.
> 
> Any ideas?

pericles:~ # sar  -o /tmp/datafile 1 10000 &
[1] 23533
pericles:~ # 
pericles:~ # while :; do /bin/true; done
^C
pericles:~ # date
Mon Mar  8 12:41:01 EST 2004
pericles:~ # kill %1
pericles:~ # sar -f /tmp/datafile 
Linux 2.6.3-rc2 (pericles)      03/08/04

12:39:08          CPU     %user     %nice   %system     %idle
12:39:10          all      0.00      0.00      0.50     99.50
12:40:26          all      1.76      0.00      2.81     95.43
12:40:27          all      0.00      0.00      0.99     99.01
12:40:38          all     20.70      0.00     33.64     45.66
12:40:39          all      0.00      0.00      0.99     99.01
12:40:55          all      0.06      0.00      0.06     99.88
12:40:57          all      0.00      0.00      0.00    100.00
12:40:58          all     15.00      0.00     24.00     61.00
12:40:59          all     39.00      0.00     61.00      0.00
12:41:00          all     40.00      0.00     60.00      0.00
12:41:01          all      0.00      0.00      1.00     99.00
12:41:02          all      0.99      0.00      0.99     98.02
12:41:03          all      0.00      0.00      0.00    100.00
12:41:05          all      0.00      0.00      0.00    100.00
12:41:07          all      0.00      0.00      0.00    100.00
Average:          all      3.82      0.00      6.13     90.05

--
Paul

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Measuring RAID-0 CPU load
  2004-03-08 17:31     ` Guy
@ 2004-03-08 17:45       ` Ian Pilcher
  0 siblings, 0 replies; 7+ messages in thread
From: Ian Pilcher @ 2004-03-08 17:45 UTC (permalink / raw)
  To: linux-raid

Guy wrote:
> man sar

Perfect.  Thanks!

-- 
========================================================================
Ian Pilcher                                        i.pilcher@comcast.net
========================================================================


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-03-08 17:45 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-08 17:15 Measuring RAID-0 CPU load Ian Pilcher
2004-03-08 17:19 ` Måns Rullgård
2004-03-08 17:23   ` Ian Pilcher
2004-03-08 17:31     ` Guy
2004-03-08 17:45       ` Ian Pilcher
2004-03-08 17:21 ` Joshua Baker-LePain
2004-03-08 17:44 ` Paul Clements

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).