aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Amuleweb showing bogus stats  (Read 4468 times)

dfme

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 18
Amuleweb showing bogus stats
« on: November 09, 2005, 03:31:28 PM »

i'm using amuled v2.0.3 on a ubuntu distribution.
so i've got the following setup

amuled (aMule Daemon 2.0.3 using wxGTK1 v2.6.2 (OS: Linux)) is running in background

i access amuled via amuleweb (amuleweb 2.0.3 using wxGTK1 v2.6.2).

the thing is the stats seem to be showing bogus ratings (see attached jpg). my max. download should be around 16kB/s but yet sometimes amule seems to downloading with 200kB/s... that shouldn't be possible since my isp caps my connection at 600kbit/s (=75kB/s)

any ideas whats going on?
bug?
isp?
or amule rocks?
« Last Edit: November 09, 2005, 03:39:42 PM by dfme »
Logged

dfme

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 18
Re: Amuleweb showing bogus stats
« Reply #1 on: November 09, 2005, 03:32:03 PM »

amulecmd seems to be giving me the same stats
Logged

lfroen

  • Guest
Re: Amuleweb showing bogus stats
« Reply #2 on: November 09, 2005, 04:23:26 PM »

Download rate should be equal (or at least near) sum of rates for all files. What is it in your case ? If it _is_ sum of rates, so I suggest you take some network analyzer (ethereal for example) and actually measure your rates.
You may also try to use CVS snapshot and report whether your problem persist.
Logged

dfme

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 18
Re: Amuleweb showing bogus stats
« Reply #3 on: November 09, 2005, 05:09:49 PM »

Quote
Originally posted by lfroen
Download rate should be equal (or at least near) sum of rates for all files. What is it in your case ?
i´m not quite sure what you mean. if i would manually sum up all the rates for each file i would also get these results that i posted in the images...

anyway your idea with ethereal is good... i´ll try that and post the results
Logged

lfroen

  • Guest
Re: Amuleweb showing bogus stats
« Reply #4 on: November 09, 2005, 06:47:00 PM »

Quote
if i would manually sum up all the rates for each file i would also get these results

Rates per file are quite accurate, i.e. never reported to be wrong. I strongly suggest ethereal.
Logged

dfme

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 18
Re: Amuleweb showing bogus stats
« Reply #5 on: November 10, 2005, 12:02:22 PM »

alright i ran a few ethereal sessions...
to the set up...
i'm connected over xdmcp to my linux server (which is running amuled), so i had to filter all traffic going to and from my windowsbox. i hope i did this right and the stats were not affected.
attached are the results from ethereal...
as you can see the avg. traffic (up- and download) are around 60kB/s. amule is limited to 4/16 up/download.... so if i deduct the 4kB/s from the 60kB/s my actual download rate is 56kB/s.
this is possible since my isp caps the download rate @ 75kB/s
during this session however, amuleweb was showing a download rate @ 290 kB/s which is bogus.

so 2 questions:
Why isn't the download rate caped @ 16kB/s?
Why is amule showing bogus stats?
Logged

lfroen

  • Guest
Re: Amuleweb showing bogus stats
« Reply #6 on: November 10, 2005, 01:59:59 PM »

Interesting. It looks like amule really misses the mark, assuming you measured it correctly.
Quote
so i had to filter all traffic going to and from my windowsbox
How many interfaces your linux box have ? Is it 2 (one into net, other into win box) or only 1 and you have some router in-between.
My guess is that you have some kind of switch or router between amule and DSL modem. amule displaying momentary rate and your traffic is very bursty as a result of buffering in the router.
It would be interesting to see following things: statistics graph as amule see it (amuleweb shows it match better in cvs version) and compare it with graph that ethereal produce.
Logged

dfme

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 18
Re: Amuleweb showing bogus stats
« Reply #7 on: November 10, 2005, 11:56:13 PM »

my network setup:

linuxbox---------------
****************switch --------- adsl_router--------- internet
windowsbox---------

(i know the drawing sucks)

