aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Mac OS X Optimizations  (Read 3589 times)

eisa01

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 100
Mac OS X Optimizations
« on: March 31, 2008, 06:48:35 PM »

OK, I believe there are great opportunities to optimize aMule on the mac. Running isulzers compile from March 26th, I had aMule hog  as much CPU as it could get running just one download at 100-200K and 70 sources. The upload was only 50K. This 1.5 GB file, together with two small files, where the only ones shared.

Now, I refuse to believe that this should tax my 1.33 GHz G4, granted it is not the best CPU, but I've run eMule on a 733 MHz P3 back in the day, and it used only a couple percent of the CPU. Also, I remember commercials from Apple, where the G4 spanked the P3 ;)

Now, I'm no programmer, so I won't be able to help at all, except coming up with information. I don't know what dev utilities you have on other platforms, but Instruments is a great app from Apple that let you sample processes and visualize the information. I'll attach a sample from when I experienced this CPU usage (this was actually done with sample from the CLI).

Let me know what else can be helpful, and I'll do my best to get the information you need.

Oh, and it would be nice if someone else with a mac could confirm that they see the same problem, so it's not just my system that's slow.
Logged

isulzer

  • Jr. Member
  • **
  • Karma: 2
  • Offline Offline
  • Posts: 62
Re: Mac OS X Optimizations
« Reply #1 on: April 01, 2008, 07:33:46 PM »

Yes amule is using more cpu than before... although.. the same version of amule that used 60-70% of my cpu on a g4, used 3-5% on my macbook C2D Northbridge... The G4s spanked the Pentiums, but then intel redid the whole architecture in their core series. One example is their vector processor(sse): it handles 4 floats in its register now instead of 2. And no improvements were made on the G4 series since... 2002? Its an old processor. But i still agree. This recent version of amule sometimes makes my fan turn on for a few seconds. It averages about 5% of a core, but sometimes, especially early on, can take up to 60%. Im downloading about 20-30 files though and sharing more.
Logged

eisa01

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 100
Re: Mac OS X Optimizations
« Reply #2 on: April 01, 2008, 07:46:18 PM »

Yeah, I know it's very old, but I still think it should perform better. Surely simple file transfers shouldn't be that resource intensive. It's not like it's hashing all the time. I can after all play h264 in SD resolutions, and the PowerBook managed h264 in 720p at the time, and it wasn't that much faster.

I will upgrade at the next MBP revision though, not because of aMule but because of Word.

That's something to really complain about, I had a document at around 20 pages, with 100 footnotes, and it was almost impossible to write in it. I would write a few lines, and it would still spell out the words 1 minute after...
So, aMule is at least doing it better than Microsoft in the optimization department ;)
Logged

isulzer

  • Jr. Member
  • **
  • Karma: 2
  • Offline Offline
  • Posts: 62
Re: Mac OS X Optimizations
« Reply #3 on: April 01, 2008, 08:56:05 PM »

I never had that problem with Word on my G4... i suspect you should try to get another copy of office... that or just use iWork 08. I find it to run so much smoother.... and bug free :P
Logged