PDA

View Full Version : Must I be LAG master?


DayenTech
7th December, 2002, 11:29 PM
I got my dedicated server to run. WebAdmin works too. I connect to my server and I ping 250 WTF? I LAG real bad and then I have even lost my connection to my server Pinging 999. Is there something I am missing here? How can I tweak my server to smoothe it out. Server currently running at 12.111.226.248.

DayenTech

SnapsProvolone
7th December, 2002, 11:51 PM
Your MaxClientRate is set to 10000 right now I think. I was on your server with a 110 ping, but when I started moving around I would get packet loss. What type of internet connection is this server on and did you intend to use that rate? Maybe try a per client rate of 5000 and see if that fixes the problem.

[code:1:4250fe4a0c][IpDrv.TcpNetDriver]
MaxClientRate=5000[/code:1:4250fe4a0c]

Take the available bandwidth you have allotted to the server in BYTES per second and divide it by the number of connections you will allow. This will give you an idea of where your rate should be, it's always good to run a little lower than your calculation shows to allow for overhead.

Also the problem could be a faulty network design. Please don't tell me you have a hub or some sort of cable router. Hubs cause packet loss due to collisions, switches don't have this problem, so check your ethernet segments for your server.

DayenTech
8th December, 2002, 04:14 AM
I am on a T1 line. I intend to have at least 16 players for the server. I will try changing the settings you suggest. I do not have a router or hub between the computer and the T1. Any other tweaks and or tips you can give me to optimze would be greatly appreciated.

Well I tried it and it seemed to make no difference what so ever.....sigh
If there is any other information I can give that would help me solve this problem please let me know. I was still pinging 999 when I connected.

Thank you,
DayenTech

SnapsProvolone
8th December, 2002, 06:48 AM
Ok, let me get a better idea of what your setup is.

What kind of hardware (CSU/DSU) Switch, Router etc is used to hook up the T1 to the server. What type of connection is the client PC using to connect to the server. Any switches, routers, hubs, or full duplex ehternet setups?

Here is how I am setup:

I have Road Runner cable with 384 kbit upstream (I run 10 players by 4000 bytes/sec)

My UT2003 server has two NIC's, one hooked to my cable modem (WAN switch), one hooked to my LAN switch. Both are setup to autodetect duplex. Note: Full Duplex may cause problems with some setups, best not to force full duplex on your ethernet unless you really know what your doing.

I left the tick rates at the defaults in UT2003 dedicated server.

My PC (the UT2003 Client) uses the LAN address to connect to my own server as there is no reason going out my Cable line, bouncing off their router and back into my server.

My server seems to do very well for people on the net, and I have no problems here on my LAN.

I'll keep pondering the problem, but I am really lacking a picture of what your setup is there and I am starting to suspect a possible hardware configuration issue. (Please say you have good patch cords LoL)

DayenTech
8th December, 2002, 09:45 PM
I have a Net Gear Switch between the T1 and my dedicated server.
I have two NIC cards and the dedicated IP address I use: 12.111.226.248 for UT2003 and 12.111.226.249 for my Quake III servers.
I run a Dual AMD Athlon MP1800 on a Tyan Tiger MB with 1GB of pc2100 ECC DDR RAM.
I have Two 8GB 10,000rpm Ultra SCSI 160 Hard Drives on an Adaptec SCSI PCI card. I also have a 20GB UDMA100 Western Digital I use for misc. storage. I am running XP Pro currently (Though I am thinking about going back to 2000 Server.)
I have even given the UT2003 server more priority than the Quake Servers. Although I am new to the UT2003 config, I do really well with all the settings so far. But something is missing. I know I do not have bad wiring either. I have been running my Quake servers on the same dedicated box for over a year now. I have also been running Quake servers pretty much since it came out. My Quake servers do not have a problem with ping. Please drop by my website if you get a chance to take a look for yourself. WWW.DayenTech.net
I do not host the webpage from the T1. I bought space through another company. I just turned off my FTP server on the dedicated server too. I do run my own STATS for Quake III currently through Mysql which is on my game server. I downloaded the dedicated server version of UT2003 online. I installed the patchs in the correct order. I went over all the help files and tutorials. I ping 35- 50 on my Quake servers but the UT2003 server I cannot go below 250. It is impossible to play for me. I also do not see it on the server list in the internal game server, but I can connect to it if I enter the IP address. My webadmin for the server works fine too.
The machine I use to play is not the dedicated server I use for quake and Unreal either.

