Server performance improvements/optimization?

Hey Guys,

first i want to apologize you for my Bad english, but i give my best.
At the moment Im a supporter by a pve Rust Server with 100 Players at the prime time. 

We have changed our Server requirements to:
AMD Ryzen 7 5800x with 32 GB RAM
2x 240 GB SSD and 2Gbit/DSL

We have a lot of Plugins and making at the Moment every 2 Months a Map-Wipe.
At the Prime-Time  drops our FPS von 160 down to 24 and less. 

We thinking about the best Solution we can go to holding the Frames up, with much Plugins as possible. 
Give it any Options to optimize the Server for Rust (i mean we know that Rust is using most of the Time just one CPU Core)?

More Server Informations (at the Moment):
393311 Entities - 4.000 Normal Map Size - over 70 Plugins
last Map-Wipe over 2 Weeks ago

Following Options we are Thinking about:
- Map-Wipe Every Months
- Map-Slots from max. 100 to 80(or less)
- less Plugins
- Limit for Placing Objects
- Other Server CPU or more RAM

Thanks for reading and thanks for your Help!
Let me know - if you need more Server Informations.

best regards ~ HaVanna

You have nearly 400 thousand entities, that is quite a lot. Maybe one of your plugins is causing an entity leak?

kBlHTe8QzEpvs04.png 0x89A

You have nearly 400 thousand entities, that is quite a lot. Maybe one of your plugins is causing an entity leak?

That could be possible, but we haven't any Idee which Plugin it can be.
We tests all our Plugins one by one on a Test-Server, but without a real Stress-Test.

I guess you have an better overview about Plugins as we have.

