aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Amule is very slow when dnetc is working  (Read 3744 times)

benjaprud

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 8
Amule is very slow when dnetc is working
« on: June 27, 2006, 02:37:17 AM »

Hi all !

I used MLdonkey for quite a long time now and I tried aMule for the first time a few months ago... It was version 2.1.0 on MacOS X.4.3... When I launched it, the icon bounced in the Dock during one minute before it told me "It's the first time you launch aMule, etc...". The interface was extremely slow and it was absolutely unusable... I gave up using aMule and thought I'll give it another try later...

Yesterday I saw there was a new 2.1.3 version so I tried it (on OS X.4.6), hoping that the bug would be corrected, but it's the same... Everything is extremely slow... I tried compiling amule 2.1.0 from source with Fink but the problem remains... I searched the forum to see if anybody have had that bug before but I haven't found anything...

So if anybody here has an idea on how to make it work properly or to help me reporting the bug to the dev team, that would be great... I joined my logfile for those who can read it...

Thanks...
« Last Edit: June 27, 2006, 11:29:16 PM by benjaprud »
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Amule is very slow when dnetc is working
« Reply #1 on: June 27, 2006, 09:52:32 AM »

Hi benjaprud!

Do you use any other applications which consume a lot of CPU like SETI@home? Please try to start aMule without any other applications in background and tell us whether it works smooth then.

Salut
Logged

benjaprud

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 8
Re: Amule is very slow when dnetc is working
« Reply #2 on: June 27, 2006, 02:41:31 PM »

Ah, I'm using dnetc... I'll try without but if the problem comes from dnetc, I'll continue using MLdonkey... Perhaps if I raise the priority of aMule it'll work better ?

Thanks for your help...
« Last Edit: June 27, 2006, 02:43:35 PM by benjaprud »
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: Amule is very slow when dnetc is working
« Reply #3 on: June 27, 2006, 02:45:45 PM »

what about your i/o wait? is it maybe high or smth alike?

in linux htere is a util called "top" to see what consumes cpu times, and also how high the i/o wait is...
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

benjaprud

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 8
Re: Amule is very slow when dnetc is working
« Reply #4 on: June 27, 2006, 04:56:24 PM »

Yeah, there is top on OSX too but I don't know about how reading the i/o wait... However there shouldn't be any problem with it, all applications run smooth and amule is the only one having this problem...

I haven't tried without dnetc yet... I'll tell you when it'll be done...
« Last Edit: June 27, 2006, 04:58:45 PM by benjaprud »
Logged

benjaprud

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 8
Re: Amule is very slow when dnetc is working
« Reply #5 on: June 27, 2006, 07:59:45 PM »

aMule works well without dnetc running in the background... That's the only application i know that cannot run properly with dnetc, what's the problem with aMule ? dnetc priority is 0, is there a way to make them run together ? Perhaps with the renice command ?
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Amule is very slow when dnetc is working
« Reply #6 on: June 27, 2006, 08:08:13 PM »

As you already posted in the other thread about that problem, please annoy the Mac-guys there to find a solution. ;)
I hope you can give them some more information to solve this problem.
Logged

benjaprud

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 8
Re: Amule is very slow when dnetc is working
« Reply #7 on: June 27, 2006, 08:15:59 PM »

Ok, but as dnetc and aMule are both multiplatform and linux users are more geeky and more keen on the command line, I hope more answers on this thread that on the other... Mac users seems to be silent for now...
« Last Edit: June 27, 2006, 08:19:48 PM by benjaprud »
Logged

Gerd78

  • Hero Member
  • *****
  • Karma: 9
  • Offline Offline
  • Posts: 681
Re: Amule is very slow when dnetc is working
« Reply #8 on: June 27, 2006, 08:19:06 PM »

We don't have Mac users only, but also Mac developers, maybe they can help (If you're lucky and they have time) ;)
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Amule is very slow when dnetc is working
« Reply #9 on: June 27, 2006, 08:27:01 PM »

The problem is (afaik) Mac-only thus we need the Mac-guys for help. ;)
Logged

lionel77

  • Provider of Mac builds, Forum Mod
  • Hero Member
  • *****
  • Karma: 4
  • Offline Offline
  • Posts: 1107
  • Mac OS X 10.4 (Power Mac G5)
Re: Amule is very slow when dnetc is working
« Reply #10 on: June 27, 2006, 08:46:05 PM »

Well, it's good to know that aMule works well when dnetc is not running. I would try renicing dnetc:
In the Terminal, do "ps aux | grep dnetc". You should see something like:

myUser    1341   9.1 -6.3   514080 131280  ??  S   Sat03AM  67:24.67 /somePath/dnetc

The first number (here: 1341) is the process id (pid) of the app.


Then type "renice 10 1341" (where 1341 is the pid of dnetc that you figured out in the previous step). This will lower dnetc's priority from 0 to 10 (-20 is max priority and 20 in min priority in renice). See if that helps.
Logged
Current aMule CVS builds for OS X can be found here.

benjaprud

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 8
Re: Amule is very slow when dnetc is working
« Reply #11 on: June 27, 2006, 11:26:10 PM »

Sorry, i didn't know much about priorities before trying to renice aMule... dnetc priority is 20 not 0, so i tried renicing aMule to -20 (using BeNicer)... The result is little better (sometimes the spinning wheel disapears) but it's still very slow...

dnetc and aMule can work at the same time on linux ? I've got a Debian dual-boot, I'll give it a try tomorrow...
« Last Edit: June 27, 2006, 11:34:41 PM by benjaprud »
Logged