Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Support > Archive::Linux Servers

Archive::Linux Servers Archive area for Linux Servers's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 06-16-2002, 03:38 AM
bot403
Sarnak
 
Join Date: May 2002
Posts: 52
Default Zoneserver speedup

i noticed that the zoneservers arent compiled with a -O3 flag in linux. I recompiled using these optimizations and my zoneservers seem MUCH better. was it left out for a reason? or was it an oversight? Maybe im missing some danger in that much optimization, but it works for me, so if you'd like to include it in the next Linux release i think the zoneservers would be a LOT faster.
__________________
-------------------------
ServerOP- Botworld
-------------------------
Reply With Quote
  #2  
Old 06-16-2002, 05:15 AM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

Check my post a few months ago on optimzing linux binaries, and optimzing the game on a linux box.. You can actually add quite a few more inline optimizations when compiling. I also included some tips on recompiling your mysql server for better performance.

Another big one is that the compile arch. flag is set for i386 in the makefile. This is the most compatible, but is missing ALOT of newer architecture hooks.

In addition. Consider installing and compiling with gcc3.1, one, you can use the new CPU specific flags (march=athlon, athlon-mp, athlon-xp,etc) , PLUS, 3.1 binaries are an average of 15% faster in performance. (still not as good as intels compiler, but gcc is getting there).

http://forums.eqemu.net/showthread.p...p;threadid=980


This has been a few months back, so there are better optimizations available, especially with the new gcc . (Its been a bit buggy, but I HIGHLY recommend it. I've recompiled a good deal of my system with it and Im impressed by the differences. Also, if your into performance, go with the gentoo distro, it will compile everything from source with current optimization flags (problem with most linux distro's these days is theyre compiled using i386 flags for maximum portability, and no optimization). The portage system makes it EXTREMELY easy to rebuild and upgrade packages.

Just my findings, but I can tell you they made a BIG difference on my systems.

And of course, YMMV.

Good luck!
Reply With Quote
  #3  
Old 06-18-2002, 12:46 AM
bot403
Sarnak
 
Join Date: May 2002
Posts: 52
Default

thanks ill look into it
__________________
-------------------------
ServerOP- Botworld
-------------------------
Reply With Quote
  #4  
Old 06-20-2002, 12:30 AM
bot403
Sarnak
 
Join Date: May 2002
Posts: 52
Default

hmmm gcc 3.1 seems to break all my builds.....even with your changes suggested from the previous thread. It reports ALOT of errors....how can i fix it? Have you had success with gcc 3.1? I get alot of undeclared function names and parse errors before the ";". What can i do to make it compile with gcc 3.1?
__________________
-------------------------
ServerOP- Botworld
-------------------------
Reply With Quote
  #5  
Old 06-20-2002, 02:23 AM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

Actually, I take that back. The last time I compiled it, I compiled it with gcc3.0.4. All my other code compiles fine when I switched from gcc3.0.4 to 3.1, i think I assumed this ported transparently too. I'll dig around and see what I can come up with...
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 09:46 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3