Skip to contentSkip to conversation

Measuring RAID-0 CPU load

DISCUSSION Ian Pilcher 5 participants 7 messages Mar 8, 2004 MD RAID

lore
Share & tools
lore
#0 lore raw

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!

Signature · 3 lines
========================================================================
Ian Pilcher                                        [email protected]
========================================================================
#1 lore raw
Quoted 6 lines · Ian Pilcher

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?

Signature · 7 lines
Måns Rullgård
[email protected]

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#2 lore raw
Quoted 8 lines · Måns Rullgård
Quoted 5 lines · Ian Pilcher

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.

Quoted 5 lines
Quoted 1 line

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.

Signature · 8 lines
========================================================================
Ian Pilcher                                        [email protected]
========================================================================

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#3 lore raw

man sar

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Ian Pilcher
Sent: Monday, March 08, 2004 12:24 PM
To: [email protected]
Subject: Re: Measuring RAID-0 CPU load

Quoted 8 lines · Måns Rullgård
Quoted 5 lines · Ian Pilcher

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.

Quoted 5 lines
Quoted 1 line

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.

Signature · 14 lines
========================================================================
Ian Pilcher                                        [email protected]
========================================================================

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [email protected]
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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#4 lore raw
Quoted 1 line · Guy

man sar

Perfect. Thanks!

Signature · 3 lines
========================================================================
Ian Pilcher                                        [email protected]
========================================================================
#5 lore raw
In reply to Ian Pilcher

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

Quoted 4 lines

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.

Signature · 3 lines
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University
#6 lore raw
In reply to Ian Pilcher
Quoted 7 lines · Ian Pilcher

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