View unanswered posts | View active topics It is currently Wed May 27, 2026 2:23 pm



Reply to topic  [ 5 posts ] 
 Extreme Lag Problem 
Author Message
Veteran Op
User avatar

Joined: Mon Jun 16, 2003 2:00 am
Posts: 639
Location: USA
Unread post Extreme Lag Problem
What would cause a server to have horrible lag "only" when there are a few players running scripts?

If all players are asked to halt scripting (combination of cashing & oreing) the lag is gone completely. If one player runs script.. speed is fine. But when 3 or more run.. lag is nasty.

As Ive heard before, when the script is at its most intensive or active (such as the part of the wsst that is actually xporting back and forth & cashing) lag is worse. When the player busts and is warping around searching for ports.. lag is much better.


Max commands set to high?
Server has small amount of bandwidth for some reason?


Wed Jan 21, 2009 4:49 am
Profile ICQ
Veteran Op
User avatar

Joined: Thu Jun 02, 2005 2:00 am
Posts: 5558
Location: USA
Unread post Re: Extreme Lag Problem
It can be a lot of things. But yea, the xport loop of turboSST is a bit of a CPU hog for older systems.

You need to get a bandwidth monitor like Freemeter:
http://sourceforge.net/projects/freemeter/

And run it to measure your bandwidth usage. Then use a test service to find what your output is.

While you're doing that, keep an eye on CPU load. If you're running XP there's a free one built into the control panel (administrative tools -> performance).

You can also just run w/ the task manager open and watch the CPU and ram usage. The goal is to keep your ram usage below your physical ram level, otherwise you will end up task swapping and slowing down.

Do all of that while people run around w/ scripts. Watch what apps spike, how long, etc. It could be anything. It could be a lack of ram, could be you're running on too little CPU, could be bandwidth, could be a firewall that's screwing up, could be a memory leak, whatever. Watch what happens and use that data to improve performance.

_________________
May the unholy fires of corbomite ignite deep within the depths of your soul...

1. TWGS server @ twgs.navhaz.com
2. The NavHaz Junction - Tradewars 2002 Scripts, Resources and Downloads
3. Open IRC chat @ irc.freenode.net:6667 #twchan
4. Parrothead wrote: Jesus wouldn't Subspace Crawl.

*** SG memorial donations via paypal to: dpocky68@booinc.com
Image


Wed Jan 21, 2009 6:02 am
Profile ICQ WWW
Gameop
User avatar

Joined: Sun Feb 05, 2006 3:00 am
Posts: 1262
Location: Miami,Florida: Beautiful And So Conveniently Close To The United States!
Unread post Re: Extreme Lag Problem
Posted By: mieszkolassota
Date: 2008-07-24 12:03
Summary: FreeMeter code stolen
Thanks to one of the users I've found out that FreeMeter code was stolen... mr. Nir Halowani violated GPL by putting modified version of FreeMeter called Cyber Bandwith Monitor. Not so long ago his modified version was distributed with key logger... Now it is installing Yahoo toolbar without your premission (it is very sad that a comapny like Yahoo! doesn't know that it is doing business with thieves).


http://sourceforge.net/forum/forum.php?forum_id=849469

Thanks Singularity....That's an interesting site and I appreciate the valuable link. As you can see, there is a theft problem with that software. We should be thankful that this kind of problem doesn't happen here at classictw.com. I did notice that that the person who stole the freemeter code had the decency to change the name of the program to another name, which of course, would avoid causing user confusion with the original program.

Sage :wink:

_________________
Team Ultimate TW Administrator
And Proud Member Of The Ultimate TW Community!
Come Join The Crowd!

UTW: 2003 - 2013


Wed Jan 21, 2009 7:44 am
Profile ICQ WWW
Veteran Op
User avatar

Joined: Thu Jun 02, 2005 2:00 am
Posts: 5558
Location: USA
Unread post Re: Extreme Lag Problem
Quote:
We should be thankful that this kind of problem doesn't happen here at classictw.com.


Oh come on. You know to keep smack in smack talk, leave this junk where it belongs.

_________________
May the unholy fires of corbomite ignite deep within the depths of your soul...

1. TWGS server @ twgs.navhaz.com
2. The NavHaz Junction - Tradewars 2002 Scripts, Resources and Downloads
3. Open IRC chat @ irc.freenode.net:6667 #twchan
4. Parrothead wrote: Jesus wouldn't Subspace Crawl.

*** SG memorial donations via paypal to: dpocky68@booinc.com
Image


Wed Jan 21, 2009 8:28 am
Profile ICQ WWW
Gameop
User avatar

Joined: Thu Mar 08, 2001 3:00 am
Posts: 886
Location: USA
Unread post Re: Extreme Lag Problem
i've been a longtime user of freemeter, even contributed bugfixes and stuff to the project. it's great software. sucks to have your code stolen like that.

another one i use a lot is process explorer. you can get cpu and memory graphs for individual processes. it also gives you a lot of control over threads and services. it was 'stolen' too, but in this case, microsoft just hired the lead developers and made them microsoft fellows. the software is still free and actively developed by the same guys.

_________________
twgs : telnet://twgs.thereverend.org:5023
web : http://www.thereverend.org
games : http://www.thestardock.com/twgssearch/i ... verend.org
helper : http://svn.thereverend.org:8080/revhelper/


Wed Jan 21, 2009 9:20 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by wSTSoftware.