aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: 20061225 100% cpu usage  (Read 2661 times)

Truzzone

  • Hero Member
  • *****
  • Karma: 2
  • Offline Offline
  • Posts: 1236
20061225 100% cpu usage
« on: January 02, 2007, 05:58:59 PM »

Hi,
I try the cvs tarball but after 1 days i see always cpu usage at 100%, I'm return to 2.1.3 and the cpu usage are @max 8%.
It's possible to help the developer with gdb backtrace for found the bug?
I compile with wxGTK-2.6.3.3 on gentoo amd64 is this the problem?  ?(
What tools you suggest for find the cause of 100% cpu usage?  ?(

Best regards,

Truzzone  :)
Logged
"Tanta gente crede che dal momento che ha l'ADSL a 4Mega, deve scaricare a 4Mega altrimenti qualcosa non va. O è colpa dell'ISP o di aMule. La questione è invece ben diversa"

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
RE: 20061225 100% cpu usage
« Reply #1 on: January 03, 2007, 12:32:46 PM »

Ciao Truzzone!

Hum, you can try the google profiler.

http://code.google.com/p/google-perftools/

But it is normally not so evident what is causing this.

Have you checked if aMule is not re-hashing old files? wx-2.6.3 should be fine, but I have no experience in 64 bits platforms.

Good luck! Hope you can sort it out, and please report!

Cheers!
Logged

tallicalord

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
Re: 20061225 100% cpu usage
« Reply #2 on: January 08, 2007, 01:04:52 PM »

Yes, I've compiled (amuled) of the 26th december CVS tarball too, and have the same issue.
CPU usage is always at 96-98%

- ubuntu 5.10
- wxBase 2.6.3

Don't really know what can I do to help you guys figure it out...gdb? ?(...dunno?!? ?(


best regards,
Logged
Don't judge a man until you walk a mile on his shoes...

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: 20061225 100% cpu usage
« Reply #3 on: January 08, 2007, 01:22:54 PM »

Update to wx 2.8.
Logged

Truzzone

  • Hero Member
  • *****
  • Karma: 2
  • Offline Offline
  • Posts: 1236
Re: 20061225 100% cpu usage
« Reply #4 on: January 08, 2007, 01:42:13 PM »

Hi Kry,
thanks for your reply  :D
I suspect this is old wxGTK but on Gentoo wasn't available an ebuild.
I just check bugs.gentoo.org and I find this update with wxGTK-2.8.0 ebuild.
In the next days I try this ebuild and aMule-CVS with wxGTK-2.8.0  :)

Best regards,

Truzzone  :)
Logged
"Tanta gente crede che dal momento che ha l'ADSL a 4Mega, deve scaricare a 4Mega altrimenti qualcosa non va. O è colpa dell'ISP o di aMule. La questione è invece ben diversa"

tallicalord

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
Re: 20061225 100% cpu usage
« Reply #5 on: January 08, 2007, 04:49:51 PM »

Ok, I'll test it as soon as I manage to compile wxBase 2.8... I'm having issues on wxBase compilation....

I have to read a little bit more on wxwidgets forums... :P


cheers,
Logged
Don't judge a man until you walk a mile on his shoes...