aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: ./configure optimization options  (Read 5378 times)

Axl_Mas

  • Jr. Member
  • **
  • Karma: 1
  • Offline Offline
  • Posts: 73
./configure optimization options
« on: June 05, 2005, 02:31:24 AM »

Normally when i compile amule i use this setting:

./configure --disable-debug --enable-optimize  

But as  -enable-optimize work?

This settings can help me to improve my amule system performances?

Tnx!

 ;)
Logged

thedude0001

  • evil bugfinder ;)
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 827
Re: ./configure optimization options
« Reply #1 on: June 05, 2005, 08:04:08 AM »

Not sure if I understand you right here: You want to know if and how --enable-optimize works?

Yes, it does work. And it does simply tell your compiler to use the -O2 flag when compiling the source. This means it will try to produce optimized code up to a certain level (therefor the "2").
More detailed information can be found here: http://gcc.gnu.org/onlinedocs/gcc-3.4.4/gcc/Optimize-Options.html#Optimize-Options
Logged
Das Schlimme auf dieser Welt ist
daß die Dummen so selbstsicher sind
und die Gescheiten so voller Zweifel.

ken

  • Hero Member
  • *****
  • Karma: 4
  • Offline Offline
  • Posts: 825
RE: ./configure optimization options
« Reply #2 on: June 05, 2005, 09:00:41 AM »

Quote
Originally posted by Axl_Mas
This settings can help me to improve my amule system performances?
Well, it will probably make aMule use slightly less cpu time.

It will almost certainly not improve the rate at which you download or upload files with aMule.  That is limited by network I/O between you and other clients, not by your cpu.
Logged

Axl_Mas

  • Jr. Member
  • **
  • Karma: 1
  • Offline Offline
  • Posts: 73
Re: ./configure optimization options
« Reply #3 on: June 09, 2005, 12:35:57 PM »

Ok, the some thing that i think!
Logged

Axl_Mas

  • Jr. Member
  • **
  • Karma: 1
  • Offline Offline
  • Posts: 73
Re: ./configure optimization options
« Reply #4 on: June 10, 2005, 12:19:35 AM »

Another question.......... and the --enable-optimise option?

The help say that it is deprecated, it means that make amule instable?
Logged

ken

  • Hero Member
  • *****
  • Karma: 4
  • Offline Offline
  • Posts: 825
Re: ./configure optimization options
« Reply #5 on: June 10, 2005, 06:30:47 AM »

No, "--enable-optimize" and "--enable-optimise" are exactly the same, just with different spellings.  To avoid confusion, we've decided to eliminate the duplication and standardize on the spelling with 'z'.  Deprecated just means "the old way, which we will someday eliminate, so plan to stop using it soon".  :)
Logged

Axl_Mas

  • Jr. Member
  • **
  • Karma: 1
  • Offline Offline
  • Posts: 73
Re: ./configure optimization options
« Reply #6 on: June 10, 2005, 10:18:47 AM »

Quote
Originally posted by ken
No, "--enable-optimize" and "--enable-optimise" are exactly the same, just with different spellings.  To avoid confusion, we've decided to eliminate the duplication and standardize on the spelling with 'z'.  Deprecated just means "the old way, which we will someday eliminate, so plan to stop using it soon".  :)

Ok thanks!
Therefore now i am fully optimized!!!!!!!!!!!
It is a great satisfaction for me!
 :D

Bye!
Logged