General Questions - Iteration wEaViL - Thu Feb 20, 2003 11:21 pm Post subject: Iteration
Hmm I'm sleepy but anyways, I looked through the FAQ and didnt see anything to help with this.. My server dos windows sometimes pops up a message saying Slow Iteration warning : 4234ms what do I need to do to cure this?
k0zy - Fri Feb 21, 2003 6:45 am Post subject:
To cure this u need a faster pc...
Or try closing all progs that run in background and just leave the server allone.
Bob Dole.. Bob Dole... Bob Dole...... bob dole.... bob... dole....
Mine GO BOOM - Fri Feb 21, 2003 8:17 am Post subject:
Technically reason follows:
The subgame works inside a big while loop, never slowing down, even if it has nothing to do (why it uses 100% cpu.) The linux server doesn't "work" unless it has to (why it uses <1% cpu.) So if another process is trying to do something the same time your server is (say Continuum, another 100% cpu using program), one of them fights it out, wins, and gets some of the CPU time. Then maybe another program gets some time, etc, so your server is just sitting there waiting to get processing time. Finally it gets it, and it checks the last time the loop ran through (note that during its loop, it can be paused for another program to operate more than once), and notices a HUGE delay, so it tells you.
Why is this bad? Well, only once during it loop does it do each event. So say you had a timer going, and you got a 5000 ms delay. Well, for 5 seconds, if you had the timer going off then, you'd get a 5 second delay. Most packets to be sent out would end up being sent really late, so everyone who connects to your server may end up getting a huge ping spike. So those that lagged already, they'd most likely get kicked for no data, though it would be the server's fault.
How to fix: Don't run other programs that attempt to suck up your CPU time unless your machine can handle it. Running subgame/subbill on a 200mhz machine will cause this. Running 10 subgames on a 1ghz will cause this. Etc
wEaViL - Fri Feb 21, 2003 8:39 am Post subject:
Hmm thats odd, I have my server set up so that even with all the other programs my comp runs my cpu usage is never near 100%. I am running the server on a Win 98 sys with a 1.47ghz Athlon 1700+XP cpu, 256 ddr 233mhz ram, and a ata 133 60 gig drive. So it shouldnt be like that. I ran this zone off a 233mhz pentium before and never had that problem
Dr Brain - Fri Feb 21, 2003 9:56 am Post subject:
Pressing Ctrl+Alt+Delete and waiting 4 secs to close the dialog will do this (95/98/ME anyway).
mister_manners - Fri Feb 21, 2003 10:42 am Post subject:
nah, that just run 24 instances of task manager 4 XP
Dr Brain - Fri Feb 21, 2003 12:41 pm Post subject:
LOL, i meant waiting 4 secs before you press cancel, NOT holding it for 4 secs. And It was also on 95/98/ME not 2000/XP