Katariina* wrote:
> look when it is less than 10kbyte(min-kbytes) remaining, it is
> also less than 100(max-kbytes) remaining too! so when it is less
> than 10 it is always less than100! so what is the use of max?
Max is only a UPPER limit. It does NOT say that it is ok to continue, it
only says that it should be aborted if more than max remains.
> > 40/100kb -> 40 is less than 80% of 100, abort
>
> but there is also there is 60kbytes remaining to go in that example...
> so it overrides min-kbytes and the system checks min-bytes first
> right?
min is only a LOWER limit, saying that if less than min remains, then
ALWAYS continue.
> then it would abort because of min-kbytes even though there is less
> than max-kbytes (100) remaining!
No, min do not say that it should be aborted, only that if less than min
remains then the download should continue.
> > 90/100kb -> 90 is more than 80% of 100, continue the download.
>
> this is true too...
>
> > 850/1000kb -> More than 100kb remains, abort.
> also more than 10kb remains! which is more than min-kbytes...and squid
> checks min-kbytes first (right?)
Yes, but not in the same way.
How hard is this to understand??
min is a lower limit. Less than min and it is NOT aborted.
max is a upper bound. More than max and it is ALWAYS aborted.
Between min and max it is determined by the percentage limit.
remaining < min -> CONTINUE (lower threshold)
remaining > max -> ABORT (upper limit)
downloaded > percent -> CONTINUE (size-relative limit)
else ABORT
The goal is to
1. Do not abort small objects (the min threshold)
2. Do not continue to download large amounts (the max limit)
3. Only continue the download if it is close to finished (the
percentage).
--- Henrik NordströmReceived on Thu Jul 23 1998 - 16:02:43 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:41:15 MST