Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 04-11-2007, 06:58 AM
herold's Avatar
herold
Sarnak
 
Join Date: Jan 2004
Location: Denmark
Posts: 58
Default How many static zones?

If one were to cut static zones down to how much RAM and CPU 1 static zone uses, what would those numbers be? Anyone have a qualified guess or, even better, does anyone know?
__________________
Government big enough to supply everything you need is big enough to take everything you have ...
The course of history shows that as a government grows, liberty decreases.
- Thomas Jefferson
Reply With Quote
  #2  
Old 04-11-2007, 08:11 AM
Kayot
Discordant
 
Join Date: Sep 2006
Location: Subsection 185.D354 C.12
Posts: 346
Default

I bump this question and fortify it with a better set of questions.

2.0ghz CPU

128 mb -
256 mb -
384 mb -
512 mb -
640 mb -
768 mb -
896 mb -
1024 mb -
1152 mb -
1280 mb -
1408 mb -
1536 mb -
1664 mb -
1792 mb -
1920 mb -
2048 mb -

1.0ghz CPU

128 mb -
256 mb -
384 mb -
512 mb -
640 mb -
768 mb -
896 mb -
1024 mb -
1152 mb -
1280 mb -
1408 mb -
1536 mb -
1664 mb -
1792 mb -
1920 mb -
2048 mb -

Maybe an equation?
__________________
If at first you don't succeed destroy all evidence that you ever tried.

God doesn't give second chances... Hell, he sets you up the first time.
Reply With Quote
  #3  
Old 04-12-2007, 04:19 PM
techguy84's Avatar
techguy84
Discordant
 
Join Date: Apr 2007
Location: Somewhere Safe
Posts: 453
Default

This would be hard to do as there are many varibles.

First off you would need a base OS, something that we all know what mem usage is for it. For example, If i ran world in Linux, it uses less ram then world in XP or vista due to the lack of native Dos support. (Dont quote me on that, Im not sure if its right) but you kind get my drift.

Secondly, a 2 Ghz Processer from Intel is different from one from AMD. Core 2 Duo is different from Athlon, ect.

But on my current rig, with Win XP pro SP2, Core 2 Duo e6300 at 1.8Ghz, and 1 GB of ram, World uses roughly 32mb of ram and zone uses 12mb per instance.

I dont think that these numbers are goign to change per amount of ram in the computer. Amount is just going to limit the number of zones you can run after your consume part of available with world.


I may be completely off on the question that the OP asked, but I think i got it right.


Edit---------

Interestingly enough, I went back and started more zones and got mem readings off of them. The first zone like I said uses 12mb, but each zone after that only uses 6.2mb of ram, go figure. Also these zones are sleeping, as there is probably different mem usages for zones under load of course.

Last edited by techguy84; 04-13-2007 at 12:24 AM..
Reply With Quote
  #4  
Old 04-12-2007, 07:26 PM
herold's Avatar
herold
Sarnak
 
Join Date: Jan 2004
Location: Denmark
Posts: 58
Default

Actually that was pretty good ... maybe I should try and ask the PEQ team for their stats?
__________________
Government big enough to supply everything you need is big enough to take everything you have ...
The course of history shows that as a government grows, liberty decreases.
- Thomas Jefferson
Reply With Quote
  #5  
Old 04-12-2007, 07:45 PM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

PEQ is running P4 3.2GHz HT with 2GB of RAM on Gentoo.

We are running 93 zones total, 20 dynamic 73 static. Average number of players is between 60-120 during peak hours, and no lower than 30 during non-peak hours.

Current constant load with 32 players on is: 9.29, 12.60, 17.43, with spikes in the mid 20s. Though, normally at peak hours the constant load is closer to 24-30, with spikes into the upper 40s/lower 50s. This includes times when the two largest guilds on the server are raiding.

We currently have 250MB of memory free, but I have found that free memory fluctuates a ton of PEQ. There are even times when we are below 50MB free, though the CPU load seems to be the most important factor when determining server performance. Overall, in-game performance is terrific on PEQ and the two hints I can give other server ops are:

1. Remove the -pg option from zone's and eqlaunch's makefile. It makes a HUGE difference in regards to CPU load.

2. Get as much bandwidth as you can afford, there is no such thing as "enough"

Overall, I feel I could probably get another 20 or 30 static zones out of PEQ before it approaches its limit, keeping in mind the growing player base.

Hope this helps.
Reply With Quote
  #6  
Old 04-12-2007, 10:22 PM
herold's Avatar
herold
Sarnak
 
Join Date: Jan 2004
Location: Denmark
Posts: 58
Default

Quote:
Originally Posted by cavedude
1. Remove the -pg option from zone's and eqlaunch's makefile. It makes a HUGE difference in regards to CPU load.
woot ... thanks Cave ... but what is this "-pg"? And where do I remove this from?
__________________
Government big enough to supply everything you need is big enough to take everything you have ...
The course of history shows that as a government grows, liberty decreases.
- Thomas Jefferson
Reply With Quote
  #7  
Old 04-13-2007, 01:39 AM
paaco
Discordant
 
Join Date: Jan 2005
Posts: 320
Default

For a windows Comparison, which really isn't very good. On an Athlon 2200 with 1 gig of ram on Windows 2k3 Server Enterprise Edition I was booting 30 zones with no prob. I honestly don't remember the ram usage as it's been a while. But it in no way lagged players or the server that I could tell. I also never had over 14 people on at once. But like I said it never ran out of ram booting the zones.

If you are going to be running a server on Windows I would highly recommend you strip a windows 2003 install down as much as possible and use it. It uses about 200 less ram than Windows xp, and I don't believe I ever had a crash on it. Although it was relatively clean. All I had on it was my compiler prog and the eqemu server.
Reply With Quote
  #8  
Old 04-13-2007, 07:08 AM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

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.
Reply With Quote
  #9  
Old 04-13-2007, 09:42 AM
koldar
Sarnak
 
Join Date: Dec 2004
Posts: 45
Default

When the static zones load, I can see which ones are loading. For dynamic I only see 'dynamic_1'. Is there a way to see specifically which zones are getting loaded dynamically?

That is pretty cool though. I thought loading 30 zones would suck more ram but I'm sitting under 300mb used, OS included (windows xp).
Reply With Quote
Reply

Thread Tools
Display Modes

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 10:09 AM.


 

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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3