Bacula-users

Re: [Bacula-users] Backup performance

2008-08-26 16:01:04
Subject: Re: [Bacula-users] Backup performance
From: Alex Chekholko <chekh AT pcbi.upenn DOT edu>
To: "Lukasz Szybalski" <szybalski AT gmail DOT com>
Date: Tue, 26 Aug 2008 16:00:58 -0400
Hi Lukasz,

"man iostat" will tell you more.

Here's an example:
# iostat -k 5 /dev/sdq
Linux 2.6.18-53.1.14.el5 (fdqn)       08/26/2008

avg-cpu:  %user   %nice %system %iowait  %steal   %idle
           0.30    0.00    1.26    0.02    0.00   98.42

Device:            tps    kB_read/s    kB_wrtn/s    kB_read    kB_wrtn
sdq               7.54       669.07       140.02  847245325  177303660

avg-cpu:  %user   %nice %system %iowait  %steal   %idle
           0.05    0.00    0.66    0.00    0.00   99.29

Device:            tps    kB_read/s    kB_wrtn/s    kB_read    kB_wrtn
sdq               4.29       837.63       261.76       4096       1280

The first sample tells you the aggregate numbers since startup, the second 
sample tells you the numbers for the last 5 seconds.

You can try to run bonnie++ and look at the iostat numbers while that's running 
to see your maximum performance numbers.

If you want to know whether you need more memory, you should probably look at 
something like 'free -m'.

Regards,
Alex

On Mon, 25 Aug 2008 14:02:58 -0500
"Lukasz Szybalski" <szybalski AT gmail DOT com> wrote:

> > On both Debian and RH, install the package sysstat and then you can use 
> > iostat to see the I/O numbers.
> 
> Would you have a link to some good tutorial and/or graphical package
> for IOstats that I could use.
> 
> 
> Not sure what the following means to me:
> Linux 2.6.18-6-amd64 (server3)         08/25/2008
> 
> avg-cpu:  %user   %nice %system %iowait  %steal   %idle
>            1.57    0.04    3.37    3.68    0.00   91.34
> 
> Device:            tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
> sda              29.60       701.41       208.20  717798876  213064200
> sdb              29.47       703.71       204.07  720155116  208841672
> sdc              29.36       702.65       204.08  719072414  208844520
> sdd              29.54       702.77       205.31  719189556  210104704
> md0               0.00         0.00         0.00       2314        888
> md5              89.19      2375.51       472.50 2431021068  483536880
> dm-0             87.31      2368.43       461.36 2423775834  472143160
> dm-1              1.85         7.00        11.02    7163338   11282256
> dm-2              0.02         0.08         0.11      80192     111464
> 
> 
> I guess I would like to know if hdd are writing/reading at enough
> speeds? Is there some kind of bottleneck?
> How would I know if I need to increase memory (RAM) size?
> 
> Thanks,
> Lucas

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users