currently i'm only downloading 2 files, so the rates are in normal range...
as soon as i get the download rates up again i'll try to compare the amule graph with ethereal's graph...
in the meantime i've attached amuleweb's graph to show how the stats go heywire when only downloading 6 files (ok they are quite popular)... notice how even the active connections (max set @ 250) skyrocket off the charts... the only constant factor is the upload rates :)

cheers for any comments & insights
« Last Edit: November 11, 2005, 12:03:55 AM by dfme »
Logged

lfroen

  • Guest
Re: Amuleweb showing bogus stats
« Reply #8 on: November 11, 2005, 11:21:41 AM »

Queue in your switch and adsl modem are first to suspect list. And amule shows momentary rate instead of running average. That's my theory.
Logged

dfme

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 18
Re: Amuleweb showing bogus stats
« Reply #9 on: November 14, 2005, 10:36:51 AM »

Quote
Originally posted by lfroen
Queue in your switch and adsl modem are first to suspect list. And amule shows momentary rate instead of running average. That's my theory.
well according to the amule stats my avg. downloadrate is 26.12 kB/s. and i have to say that i haven´t been downloading anything for two days now. speaking of: amuleweb stats is reporting an amuled uptime of 14669 Days 23 hours, when in fact it has been running for 5 days now. another bug?

edit: i have just seen that the uptime bug has already been reported here:
http://forum.amule.org/thread.php?threadid=8018&sid=
« Last Edit: November 14, 2005, 10:38:37 AM by dfme »
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Amuleweb showing bogus stats
« Reply #10 on: November 14, 2005, 10:47:39 AM »

And you should use current CVS's to check if it's ok now.
Logged

dfme

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 18
Re: Amuleweb showing bogus stats
« Reply #11 on: November 14, 2005, 12:02:04 PM »

Quote
Originally posted by Kry
And you should use current CVS's to check if it's ok now.
call me a linux noob but the last time i tried to install a cvs version it screwed with apt so much that after reboot i got a "Kernel Panic" at console prompt rendering my linux install unusable...
this is where i got the cvs from:

http://www.amule.org/wiki/index.php/HowTo_Compile_In_Debian#aMule_CVS_release

maybe i misread something in the wiki, but i really don´t want to screw up my system with all of it´s package dependencies anymore... it took me 2 days to get the distro up and running again...

one nice side affect though: it got rid of this bug:
http://forum.amule.org/thread.php?threadid=6879&sid=
 :D
Logged

dfme

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 18
Re: Amuleweb showing bogus stats
« Reply #12 on: November 18, 2005, 12:45:47 AM »

alright i've done an ethereal-amule stats comparison over a time period of 25 mins (attached)...
still it seems that i'm downloading more than what i am allowed to (or could it be overhead?), but it's not as dramatic as amule is suggesting with it's stats.

if the switch or router or both are causing these peaks than why haven't other people reported the matter? i'm surely not the only person behind a router/switch. and besides with the same network toplogy emule never suggested stats anywhere near the ones from amule...

(just some comments to the ethereal graph: x-axis: time y-axis: bytes)
Logged

vdb

  • Full Member
  • ***
  • Karma: 1
  • Offline Offline
  • Posts: 215
Re: Amuleweb showing bogus stats
« Reply #13 on: November 19, 2005, 02:58:18 PM »

To add to this thread, the CVS also has some issue with its calculations. As proof, attached is a picture of todays snapshot.
Logged
A waste is a terrible thing to mind.

Ramiro

  • Jr. Member
  • **
  • Karma: 1
  • Offline Offline
  • Posts: 71
Re: Amuleweb showing bogus stats
« Reply #14 on: November 19, 2005, 10:22:36 PM »

Hi
I was about to report tihs bug. What a coincidence!
Actually, I already mentioned it:
http://forum.amule.org/thread.php?threadid=7502&sid=
although just as a secondary matter.

amule reaches sometimes a DL rate of 300KB, well above my available bandwith.
DL limit does not seem to have any effect, while UL spped and limit seems to work right.

Cheers
Ramiro
Logged