Many years ago I saw a thread about the importance of listing your server packages and actors properly.
Is this true? Does it make any difference?
ServerPackages=1
ServerActors=1
ServerActors=2
ServerPackages=2
or
ServerPackages=1
ServerPackages=2
ServerActors=1
ServerActors=2
Does it make any difference to the server, especially for performance in which order you list your packages and actors?
Order of ServerPackages and ServerActors
-
- Masterful
- Posts: 745
- Joined: Tue May 05, 2009 3:10 pm
- Personal rank: UT Survivor
-
- Godlike
- Posts: 3009
- Joined: Fri Sep 25, 2015 9:01 pm
- Location: moved without proper hashing
Re: Order of ServerPackages and ServerActors
AFAIK the ServerActors are spawned in order of occurrence. If there are dependencies (ServerActor A needs ServerActor B for example), the order may be relevant.
The order should have no performance effects, but this may depend on the actions the ServerActors do (if for example ServerActor A iterates over all Actors and ServerActor B removes all Actors, the total execution time of A and B might be lower if ServerActor B is loaded first. )
And about ServerPackages: AFAIK this are packages that are send to clients and loaded unconditionally. Above mentioned about dependencies may apply here, too.
(Maybe of interest: Wiki: Package map)
The order should have no performance effects, but this may depend on the actions the ServerActors do (if for example ServerActor A iterates over all Actors and ServerActor B removes all Actors, the total execution time of A and B might be lower if ServerActor B is loaded first. )
And about ServerPackages: AFAIK this are packages that are send to clients and loaded unconditionally. Above mentioned about dependencies may apply here, too.
(Maybe of interest: Wiki: Package map)
"If Origin not in center it be not in center." --Buggie
-
- Masterful
- Posts: 745
- Joined: Tue May 05, 2009 3:10 pm
- Personal rank: UT Survivor
-
- Adept
- Posts: 258
- Joined: Sat Aug 24, 2013 6:04 pm
Re: Order of ServerPackages and ServerActors
Interleaving those has no effect. ServerPackages are calculated into a package map, so order doesn't matter at all there. ServerActors are indeed spawned in exactly the order they are listed, but they are spawned at a time when UnrealScript is not yet active. As a result, they are initialized together with the map actors. On each initialization stage their events will most likely be called after those of the map actors.
-
- Masterful
- Posts: 745
- Joined: Tue May 05, 2009 3:10 pm
- Personal rank: UT Survivor
Re: Order of ServerPackages and ServerActors
Thanks Wormbo, interesting.
I'm also wondering what effect the settings below have:
[Engine.GameEngine]
CacheSizeMegs=64
Does this figure make a difference? It was 8 by default.
[Engine.Player]
ConfiguredInternetSpeed=20000
ConfiguredLanSpeed=65000
On some servers I have seen it like below:
[Engine.Player]
ConfiguredInternetSpeed=
ConfiguredLanSpeed=20000
Again, do these settings influence server performance or in game experience?
Thank you.
Piley
I'm also wondering what effect the settings below have:
[Engine.GameEngine]
CacheSizeMegs=64
Does this figure make a difference? It was 8 by default.
[Engine.Player]
ConfiguredInternetSpeed=20000
ConfiguredLanSpeed=65000
On some servers I have seen it like below:
[Engine.Player]
ConfiguredInternetSpeed=
ConfiguredLanSpeed=20000
Again, do these settings influence server performance or in game experience?
Thank you.
Piley
-
- Godlike
- Posts: 3009
- Joined: Fri Sep 25, 2015 9:01 pm
- Location: moved without proper hashing
Re: Order of ServerPackages and ServerActors
Unfortunately information about its propose and what it does is rare, but I have found some information what it is NOT for ^^:Pileyrei wrote:[Engine.GameEngine]
CacheSizeMegs=64
Does this figure make a difference? It was 8 by default.
(Source: http://www.techspot.com/tweaks/UTFAQ/index.shtml#What7).techspot.com wrote:Q: What is the CacheSizeMegs setting & what value should I use for it?
A: This is from the man, Tim Sweeney himself.
CacheSizeMegs does not cache textures, music, models, sounds, code or anything like that. Setting it to a higher value could perhaps even cause problems (if UT reserves this much memory on startup, then you could be wasting a lot of memory that has been reserved for caching only a small amount of data). Keep this value low.
8MB is the recommended maximum size you should set it. Although if you have 128MB RAM + you may want to try larger values (increases performance in some cases). Do not bother using formula's for deciding this value, 4 - 8MB is all that most users need.
Do these settings apply to a server at all?Pileyrei wrote:[Engine.Player]
ConfiguredInternetSpeed=20000
ConfiguredLanSpeed=65000
"If Origin not in center it be not in center." --Buggie
-
- Masterful
- Posts: 745
- Joined: Tue May 05, 2009 3:10 pm
- Personal rank: UT Survivor
Re: Order of ServerPackages and ServerActors
Hi Barbie
Thanks for this information.
I'm going to set Cachemegs back to 8 as Tim suggests.
Regarding:
ConfiguredInternetSpeed=20000
ConfiguredLanSpeed=65000
These are just settings currently applied to our servers which I don't really know what they are for.
Thanks for this information.
I'm going to set Cachemegs back to 8 as Tim suggests.
Regarding:
ConfiguredInternetSpeed=20000
ConfiguredLanSpeed=65000
These are just settings currently applied to our servers which I don't really know what they are for.
-
- Godlike
- Posts: 3009
- Joined: Fri Sep 25, 2015 9:01 pm
- Location: moved without proper hashing
Re: Order of ServerPackages and ServerActors
As I wrote: I doubt that these settings have any effects on server side. IMO if a client joins, it tells the server the amount of data that it can receive per time period ("ConfiguredXXXSpeed"). The server reduces or increases the amount of transmitted data ("NetPriority") depending on client's ConfiguredXXXSpeed. But better ask someone who knows details about this.^^Pileyrei wrote:ConfiguredInternetSpeed=20000
ConfiguredLanSpeed=65000
These are just settings currently applied to our servers which I don't really know what they are for.
For clients settings see also http://www.techspot.com/tweaks/ut/ut-tweak-11.shtml.
"If Origin not in center it be not in center." --Buggie
-
- Masterful
- Posts: 745
- Joined: Tue May 05, 2009 3:10 pm
- Personal rank: UT Survivor