aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Traffic spikes  (Read 6374 times)

stoatwblr

  • Sr. Member
  • ****
  • Karma: 12
  • Offline Offline
  • Posts: 318
Traffic spikes
« on: April 16, 2012, 04:18:27 PM »

Using upnp-router-control, I can see a large  inbound traffic spike (nearly 2 times normal flow) every 11 seconds (100kB/s will spike to 180, 200 to 350, etc)

Outbound traffic spikes are smaller but happen about the same frequency.

Neither peak is enough to hit througput limits or ISP throttle values.

This only happens when amule(d) is running (tested on multiple machines), so I'm sure it's not caused by anything else.

Does anyone have any idea what these spikes are?

Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Traffic spikes
« Reply #1 on: April 16, 2012, 08:33:18 PM »

Do you have a download speed limit? Does it go away if you remove it? WX or Asio?
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

stoatwblr

  • Sr. Member
  • ****
  • Karma: 12
  • Offline Offline
  • Posts: 318
Re: Traffic spikes
« Reply #2 on: April 16, 2012, 08:53:31 PM »

Do you have a download speed limit? Does it go away if you remove it? WX or Asio?

The limit is my wire speed and it stays there with limits removed or set lower, just varies in amplitude.

WX and asio, multiple versions.

I noticed it a few months ago, but didn't start timing it and looking for reasons until the last few days - that's when I found the papers on ptp detection based on heartbeat intervals.

Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Traffic spikes
« Reply #3 on: April 16, 2012, 09:02:43 PM »

Ok, I wanted to know if the bandwidth limiting code is involved.
Wait... You regularly download at limit of your line speed? That's very unusual. UL speed is near const, DL varies greatly.
How did you measure these spike speeds? How would that even be possible if you are already at your line speed?
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

stoatwblr

  • Sr. Member
  • ****
  • Karma: 12
  • Offline Offline
  • Posts: 318
Re: Traffic spikes
« Reply #4 on: April 18, 2012, 12:12:46 AM »

Ok, I wanted to know if the bandwidth limiting code is involved.

No, it happens if it's disabled.

Quote
Wait... You regularly download at limit of your line speed?

Hell no. That's 17Mb/s (which I can achieve weasily on FTP and HTTP transfers from $orkplace)

The usual speed for Amule is 1-3Mb/s. The peaks are 50-100% higher - but this is still well below line speed and well below what I have the limiter set to (about 15Mb/sec)

Quote
How did you measure these spike speeds? How would that even be possible if you are already at your line speed?

upnp-router-control samples and graphs traffic every second, giving the last 90 seconds. This complements using mrtg for longer trends (I really should move to cactii, but fritzboxes don't do snmp)


Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Traffic spikes
« Reply #5 on: April 18, 2012, 07:10:13 PM »

Is there just the spike up, or is there a spike down before the spike too? (Like not receiving for a little while and then taking all that's arrived.)
Something matching in the CPU load?
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

stoatwblr

  • Sr. Member
  • ****
  • Karma: 12
  • Offline Offline
  • Posts: 318
Re: Traffic spikes
« Reply #6 on: June 16, 2012, 01:34:20 AM »

No, nothing like that. The spikes are above a steady baseline.

Logged