Re: balance calculation -- was Re: separate spindle for dump use

2020-02-13 Thread Gene Heskett
On Thursday 13 February 2020 23:50:34 Jon LaBadie wrote:

> On Wed, Feb 12, 2020 at 05:40:31PM -0500, Nathan Stratton Treadway 
wrote:
> > Looks like there we had some discussion here on the list back in
> > November 2018 about the unbalanced runs you were seeing, which got
> > as far as my theorizing that perhaps you had a few DLEs that were so
> > much larger than all the others that Amanda's normal algorithm for
> > adjusting the balance is unable to achieve that goal
> >
> > I don't know if there is anyone left on this list who understands
> > the inner workings of those algorithms, but if you really want to
> > get to the bottom of the problem you'll probably have to spend some
> > time combing through the balance calculation section of the planner
> > log files
>
> Asking if there is anyone left is really the purpose of my post.
> Following Gene's original thread I started playing with some
> configuration edits and "amadmin  balance".  Here is a
> sample of the last few lines of the report:
>
> TOTAL   18 975202 704008100572
> BALANCED   573868 311613 44516
> DISTINCT2714809641187912
>   (estimated 7 runs per dumpcycle)
>
> The last value on the 2nd line above (44.5GB) is what amadmin
> considers a balanced output of level 0 dumps over the next
> 7 day dumpcycle.
>
> My default {dump/runsper}cycle is 7 days, set in amanda.conf.
> But more than 1/2 of my DLEs have custom dumpcycles (14,21,and
> 28 days) set in their dumptypes.  You can not set custom values
> for runspercycle in dumptypes (bummer!!).
>
> Based on my playing, I do not think the above command considers
> custom dumpcycles in calculating a balance value.  I wonder if
> the planner also fails to consider custom dumpcycles?
>
> Where is a code reader when you want one :)
>
> Jon

Excellent question Jon.

Acc my own balance report amanda will go all aglay monday and use about 
1.5 tapes, then it will go bonkers promoting stuff to fail at filling 
Tuesdays tape. Do I need to add a gig to the vtape? Or cut the 
bumpsize_threshold in half, so I theoreticly made it easier to bump 
since that 2T disk is at 88% now.

But the balance report is unaffected by any of this!  

??


Copyright 2019 by Maurice E. Heskett
Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 


balance calculation -- was Re: separate spindle for dump use

2020-02-13 Thread Jon LaBadie
On Wed, Feb 12, 2020 at 05:40:31PM -0500, Nathan Stratton Treadway wrote:
> 
> Looks like there we had some discussion here on the list back in
> November 2018 about the unbalanced runs you were seeing, which got as
> far as my theorizing that perhaps you had a few DLEs that were so much
> larger than all the others that Amanda's normal algorithm for adjusting
> the balance is unable to achieve that goal 
> 
> I don't know if there is anyone left on this list who understands the
> inner workings of those algorithms, but if you really want to get to the
> bottom of the problem you'll probably have to spend some time combing
> through the balance calculation section of the planner log files

Asking if there is anyone left is really the purpose of my post.
Following Gene's original thread I started playing with some
configuration edits and "amadmin  balance".  Here is a
sample of the last few lines of the report:

TOTAL   18 975202 704008100572
BALANCED   573868 311613 44516
DISTINCT2714809641187912
  (estimated 7 runs per dumpcycle)

The last value on the 2nd line above (44.5GB) is what amadmin
considers a balanced output of level 0 dumps over the next
7 day dumpcycle.

My default {dump/runsper}cycle is 7 days, set in amanda.conf.
But more than 1/2 of my DLEs have custom dumpcycles (14,21,and
28 days) set in their dumptypes.  You can not set custom values
for runspercycle in dumptypes (bummer!!).

Based on my playing, I do not think the above command considers
custom dumpcycles in calculating a balance value.  I wonder if
the planner also fails to consider custom dumpcycles?

Where is a code reader when you want one :)

Jon
-- 
Jon H. LaBadie j...@jgcomp.com
 11226 South Shore Rd.  (703) 787-0688 (H)
 Reston, VA  20190  (703) 935-6720 (C)