01 "Admin Deep Cover" (2.2.7) by Dana (0.08s) - AdminDeepCover.cs
02 "AdminHammer" (1.12.0) by mvrb (0.08s) - AdminHammer.cs
03 "Admin Radar" (5.1.0) by nivex (7.38s) - AdminRadar.cs
04 "Automated Events" (1.0.10) by k1lly0u/mspeedie/Arainrr (0.32s) - AutomatedEvents.cs
05 "Backpacks" (3.4.0) by LaserHydra (6.23s) - Backpacks.cs
06 "Back Pumpjack" (1.4.7) by Arainrr (0.36s) - BackPumpJack.cs
07 "Better Chat" (5.2.3) by LaserHydra (1.67s) - BetterChat.cs
08 "Better Chat Mentions" (1.2.3) by Death (0.02s) - BetterChatMentions.cs
09 "BetterLoot" (3.5.3) by Default (2.16s) - BetterLoot.cs
10 "BGrade" (1.1.3) by Ryan / Rustoria.co (0.66s) - BGrade.cs
11 "Blueprint Manager" (1.1.4) by Orange (0.60s) - BlueprintManager.cs
12 "BotSpawn" (2.1.1) by Steenamaroo (102.72s) - BotSpawn.cs
13 "Bypass Queue" (1.0.2) by Orange (0.00s) - BypassQueue.cs
14 "Car Lock UI" (1.0.1) by WhiteThunder (0.30s) - CarLockUI.cs
15 "Chinook Drop Randomizer" (1.5.1) by shinnova/Arainrr (0.38s) - ChinookDropRandomizer.cs
16 "Clans" (0.1.55) by k1lly0u (0.15s) - Clans.cs
17 "Crafting Controller" (2.5.6) by Mughisi/nivex/Whispers88 (0.02s) - CraftingController.cs
18 "CustomDecay" (1.0.2) by Wizera (2.12s) - CustomDecay.cs
19 "Dangerous Treasures" (2.1.5) by nivex (10.38s) - DangerousTreasures.cs
20 "Discord Events" (1.2.0) by MON@H (0.17s) - DiscordEvents.cs
21 "DiscordMessages" (2.1.3) by Slut (0.04s) - DiscordMessages.cs
22 "Discord Messages Chat" (1.0.4) by Slut (0.04s) - DiscordMessagesChat.cs
23 "EasyRules" (1.0.1) by Lockdown (0.10s) - EasyRules.cs
24 "Errors Logger" (1.0.3) by Orange (0.00s) - ErrorsLogger.cs
25 "Extended Recycler" (1.1.0) by Orange (0.33s) - ExtendedRecycler.cs
26 "FancyDrop" (2.9.2) by FastBurst (1.42s) - FancyDrop.cs
27 "Fast Ovens" (1.0.6) by Orange (3.43s) - FastOvens.cs
28 "Furnace Splitter" (2.3.1) by FastBurst (4.66s) - FurnaceSplitter.cs
29 "Furnace Stopper" (1.0.7) by Orange (0.01s) - FurnaceStopper.cs
30 "Gather Manager" (2.2.74) by Ryan (0.59s) - GatherManager.cs
31 "Giveaways" (2.0.8) by k1lly0u (0.08s) - Giveaways.cs
32 "GPay" (2.0.2) by Soccerjunki (0.01s) - GPay.cs
33 "GUIAnnouncements" (2.0.3) by JoeSheep (6.83s) - GUIAnnouncements.cs
34 "Hackable Lock" (2.0.0) by Ryz0r (0.01s) - HackableLock.cs
35 "HitIcon" (2.0.0) by FastBurst (0.77s) - HitIcon.cs
36 "HomeCasino" (1.0.1) by CASHR (0.22s) - HomeCasino.cs
37 "Image Library" (2.0.54) by Absolut & K1lly0u (0.71s) - ImageLibrary.cs
38 "InfoPanel" (1.0.4) by Default (58.18s) - InfoPanel.cs
39 "Instant Craft" (2.1.4) by Orange (0.35s) - InstantCraft.cs
40 "Kill Feed" (1.18.0) by Tuntenfisch (26.04s) - KillFeed.cs
41 "Kits" (3.3.1) by Reneb (0.24s) - Kits.cs
42 "Loading Messages" (1.0.6) by CosaNostra/Def (0.82s) - LoadingMessages.cs
43 "Lock Master" (1.0.4) by FastBurst (2.18s) - LockMaster.cs
44 "Loot Bouncer" (1.0.4) by Sorrow/Arainrr (0.46s) - LootBouncer.cs
45 "Loot Multiplier" (1.2.2) by Orange (0.14s) - LootMultiplier.cs
46 "Marker Manager" (2.1.1) by Orange (0.09s) - MarkerManager.cs
47 "NightVision" (1.4.0) by Jake_Rich (0.37s) - NightVision.cs
48 "No Flykick" (1.3.3) by August (0.02s) - NoFlykick.cs
49 "No Give Notices" (0.3.0) by Wulf (0.00s) - NoGiveNotices.cs
50 "NTeleportation" (1.3.2) by Author Nogrod, Maintainer nivex (0.47s) - NTeleportation.cs
51 "Performance Monitor" (1.2.4) by Orange (0.00s) - PerformanceMonitor.cs
52 "PermissionsManager" (2.0.4) by Steenamaroo (0.12s) - PermissionsManager.cs
53 "PlaneCrash" (0.1.115) by k1lly0u (0.95s) - PlaneCrash.cs
54 "PlayerAdministration" (1.6.2) by Pho3niX90 (0.08s) - PlayerAdministration.cs
55 "PlayerRankings" (3.0.2) by Ankawi (0.25s) - PlayerRankings.cs
56 "PlayingCards" (0.1.2) by k1lly0u (0.06s) - PlayingCards.cs
57 "Casino" (0.1.6) by k1lly0u (1.36s) - Casino.cs
58 "BlackJack" (0.1.6) by k1lly0u (0.10s) - BlackJack.cs
59 "Playtime Tracker" (0.1.7) by k1lly0u (1.00s) - PlaytimeTracker.cs
60 "Popup Notifications" (0.2.0) by emu / k1lly0u (0.06s) - PopupNotifications.cs
61 "Quarry Locks" (1.2.0) by Orange (0.02s) - QuarryLocks.cs
62 "Random Respawner" (1.2.3) by Egor Blagov/Arainrr (0.00s) - RandomRespawner.cs
63 "RandomSpawns" (0.2.3) by k1lly0u (0.23s) - RandomSpawns.cs
64 "Remover Tool" (4.3.23) by Reneb/Fuji/Arainrr (0.11s) - RemoverTool.cs
65 "Rust Admin" (1.0.1) by misticos (0.00s) - RustAdmin.cs
66 "Save Announcer" (1.0.4) by Ryan (0.03s) - SaveAnnouncer.cs
67 "ServerInfo" (0.5.4) by FastBurst (0.23s) - ServerInfo.cs
68 "Server Rewards" (0.4.73) by k1lly0u (14.89s) - ServerRewards.cs
69 "Server Status" (1.3.0) by UNKN0WN (0.10s) - ServerStatus.cs
70 "Sign Artist" (1.2.6) by Whispers88 (0.01s) - SignArtist.cs
71 "Skins" (2.1.2) by Iv Misticos (1.97s) - Skins.cs
72 "SkipNightUI" (0.1.2) by k1lly0u (6.85s) - SkipNightUI.cs
73 "Smart Chat Bot" (2.0.13) by Iv Misticos (0.03s) - SmartChatBot.cs
74 "SmoothRestart" (1.2.5) by Fujikura/Visagalis (0.39s) - SmoothRestart.cs
75 "Speed Type" (1.1.5) by TMafono (0.03s) - SpeedType.cs
76 "Stack Size Controller" (2.0.3) by Canopy Sheep (0.02s) - StackSizeController.cs
77 "Timed Events" (1.1.1) by Orange (0.30s) - TimedEvents.cs
78 "TimeOfDay" (2.3.4) by FuJiCuRa (0.00s) - TimeOfDay.cs
79 "TruePVE" (1.2.0) by nivex (27.14s) - TruePVE.cs
80 "Vanish" (1.3.8) by Whispers88 (33.51s) - Vanish.cs
81 "Vehicle Deployed Locks" (1.0.0) by WhiteThunder (0.20s) - VehicleDeployedLocks.cs
82 "Welcomer" (1.5.1) by Tricky (0.09s) - Welcomer.cs
83 "ZombieHorde" (0.2.15) by k1lly0u (10.81s) - ZombieHorde.cs
84 "Zone Manager" (3.0.18) by k1lly0u (87.52s) - ZoneManager.cs
85 "Zone PVx Info" (1.0.2) by BuzZ[PHOQUE]/Arainrr (0.03s) - ZonePVxInfo.cs
86 "No Compound" (1.0.1) by Orange (0.75s) - NoCompound.cs



