Quote:
Originally Posted by herold
woot ... thanks Cave ... but what is this "-pg"? And where do I remove this from?
|
I'm sorry, I should have mentioned that option only applies if you are running Linux. If you are using Linux, go to the zone and eqlaunch source folders, and open each makefile with a text editor. Do a search for -pg and remove it from both. Save the file, and compile. PEQ noticed a 80% drop in CPU load after I did that.
I do recommend Linux over Windows for larger servers. Much of the code was written with *nix in mind, and so therefore is a bit more functional and a lot more stable. Smaller servers can easily use both, however. I keep a Windows based internal server and a Linux based one here that mimics PEQ as well as it can. I am surprised by the number of functions that work on Linux but don't on Windows.
Some further notes, PEQ's installation of Gentoo does not have a gui, it is bash prompt only. That is one of the secrets to its low load, especially considering the PEQ website/forums and all the devel tools run on the same box.
I did also want to touch base on memory usage a bit more. I have noticed the individual zones use minimal memory (between 10MB and less than 1MB) It's MySQL that chews up the most memory, especially when zones are being loaded. PEQ still runs MySQL 4.0, though my one Linux box shows similar results (on a much smaller scale mind you) with MySQL 5. Again, you also need to keep in mind the website, forums, and development tools all tap into MySQL as well, so there is a bit of extra load there as well.
CPU usage is mainly chewed up by the individual zones (MySQL only uses CPU when a dynamic zone is booting) During that phase, I will also see eqlaunch appear on top as well. But a more detailed breakdown of zone usage is as follows:
Unbooted dynamic zones or static zones with no players on: 0.1%
Booted dynamic or static zones with a couple of players on, minimal activity: 0.1% to no more than 1%
Same situation with a hunt going on : < 1% to 2% - 3%
Heavily populated zone with minimal activity: (On PEQ, PoK has seen 35-40 players): 1% - 7%
Heavily populated zone with hunting going on: 2%-3% to 10%
Heavily populated raid: Fluctuates a ton, average seems to be 17% with much higher spikes (sometimes 50%+), and occasional drops to allow a zone to boot. Interesting thing to note, PEQ has two raiding guilds. When they raid at the same time in two separate zones, one zone will hang at around 17%, and the other will stay steady at 10%. Every now and again, they flip. In-game performance seems to be mostly smooth for both guilds. I am not sure if this load balancing is a function of Gentoo, EQEmu, or both.