Nick | 5 Apr 2007 13:47
Picon

[bug #19520] The download 'rate' or speed for a given file as displayed by the html display is completely inaccurate


URL:
  <http://savannah.nongnu.org/bugs/?19520>

                 Summary: The download 'rate' or speed for a given file as
displayed by the html display is completely inaccurate
                 Project: mldonkey, a multi-networks file-sharing client
            Submitted by: steelskin
            Submitted on: Thursday 04/05/2007 at 11:47
                Category: Core
                Severity: 3 - Normal
              Item Group: Program malfunction
                  Status: None
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 2.8.4
                 Release: 2.8.4
        Operating System: Linux
         Binaries Origin: Binary from Savannah
                CPU type: Intel x86

    _______________________________________________________

Details:

I just want to say what a great job spiralvoice & the devs are doing on
mldonkey. It's an excellent program except for one annoying bug it's always
had.

(Continue reading)

spiralvoice | 5 Apr 2007 22:55
Picon

[bug #19520] The download 'rate' or speed for a given file as displayed by the html display is completely inaccurate


Follow-up Comment #1, bug #19520 (project mldonkey):

"I know the HTML GUI auto updates every 12 ? seconds"

Option vd_reload_delay controls this, default is 120s.

"the rate should then be averaged over the last 12 seconds"

Options controlling the computation of download rates are
download_sample_rate and download_sample_size.

The default for download_sample_size of 10 may be too low,
please test values like 100.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?19520>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/
Nick | 5 Apr 2007 23:50
Picon

[bug #19520] The download 'rate' or speed for a given file as displayed by the html display is completely inaccurate


Follow-up Comment #2, bug #19520 (project mldonkey):

Yes, setting the 'download_sample_size' to 100 makes a big improvment, many
more files are now shown downloading with much improved download rates,
although sometimes the individual rates still seem not to add up the total
rate, but most of the time they give a fair indication of what files are
downloading. There's still something not quite right with the algorithm that
computes the individual rates when compared to the likes of emule.

However having said that, your suggestion makes a big improvement compared to
the display as it was. Is there any reason this could not be set as 100 as the
default ?

I did have a quick look at the section of code that computes these rates
however I'm not familiar with the ocaml language, so ended up reading the
tutorials and haven't spend any time figuring out how the rate calculations
are done. In your opinion, do you think the way the rates are computed could
be improved ? 

Thanks again for your help, much appreciated.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?19520>

_______________________________________________
  Message sent via/by Savannah
(Continue reading)

spiralvoice | 6 Apr 2007 00:17
Picon

[bug #19520] The download 'rate' or speed for a given file as displayed by the html display is completely inaccurate


Follow-up Comment #3, bug #19520 (project mldonkey):

"Is there any reason this could not be set as 100 as the default ?"

No, check patch #5853 for an updated default.

"In your opinion, do you think the way the rates are computed could be
improved ?"

Yes, but on my to-do list GUI stuff has lower priority.

For example, the DL speed code still shows data transfered when
the connection to the other client is already closed. It takes
about 10s for the code to notice that the connection was closed.

You can easily verify this by comparing HTML, downloaders with
the GUI display of downloading files. Sometimes files show
data transfered when HTML, downloaders already does not show
the file anymore. I think this is because of higher
download_sample_size, the time used to collect DL speed values
is now longer and data is considered which was received from
already disconnected clients.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?19520>

(Continue reading)

spiralvoice | 8 Apr 2007 17:11
Picon

[bug #19520] The download 'rate' or speed for a given file as displayed by the html display is completely inaccurate


Update of bug #19520 (project mldonkey):

                  Status:                    None => Fixed                  
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #4:

"setting the 'download_sample_size' to 100 makes a big improvment"

Patch #5853 is in CVS now.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?19520>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/

Gmane