the problem is entity count 400.000 is insane and I dont even think official vanilla's which run on high-end nasa supercomputers reach those numbers let alone a heavy modded server like we al have

In your plugin list "Botspawn" and "infopanel" draw attention as having a very long hooktime which could indicate performance trouble, so i would start with those. Also I know FurnaceSplitter is known for performance issues so removing that one could help too I did the same to my server and it helped.

for plugin leakage you could maybe try objectremover and then execute the command "objtop 100" and check the top entity counts. They should all be building stuff like walls or foundations. If its alot of planners or weapons or attachments then it might be plugin problem. I also think there still is a problem with the kits plugin. There was a huge issue with it a while back where it didnt remove the attachments from weapons properly and they said it has been fixed but i still have my doubts about it and then the auto kits most of it really.

https://umod.org/community/rust/18533-high-amount-of-held-entities
https://umod.org/community/rust-kits/17562-plugin-killing-server-performance

You could also try "brokenitemscleaner" but be aware this can break guns that are inside the backpack or bank plugins. It still is better to use it than it is not to use it, removes thousands of useless entities per day

Goldie

the problem is entity count 400.000 is insane and I dont even think official vanilla's which run on high-end nasa supercomputers reach those numbers let alone a heavy modded server like we al have

In your plugin list "Botspawn" and "infopanel" draw attention as having a very long hooktime which could indicate performance trouble, so i would start with those. Also I know FurnaceSplitter is known for performance issues so removing that one could help too I did the same to my server and it helped.

for plugin leakage you could maybe try objectremover and then execute the command "objtop 100" and check the top entity counts. They should all be building stuff like walls or foundations. If its alot of planners or weapons or attachments then it might be plugin problem. I also think there still is a problem with the kits plugin. There was a huge issue with it a while back where it didnt remove the attachments from weapons properly and they said it has been fixed but i still have my doubts about it and then the auto kits most of it really.

https://umod.org/community/rust/18533-high-amount-of-held-entities
https://umod.org/community/rust-kits/17562-plugin-killing-server-performance

You could also try "brokenitemscleaner" but be aware this can break guns that are inside the backpack or bank plugins. It still is better to use it than it is not to use it, removes thousands of useless entities per day

I just wanted to say that this is a really awesome answer <3