PDA

View Full Version : Amanda CE 3.1.1 slow netusage



rventura
July 30th, 2010, 07:43 AM
Hello,

I m using Community Edition 3.1.1 on Debian Lenny. Everything seems to be working fine, however, the data transfer from the client to the server is painfully slow.

amstatus says that i am using only 1024 kbps out of 1000000 kbps. How can i speed up this process..? i've looked every where and have not found anything that can give me some light.

amstatus reports only 4068m, but the directory is 7.5GB...?

I see the files being created in the staging area, but the transfes are super slow..

Bellow are the config files. There are no errors in any of the logs. amcheck passes..

Any ideas? Thanks!

amanda.conf


amanda.conf
# amanda.conf - sample Amanda configuration file. See amanda.conf(5) for
# details

org "Comp" # your organization name for reports
mailto "amandabackup" # space separated list of operators at your site
dumpuser "amandabackup" # the user to run dumps under

inparallel 4 # maximum dumpers that will run in parallel (max 63)

dumporder "sssS" # specify the priority order of each dumper

taperalgo first # The algorithm used to choose which dump image to send

displayunit "m" # Possible values: "k|m|g|t"

netusage 1000000 Kbps # maximum net bandwidth for Amanda, in KB per sec

dumpcycle 4 weeks # the number of days in the normal dump cycle
runspercycle 20 # the number of amdump runs in dumpcycle days
tapecycle 20 tapes # the number of tapes in rotation


bumpsize 20 Mb # minimum savings (threshold) to bump level 1 -> 2
bumppercent 20 # minimum savings (threshold) to bump level 1 -> 2
bumpdays 1 # minimum days at each level
bumpmult 4 # threshold = bumpsize * bumpmult^(level-1)

etimeout 6000 # number of seconds per filesystem for estimates.
dtimeout 1800 # number of idle seconds before a dump is aborted.
ctimeout 30 # maximum number of seconds that amcheck waits

device_output_buffer_size 1280k

usetimestamps yes

flush-threshold-dumped 0
flush-threshold-scheduled 0
taperflush 0
autoflush no

runtapes 1 # number of tapes to be used in a single run of amdump
tapedev "tape:/dev/nst0" # tape changer or device to use

define changer myrobot {
tpchanger "chg-robot:/dev/sg4" # your changer device file
tapedev "tape:tape:/dev/nst0" # your tape drive device file
}
#tapedev "myrobot"

maxdumpsize -1 # Maximum number of bytes the planner will schedule

tapetype QDLTv4 # what kind of tape it is (see tapetypes below)
labelstr "^BkpTest1-[0-9][0-9]*$" # label constraint regex: all tapes must match

amrecover_do_fsf yes # amrecover will call amrestore with the
amrecover_check_label yes # amrecover will call amrestore with the
amrecover_changer "changer" # amrecover will use the changer if you restore

holdingdisk hd1 {
comment "main holding disk"
directory "/var/lib/amanda/staging/" # where the holding disk is
use -100 Mb # how much space can we use on it
# a non-positive value means:
# use all space but that value
chunksize 1Gb # size of chunk if you want big dump to be
# dumped on multiple files on holding disks
# N Kb/Mb/Gb split images in chunks of size N
# The maximum value should be
# (MAX_FILE_SIZE - 1Mb)
# 0 same as INT_MAX bytes
}

define tapetype QDLTv4 {
comment "Created by amtapetype; compression disabled"
length 161180224 kbytes
filemark 194 kbytes
speed 10185 kps
# blocksize 32 kbytes
}

define dumptype global {
comment "Global definitions"
auth "bsdtcp"
}

define dumptype zwc-normal {
global
program "DUMP"
}

define dumptype zwc-compress {
global
compress client fast
program "DUMP"
}

define interface local {
comment "a local disk"
use 1000000 kbps
}

define interface eth0 {
comment "ethernet"
use 1000000 kbps
}




amstatus


amstatus --config BkpTest1
Using /etc/amanda/BkpTest1/amdump
From Fri Jul 30 09:58:34 CDT 2010

housigma32.domain.com:"E:\\h2-bkp\\HST-IT" 0 4068m dumping 2m ( 0.06%) (9:58:44)

SUMMARY part real estimated
size size
partition : 1
estimated : 1 4068m
flush : 0 0m
failed : 0 0m ( 0.00%)
wait for dumping: 0 0m ( 0.00%)
dumping to tape : 0 0m ( 0.00%)
dumping : 1 2m 4068m ( 0.06%) ( 0.06%)
dumped : 0 0m 0m ( 0.00%) ( 0.00%)
wait for writing: 0 0m 0m ( 0.00%) ( 0.00%)
wait to flush : 0 0m 0m (100.00%) ( 0.00%)
writing to tape : 0 0m 0m ( 0.00%) ( 0.00%)
failed to tape : 0 0m 0m ( 0.00%) ( 0.00%)
taped : 0 0m 0m ( 0.00%) ( 0.00%)
3 dumpers idle : no-dumpers
taper status: Idle
taper qlen: 0
network free kps: 998976
holding space : 56231m ( 93.25%)
dumper0 busy : 0:00:00 ( 0.03%)
0 dumpers busy : 0:00:06 ( 64.91%) not-idle: 0:00:06 (100.00%)
1 dumper busy : 0:00:00 ( 0.00%)