aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: 1 2 [3]

Author Topic: About Kademlia  (Read 407335 times)

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: About Kademlia
« Reply #30 on: October 20, 2005, 11:59:48 AM »

No, it isn't. But lfroen seems to have problems with it.
Logged

lfroen

  • Guest
Re: About Kademlia
« Reply #31 on: October 21, 2005, 06:35:30 AM »

Kry: i don't know how about you, but I actually measured it. Amule takes about 40% cpu where most of time it spends in main loop -> kad code.
I will have more results when oprofile will finally work for me.
Logged

PunkSC

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 73
Re: About Kademlia
« Reply #32 on: October 21, 2005, 06:44:16 AM »

2248 amule     15   0 76328  42m  15m S 25.1 27.1  96:03.60 amule
25% CPU usage on PII 300Mhz. Its more then amule without kad (about 10% cpu usage). Maybe kad code needs some improvements, but works fine. Thats a HUGE step! Tks guys for the hard work!
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: About Kademlia
« Reply #33 on: October 21, 2005, 01:43:15 PM »

If you guys are using debug builds, Kad does serious use of stl classes, which are very heavy on debug.
Logged

GhePeU

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 240
Re: About Kademlia
« Reply #34 on: October 23, 2005, 11:44:17 AM »

Quote
Originally posted by PunkSC
2248 amule     15   0 76328  42m  15m S 25.1 27.1  96:03.60 amule
25% CPU usage on PII 300Mhz. Its more then amule without kad (about 10% cpu usage). Maybe kad code needs some improvements, but works fine. Thats a HUGE step! Tks guys for the hard work!


well, have to second this, switching from 20051014 CVS to 20051022 CVS my CPU usage increased of ~4x, only when Kad is running. Roughly, from ~1.5% to ~6% on an athlon xp 1700+

compiled with --disable-debug, wxGTK 2.6.2 + gtk 2.8.6
« Last Edit: October 23, 2005, 11:44:43 AM by GhePeU »
Logged
When they kick at your front door
how you gonna come?
with your hands on your head
or on the trigger of your gun

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: About Kademlia
« Reply #35 on: October 23, 2005, 04:06:46 PM »

That was caused by Kad gui, is not strange.


And lfroen, Xaignar measured it and it's nowhere near the time on the core timer even a 5% used on Kad.
Logged

GhePeU

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 240
Re: About Kademlia
« Reply #36 on: October 23, 2005, 07:34:06 PM »

Quote
Originally posted by Kry
That was caused by Kad gui, is not strange.

is it temporary, I hope?
« Last Edit: October 23, 2005, 07:34:37 PM by GhePeU »
Logged
When they kick at your front door
how you gonna come?
with your hands on your head
or on the trigger of your gun

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: About Kademlia
« Reply #37 on: October 23, 2005, 08:00:46 PM »

well Kad gui is going to be reworked... again ;) So yes.
Logged
Pages: 1 2 [3]