Time to increase the tick rate?

Got a Glitch? Always Lagging? Need help with anything technical? Want to move off Windows XP?
User avatar
pooty
Posts: 4358
Joined: Sat Apr 03, 2021 10:22 am
Location: Michigan
Server Sponsor: Yes
Server Admin: Yes

Re: Time to increase the tick rate?

Post by pooty »

Tick Rate at 60.

I also adjusted these:
[IpDrv.TcpNetDriver]
ConnectionTimeout=20.0
InitialConnectTimeout=30.0

InitialConnectTimeout was 200 (seconds). I think both are too high still though. I mean if your client sends nothing for 20s with today's speeds...you've gone all Nautikal.
User avatar
captainsnarf
Posts: 2632
Joined: Tue Jul 06, 2021 1:51 pm
Location: Washington
Server Sponsor: Yes
Server Admin: Yes
Contact:

Re: Time to increase the tick rate?

Post by captainsnarf »

User avatar
pooty
Posts: 4358
Joined: Sat Apr 03, 2021 10:22 am
Location: Michigan
Server Sponsor: Yes
Server Admin: Yes

Re: Time to increase the tick rate?

Post by pooty »

60 is too high, pushing 80% cpu, seemed much laggier ot me, more unregs.

Did see huge data rates, esp on HSM, over 63 Mb/s.

We can try 50 tick rate tomorrow, So far 40 was pretty good.
User avatar
captainsnarf
Posts: 2632
Joined: Tue Jul 06, 2021 1:51 pm
Location: Washington
Server Sponsor: Yes
Server Admin: Yes
Contact:

Re: Time to increase the tick rate?

Post by captainsnarf »

Where do you see data rates at? I noticed everyone's ping looked 20ms lower tonight.
User avatar
Anonymous.
Posts: 352
Joined: Sat Jun 12, 2021 10:54 pm

Re: Time to increase the tick rate?

Post by Anonymous. »

pooty wrote: Sat Apr 22, 2023 9:51 amInitialConnectTimeout was 200 (seconds).
Could you lower it to 15? Still not confident it will kick the crashed client before the balancer. Also no news on 64 bit ucc?
User avatar
Super Sanka
Posts: 257
Joined: Mon Jan 10, 2022 7:12 pm
Location: Orlando
Contact:

Re: Time to increase the tick rate?

Post by Super Sanka »

Hmm whatever the tickrate on friday was (40?) seemed to be the best for me personally .
User avatar
pooty
Posts: 4358
Joined: Sat Apr 03, 2021 10:22 am
Location: Michigan
Server Sponsor: Yes
Server Admin: Yes

Re: Time to increase the tick rate?

Post by pooty »

Tick Rate at 50. Lets see how that goes. So far 40 seems to be the best.

60 was too high. Remember compared to DM servers, the vehicles (and their guns) also usually have tick function (meaning it runs every tick which is the number of times a second it gets called), so that drives up the CPU quickly.
Could you lower it to 15? Still not confident it will kick the crashed client before the balancer. Also no news on 64 bit ucc?
Lowered Connection timeouts to 15
User avatar
captainsnarf
Posts: 2632
Joined: Tue Jul 06, 2021 1:51 pm
Location: Washington
Server Sponsor: Yes
Server Admin: Yes
Contact:

Re: Time to increase the tick rate?

Post by captainsnarf »

pooty wrote: Sun Apr 23, 2023 7:34 am Tick Rate at 50. Lets see how that goes. So far 40 seems to be the best.

60 was too high. Remember compared to DM servers, the vehicles (and their guns) also usually have tick function (meaning it runs every tick which is the number of times a second it gets called), so that drives up the CPU quickly.
Vehicles do have a tick function, but it's not as bad as you'd think. Tick is enabled/disabled. If nobody is driving then there is no tick.

Code: Select all

simulated event DrivingStatusChanged()
{
    local PlayerController PC;

	PC = Level.GetLocalPlayerController();

	if (bDriving && PC != None && (PC.ViewTarget == None || !(PC.ViewTarget.IsJoinedTo(self))))
        bDropDetail = (Level.bDropDetail || (Level.DetailMode == DM_Low));
    else
        bDropDetail = False;

    if (bDriving)
        Enable('Tick');
    else
        Disable('Tick');
}
The other culprit is power nodes which have tick functions. A map like pandemonium might be harder on the server than massd.

I think HSH is harder on the server than most because the mechs are not very optimized for network play. They work, but I didn't try to make them work optimally. I'm sure they are making network calls they don't need to.
User avatar
pooty
Posts: 4358
Joined: Sat Apr 03, 2021 10:22 am
Location: Michigan
Server Sponsor: Yes
Server Admin: Yes

Re: Time to increase the tick rate?

Post by pooty »

Tick is enabled/disabled. If nobody is driving then there is no tick.
Mostly. I seem to remember one or two that had tick empty...but I think it was something worked on, I only remember because I had log function that was spamming the log even when unoccupied. Probably had override of Driving status changed. But yes, they shouldn't be ticking when empty no point.

The other thing is I would hope most are playing on more modern hardware. I have a newish laptop that just has integrated intel graphics and its pretty poor for UT2004 even (its an i7, but older). I don't play UT on it (its for vehicle tuning), but figured it'd be useful as a third client for testing...which works but the fps sucks-- its win11.. But my point is we might have players who's client has trouble with, Coldcut's 80386 excluded of course.
User avatar
captainsnarf
Posts: 2632
Joined: Tue Jul 06, 2021 1:51 pm
Location: Washington
Server Sponsor: Yes
Server Admin: Yes
Contact:

Re: Time to increase the tick rate?

Post by captainsnarf »

50 Tick rate might still be too high. We are still getting 80% spikes (I think that was massd).
Post Reply