aMule Forum

English => Multiplatform => Mac OSX => Topic started by: robda on December 17, 2004, 10:55:33 AM

Title: bad performance
Post by: robda on December 17, 2004, 10:55:33 AM
hi there,

my mac amule from the homepage worked fine for about 3 weeks (upload, download 20 to 20 +-), but in the last few days performance is terrible.
Yes i have a high id and all the other normal checks are also fine.

I changed nothing in the configuration. My upload is ok but my download speed is terrible (1 kb). It seems i have a lowId but the id is high. It looks like the amule looses connection. When another client wants to upload data, most of the time the 0.0 kb appears in the download tab and then it disapears without uploading any data. The best i can expect is downloading from a source for about 20 seconds with an amount of 20 to 80 kb.

it is very annoying because last week it worked very very good and i have changed nothing. :(

i dont know what i can do, i tryed everything. Has anyone else this problems in the last 3 days or am i the only one ??? is there a new serversoftware or a new EMule client that dont want to speak to us amules ???

thanks robda  :(
Title: Re: bad performance
Post by: Jacobo221 on December 17, 2004, 01:32:09 PM
"The best i can expect is downloading from a source for about 20 seconds with an amount of 20 to 80 kb." <- :( nothing can be done about that. some clients suddenly disconnect, you know

"in the last few days performance is terrible." <- try restarting aMule (close + open)

Greets!
Title: Re: bad performance
Post by: robda on December 17, 2004, 10:27:28 PM
"The best i can expect is downloading from a source for about 20 seconds with an amount of 20 to 80 kb." <-   nothing can be done about that. some clients suddenly disconnect, you know

"in the last few days performance is terrible." <- try restarting aMule (close + open)

Greets!


some clients would be ok but all of them not. i restarted amule 100 times with no effect. As i said before i got those problems since 3 days without having changed anything.

i now try the new prerelease and i hope it works better. thank you

robda
Title: Re: bad performance
Post by: Jacobo221 on December 17, 2004, 11:08:37 PM
i hope too ;)

anyway, it's just bad luck what you were having.
as you see, once you restart aMule, it's memory has been deleted so everything starts from zero again. So, it will work as good (or as bad) as it did 3, 10, 1000 days before. The only way to alter it's conduct would be to modify the amule binnary, and aMule doesn't do so ;)

Please test current pre-release and check

Greets!
Title: Re: bad performance
Post by: lionel77 on December 19, 2004, 03:09:01 PM
i am experiencing the same connection issues here that you describe, robda: sometimes downloads begin at 0.0k/s and stay there for some time until the connection is closed. other times, a download starts at say 4.0k/s and then gradually decreases until after a minute or two the connection is closed.
i just migrated my main donkey to amule -- before i was running amule only for testing with only a few smaller files queued for download -- so i'm not sure if this behavior was present in older versions as well.

it seems really odd that your client would not exhibit this behavior for weeks and then suddenly start -- are you sure you didn't replace it with a cvs build or change anything in the preferences? are you maybe now sharing a inet connection and you weren't before?
i think it's extremely unlikely that a change in the server software could be responsible for these issues because the problem obviously concers the client<-->client communication.
on the other hand it also does not look like it's related to the version of the other client: i seem to have the issue regardless of whether i download from an emule 0.30 or 0.44d...

i think some more low level testing is needed here.. :)
Title: Re: bad performance
Post by: robda on December 20, 2004, 09:28:11 PM
hi lionel77,

no performance improvement for me so far. It is very very frustating. I have tested the new build with no improvement. I have deleted the .amule folder except the credit file with no improvement and now even deleted the creditfile. :( (of course backuped it ;) )
i used edonkey emule and now amule for about 4 years and i never had such crazy performance.

no client gives me more than 50 to 250 kb. It is normal that some clients (10 - 20 %) only give this little but not all clients. It seems like loosing connection, a timeout or something like that. I dont kown.

and you any improvements ???

robda
Title: Re: bad performance
Post by: sssnake on December 21, 2004, 03:34:55 AM
Hi robda, maybe your ISP changed policy? Did you (can you) try amule under linux / amule/emule under windows to compare the behaviour? If they act crazy too, it has to be something with your ISP :-(
Title: Re: bad performance
Post by: robda on December 21, 2004, 11:00:43 AM
@ sssnake
i will try the idea to test the performance with my old win emule client. When a ISP changes the policy the only thing they can do is blocking ports and that would result in a low ID !? Or can they do more than than blocking ports ????


thanks robda
Title: Re: bad performance
Post by: robda on December 21, 2004, 02:17:21 PM
i tryed my windows emule client and it works very good, so the ISP and router cant be the problem.
i think the mac or amule must be the problem. I will test RC8 on my powerbook and see what happens.

robda
Title: Re: bad performance
Post by: lionel77 on December 22, 2004, 01:04:50 AM
yes, your isp is not the problem -- i am experiencing the exact same issues here with two different machines/inet-connections.
my guess is, it's either an issue of the mac wx version or a remaining byte-order issue in the amule code.
we need to do more testing and then determine the exact reason for the lost download connections...
Title: Re: bad performance
Post by: robda on December 22, 2004, 01:36:49 PM
hi lionel77,
i have tested the new rc8 build on my g4 power book 1,33 gHz and it works very very fine. It uses the same router configuration and the same amule preferences as my previously used mac.
The previously used mac with the bad performance is a g3 iMac with 350 mhz and 512 MB ram. Could low cpu power be the problem ?????

what machines do you use ????

what changed between the new RC8 and the last RC8 Mac Prelease ???? because i have not tested the new rc8 release  on my iMac 350 mHz.
When i look in the info of the new rc8 application it says that the creation and modification time is the
8 of december. hmm strange.

bye and happy testing
robda
Title: Re: bad performance
Post by: robda on December 23, 2004, 03:49:49 PM
now i got the same problems on my power book and of course i did not changed a single thing. Yesterday i have installed the new amule and for 24 hours it workes very good.
after 24 hours my os told me to free up some memory because of no free disc space ( another memory leak ?? ). The problem was that amule was the only running app so i could not free up some memory.

i had to restart my mac and amule. And after that the same problems as described some posts before. Am i and lionell77 the only ones with this problems.
is there a amule developer that mainly uses amule on mac os x ???

bye robda  ;(
Title: Re: bad performance
Post by: Kry on December 23, 2004, 05:36:14 PM
No, there is no aMule developer that even has a Mac. What about getting me one? :P
Title: Re: bad performance
Post by: robda on December 23, 2004, 09:57:16 PM
you dont want to exploit a desperated man dont you ??? ;)

if no developer has a mac then no one can help me solving this problem  ???     :(
sad sad i then must use my windoze again   8o ;(

noooooo that can not be trueeeeeeeeeeee

robda
Title: Re: bad performance
Post by: Kry on December 23, 2004, 10:14:16 PM
Hey, I'm the man on the Mac development. Problem is I have to use vnc & ssh to develop on Mac.


But I of course want to help you fix it. lionel77 and ken might want also ;) They can be considered as developers... with a Mac.
Title: Re: bad performance
Post by: ken on December 26, 2004, 03:38:16 PM
Unfortunately, I don't think I'll be able to help here.  This problem doesn't afflict me, at least so I've noticed.  However, I'm behind a firewall that I don't control so I'm stuck as low-id.  Also, I only run aMule on the weekends, so it may not stay up long enough to encounter the problem.  Lastly, I mostly run aMule unattended and don't watch my connections that closely.  All I know is that eventually, my downloads complete.  Perhaps not as fast as they could or should, but they get there.

Am I to understand that the performance degrades over time, but isn't restored by restarting aMule, only by rebooting the OS?  That's definitely weird.  Something in the state of the OS is persisting between program runs.

What does "netstat -p tcp" produce at a time when aMule is experiencing the problem?  What about after you quit aMule?
Title: Re: bad performance
Post by: jie^ on December 28, 2004, 06:53:08 PM
Hi.

I also have bad performance with aMule:

1. I find alot of sources, but i can only download like 0.1 - 0.5 KB/s
2. After leaving download on a day i've only got a few MB per download.
3. Even though i have 500 KB/s for upload free noone is downloading from me

I have High ID, and i have tried different servers and reboot aMule. Latest version.

When i try eMule on my PC it only takes few hours to complete a whole download. (on the same files!)

I hope i can solve this, because i really want to use my mac for mule, and i really like the aMule concept. thx the devs!
Title: Re: bad performance
Post by: HipHopPunkSuperStar on January 02, 2005, 11:10:47 AM
You're not alone  ?(
I do get the same performance problems here.
My downloads stay at 0,5 - 1,5 kB/s when they reach 1,6 or 1,7 kB/s the connection is lost.
I tried several configurations limiting Up- and Download speeds but nothing changes, people can download from my client with the full speed I allow (I tried 8-11kB/s as my upload max is ant 12 kB/s), but it doesn't change anything.

I'm downloading highly availabile files (more than 40 - 50 sources) but the dl stays that low.

I have no possibility to try on a diffrent machine, so I don't know what else I might try...

And yes, I have a HighID...

(667MHz TiBook, 768MB RAM, Mac OS X 10.3.7, latest aMule Mac-Binary version)
Title: Re: bad performance
Post by: clem2610 on January 03, 2005, 10:00:23 PM
Hi everybody.

I experience the same problems than many of you. My download rate is stuck to 0.something while the upload is near to its max value.
Here what I can add to the topic:
The problem is still valid on rc8 (t least for me)
This is not a rc7 problem as it was already the case more than one month ago (with the first compiled mac version I download)
Sometimes the download rate can rise quite high (22kb/s) but it never lasts long and most of the time my average download rate is between 0.5 and 1.5.

I understand that the problem could be hard to solve as the developpers don't experience it. But couldn't we make some test ? Let the developpers share a big file and try to see what happens when problematics amule connect to them ?


C.
Title: Re: bad performance
Post by: dashaund on January 27, 2005, 12:23:33 AM
I'm experiecing the exact same issues.  I get PLENTY of sources, can upload all day very efficiently (20kb/s...my limit) but the downloads trickle.  I use eDonkey 2000 and get around 30+ kbs download (my limit is 200kb/s, but I'm happy with 30).  So, that proves its not my ISP or my computer...its the software.  I think the developers should find some Macs (heck, the'yre only $499 now) and try to figure this one out.  I can't use the latest CVS (yet) because I can't ge t it to compile.  That's another issue though.  Please!  I love the whole aMule open-source concept, and it is a better client...and I want to USE it!
Title: Re: bad performance
Post by: HipHopPunkSuperStar on January 31, 2005, 03:21:00 PM
Okay, I can now somehow confirm that the bad speeds most of us are experiencing with aMule under Mac OS X is somehow a Mac problem!
I installed Ubuntu-Linux on my PowerBook the other day and have now aMule runnig form there, I copied my .aMule folder over to the Linux machine and the speed goes WOOOOH ?( 8o
This is to say, the same files I was trying to download a couple of days on my Mac running OS X, which all together came down with a max. speed of 2kB/s now give me an overall Down-Speed of 20-30kB/s.

I have NO idea why this happens, but I can observe it right in front of my nose!
I am SURE as hell, that I have all ports open on my Mac (I'm using NetBarrier as my firewall and have them explicedly OPEN & I also get high IDs on the ED2K-Servers).
Changing aMule to my PowerBook running Ubuntu I changed the Port-Forwarding to the new IP, so this is also the same, and as I copied the whole .aMule folder my shares and credits are the same aswell.

So, maybe someone should again take a closer look at this...
Title: Re: bad performance
Post by: dashaund on January 31, 2005, 05:21:00 PM
My post earlier was a little too "critical."  After reading it over, I got the impression that I was criticizing the developers and accusing them of not caring about us Mac people, which it totally wrong.  Sowwy!  Anyways, I'm willing to assist in testing of whatever changes they decide to make.  I love the aMule client.  After I finish downloading something in eDonkey, I load up aMule to share it.  It's not simply a client issue (since it runs well on other platforms), and its not an OS issue (since other clients of the same network run well)...it's a combination.  I'm not a developer myself, so it might be a wxMac issue!  Either way, I'd love to figure it out myself, but I'm no developer/programmer.  So, would someone PLEASE help in getting this issue resolved!
Title: Re: bad performance
Post by: Kry on January 31, 2005, 05:45:01 PM
Well, notice that as good as Mac might be, I doubt it has the same network behaviour as linux, which is used in servers all over the world.

Why do I mention this? Mainly because if you take my current aMule config on linux and apply it to windows, either eMule, or windows, or both, go down.


So, try tweaking things a bit. Key places:

Max sources per file

Max connections

->Core Tweak tab:

Max connections/5secs

Safe max connections (or whatever is called). This should be ON.



Please, report results, I want to know if it's a wxMac issue and why :)


P.S: No,I'm not comparing Windows to Mac ;)

P.P.S: I did not take your post as rude in any way, no apologies needed  8)
Title: Re: bad performance
Post by: lionel77 on January 31, 2005, 10:16:31 PM
concerning the linux<->os x comparison: os x is based on bsd which is used to run some mighty big ass servers as well, so i highly doubt that it's the os itself that is causing the problems... ;)

Quote
Originally posted by Kry
So, try tweaking things a bit. Key places:
Max sources per file
Max connections
->Core Tweak tab:
Max connections/5secs
Safe max connections (or whatever is called). This should be ON.
i've tried playing with these settings before and i didn't see huge effects. i'm now running amule with really conservative settings. when i was using mldonkey i was using 4x as many max connections, connections per second, etc. and never had similar problems.
so i fear it really looks like a wxMac issue.

they key problem seems to be that most connections are dying after about a minute or so. maybe the best thing to do would be to create a test scenario, in which one person shares only one file and another person tries to download this. if the first person logs the communication between the two clients, maybe we can see what causes the connection to break.
Title: Re: bad performance
Post by: m2kio on February 08, 2005, 02:01:18 PM
Quote
Originally posted by lionel77

Quote
Originally posted by Kry
So, try tweaking things a bit. Key places:
Max sources per file
Max connections
->Core Tweak tab:
Max connections/5secs
Safe max connections (or whatever is called). This should be ON.

i've tried playing with these settings before and i didn't see huge effects. i'm now running amule with really conservative settings. when i was using mldonkey i was using 4x as many max connections, connections per second, etc. and never had similar problems.
so i fear it really looks like a wxMac issue.

they key problem seems to be that most connections are dying after about a minute or so. maybe the best thing to do would be to create a test scenario, in which one person shares only one file and another person tries to download this. if the first person logs the communication between the two clients, maybe we can see what causes the connection to break.

i'm also pretty shure that the problem lies within wxMac...
the best suggestion i can make is to limit the max. connections to 100 (or 95, gives a better scaled graph in the stats window ;-) ) more is not required and just blocks the line.
Just to say, my up/dn ratio is also poor. amule just ran for 7 days (!) before i restarted it today, and i had a ul/dl ratio of 3.62 : 1.
same symptom here: dl frequently does not start up, dies shortly after start, has very poor speed (e.g. 0.2kB/s). But it seems to improve over time running, or at least the poor dl's sum up. And there are also good conenctions too. Of course. Else amule wouldn't be usable.
It seems to be even worse on my iBook, and sometimes i have the impression it is a timing issue.
this opinion also arised from some other observation: in rc7 (rc8 seems to be different now) i had to restart amule once a day and when i started it, it failed on each and every server it tried, i stopped it, started it again and then in most times it logged into the first server it tried. (not always.  :( sometimes resisted very hardly.)

maybe it would be helpful to have a special logging version of amule which dumps out stats on every succeeded and failed connection. (does prefs>core tweaks>verbose s.th. like that?)
Maybe a POST to a http server which runs a stats accumulating script? (as a option, of course)

     ... m2kio !
Title: Re: bad performance
Post by: ken on February 08, 2005, 04:54:28 PM
Guys, try a new CVS snapshot.  See this thread (http://forum.amule.org/thread.php?threadid=5033).
Title: 2005-02-08 snapshot: low ID
Post by: m2kio on February 08, 2005, 05:44:30 PM
hi,

with the feb-08 snapshot i always get low ID.
EDIT: not always, but very often (3 out of 4 times approx.).

server connect is 'instant' now, thanks.  :)
EDIT: exept if i'm going to get a low ID. X(

    ... m2kio !
Title: Problem persists
Post by: Slist on February 10, 2005, 09:48:43 AM
Hello,

the problem still persists, even with aMule-Mac.cvs2005-02-09.unicode.debug.zip
I don't know.. I am really tempted to go back to mldonkey.
adonkey finds a lot of sources but the download is muuutch slower (normally around
0-0.7, where mldonkey downloads at full speed).

Slist
Title: Re: bad performance
Post by: m2kio on February 10, 2005, 01:49:37 PM
just an update:

cvs 02-08 seems to handle high bandwidth dl better. it seems that dl with 20kB/s++ more reliably delivers complete blocks. overall dl ratio seems to be better (2.5:1 after 1.5days) but that may also be just luck. dl from roughly 50% of peers still dripling/failing/starving early.

cvs 02-10 still tends to low id. especially razorback always gives me a low id. (i'm behind a router with ip forwarding.)

also noticed since ++rc8:
bogus coloring of dl progress bars fixed. :)
"hidden" files no longer shared. thanks! :)

    ... m2kio !
Title: Re: bad performance
Post by: dashaund on February 10, 2005, 04:41:19 PM
Unfortunately, the problem persists.  I've tried the premade binary posted here, and compiled the 2-10 CVS, and neither one works better.  I think it has gotten a little better, though.  I've downloaded a whopping 18MB in 14hrs with plenty of sources.