Anything else you want to know just let me know.

Thank you,
DayenTech

SnapsProvolone
9th December, 2002, 01:05 AM
Well I run my dedicated server on Windows XP Pro, Athlon XP 1800 with 512 MB DDR. I haven't had any problems. I assume the Netgear Switch is unmanaged? I also don't know if you have checked but are the NIC's running half duplex? I have had some NIC's autosense full duplex but then they have problems. Do you have the UT 2003 2136 patch installed on the dedicated server?

Otherwise I am stumped.

x-drex
9th December, 2002, 11:28 PM
I have a similar issue. I have 2 boxes both running off pro-cable 3.5Mbps down 384Kbps up.
I have no problem playing on any server other then my own via the internet, connecting to my own via internet causes all hell to break loose on my server. I lagg horrably 200-300 ping and the server starts spitting out tons of errors about my client machine.

No one else on my server has an issue with it that I am aware of. Now what i did to work around it was throw a backside network in (two cards per machine) and connect via lan rather then over the net and then I don't have any of the issues I have using the net. The odd thing is that the cable connection comes in to a switch and then to the machines, so i basicly have the same 100 mb connection front side or back but the internet side lags.


*shrug*

X-Drex

SnapsProvolone
10th December, 2002, 10:19 PM
The odd thing is that the cable connection comes in to a switch and then to the machines, so i basicly have the same 100 mb connection front side or back but the internet side lags

You are going out the cable modem and bouncing off the Router. Check the two machines internet NIC config, you should see that they are NOT in the same subnet, thus to communicate the packets must go thru the cable companys router. If the Default Gateways are the same then you can do as you said and not have to bounce thru the cable.

DayenTech
14th December, 2002, 05:42 AM
I am getting no where here. I have tried numerous ways. Reinstalled, Defragged, removed my second net card, tried a dedicated demo server through the in game, tried full version start dedicated server in game, tried reinstalling the dedicated server again and I also uninstalled my firewall. The ping to my "servers" still sucks. It is totaly unplayable. So I am going to post my server config files, log files and batch files here one at a time and hope that you can tell me what to add, what is missing, what needs to be tweaked or what port needs to be reopened. I am desperate here......sigh

First off I will post my batch file:

@<hidden> off
:10
start "UT2003-Server" /AboveNormal /wait ucc server DM-Antalus.ut2?Game=XGame.XDeathMatch?GameStats=True?AccessControl=XAdmin.AccessControlIni?mutator=UnrealGame.MutLowGrav
?weaponstay=true?timelimit=15?fraglimit=61?minplayers=4?bAutoNumBots=True?mutator=XGame.MutInstagib?AdminNamepasswordhere?AdminPassword=passwordhere? ini=ut2003.ini log=UT2003server_1.log multihome=12.111.226.249 port=7778 copy UT2003server_1.log servercrash.log
goto 10


Is there anything that needs to be added or removed? Are there memory settings I can add to improve performance. Example, I run my Quake III servers and in my batch file and server config, I can assign the max ammount of ram for the server to use..... com_hunkmegs "128" com_zonemegs "32"

Also one other thing I am curious about......in the ut2003.ini file, can I copy this, rename it server1.ini and remove alot of the extra in game settings I know a dedicated server wont need? Or does it even matter if it is in there or not?

:(
DayenTech