Hello, I have a Garry's mod server..
My specs
Connection : 100 Mb/s
CPU : Intel(R) Xeon(R) CPU E7-4890 v2 @ 2.80GHz, 3 cores
RAM : 8GB
htop screen : Screenshot
net_graph 3 : Screenshot
BTW i googled very hard to search on results for this problem.
Well, as I see on the first pic your CPU is overloaded and this is a problem. GMod uses only ONE core due to 32-bitness iirc
While this is true it being 32 bit isn't related.
I know that, but how its supposed to help me?
Simplify the amount of code the game has to run by removing addons or get a better CPU.
I have only 95 addons, here list: SligWolf's Truck's
SProps Workshop Edition
Outfitter: Multiplayer player models
3D Stream Radio
Food and Household items
[simfphys] armed vehicles
DurgzMod (The Original GMod Drugs Mod)
More Materials!
Falco's Prop Protection (FPP)
URS
SmartSnap: Extreme Precision
[Official] Precision Tool
Enhanced PlayerModel Selector
J.I. Defense Solutions
M9K Small Arms pack
M9K Heavy Weapons
M9K Assault Rifles
Modern Notifications
[simfphys] LUA Vehicles - Base
Simple ThirdPerson - Sliders & Fixes!
Colored Chat Tags (ULX only!)
GeoIP Connection Messages v2
Drones Rewrite
ServerContent
Wiremod
gm_excess_construct
FA:S 2.0 Alpha SWEPS - Pistols
FA:S 2.0 Alpha SWEPs
FA:S 2.0 Alpha SWEPs - Misc
FA:S 2.0 Alpha SWEPs - Rifles
FA:S 2.0 Alpha SWEPs - SMGs
FA:S 2.0 Alpha SWEPs - U. Rifles
FA:S 2.0 Alpha SWEPs - Shotguns
[simfphys] Miscellaneous vehicles pack
[simfphys] W Motors Lykan Hypersport
[LW] Shared Textures
[LW] W Motors Lykan Hypersport
IK Foot
GPD SWAT Phase 2 NPCs
GPD SWAT Phase 2 PM
[Simfphys] Mobility Scooter
Terminal & Scripted Message Mod
[simfphys] Mafia 2 cars
[simfphys] Mafia:TCoLH cars
(Armed-Simfphys) Sdkfz 222
2010 Dodge "Rampage" Challenger SRT8
Drivable yacht
GPhone - Remade
Titanfall Heavy Weapons
TDMCars - Base Pack
[simfphys] Gotham City vehicles pack
[simfphys] MTVR Call of Duty: Ghost
William's World War 2 Simfphys Collection
FA:S 2.0 Alpha SWEPs - Unused Weapons (Unofficial)
Tic-Tac-Toe Portable
Soccer Ball
TFA Base [ Reduxed ]
[TFA][AT] INS2 Shared Parts
[TFA][AT] AK Remastered Pack
[TFA] [AT] M14 & SW M10
Ced's Taser
Fire Extinguisher
vFire - Dynamic Fire for Garry's Mod
SGM Shared Textures
[simfphys] Goliath UGV
Media Player
Shared Textures (REUPLOAD)
[simfphys] Audi RS7 Performance
sgmcar rusticcar audi rs7
Waterizer Stool 1.1
StormFox - Environment mod
[simfphys] BMW M5 F90
[SKY] 2018 BMW M5 F90
[Skylar Automotive] Shared Textures
{Simfphys} Isuzu Type 94 Truck
[TFA][AT] Pistol Pack
[TFA][AT] SG-552 Commando
SCP Staff NPCS
M9K Specialties
Russian Roulette
SligWolf's Crane
SligWolf's Ferry
SligWolf's Garbage Truck
Keypad Tool and Cracker with Wire Support
Robotnik's TFA Payday 2 SWEPs
Robotnik's TFA CoD4 SWEPs Pack [C_Hands]
[TFA] AVA Small Arms Pack
[simfphys] Nissan Skyline R34 GT-R
Roy's Cars - Nissan
Roy's Cars - Shared Files
[simfphys] Mercedes-Benz C63 W204 AMG
[LW] Mercedes-Benz C63 AMG Black
[CTVehicles] Fiat Multipla
CTVehicles] Shared Textures
If any of these addons is bad tell me
I have only 95 addons
I fixed it a bit with rates, but thanks for your "help".
Username matches up
3 fucking weapon systems, weather system, expensive ass cars, fire system... yeah "some"
I don't know much of the inner workings of these addons, but I know a few of then having the potential of causing a heavy CPU load on the server if they are used excessively or are being abused.
1.) Wiremod and especially Expression game 2 component can be very heavy on the CPU. It's crucial in my opinion, so you should keep it.
2.) SligWolf's, Simfphys and probably any other car addons are very heavy because of the physics involved. Physics in GMod is calculated on the server side and is very CPU heavy as GPU acceleration is not a thing for Source's physics. CPU load usually increases with entity count.
3.) SWEPs are usually not very CPU heavy, but tend to be an addon genre that is known for having many badly programmed or optimized projects.
4.) NPCS and Nextbots addons can be CPU heavy when spawned in. NPCs and bots are AI scripts. AI stuff is quite server CPU heavy inherently, because if path finding and staff.
5.) 3D Stream Radio can also be CPU heavy if the player spawn like 100 radios because of the involved networking. Usually it is heavier on the client, because of the rendering (GUI, Spectrum, etc.) though. At the moment I as the creator don't know any concrete performance problems in this addon. (Feel free to report, if you you find one)
6.) I think Media Player shouldn't cause much load on the server aswell, as it is more client heavy addon using the in-game browser Awesomium for Youtube playback. Awesomium is known for its very bad performance and instability.
Wiremod, all SligWolf's addons, 3D Stream Radio and Media Player are not drawing much CPU resources when they are idle or not being in use/spawned.
You graph shows a heavy load caused by entities (red) and usemessages (networking, dark yellow). My guess you have a well visited server with a lot of entities spawned in and being in use. This is a general problem with GMod and can not be fixed simply. All you can do is to isolate the heavy addons by uninstalling,testing and reinstalling them.
Addon count alone will not slow don't the game, but bad programming definitely does. I have seen a lot of addons with bad coding practices... In one case I have seen an addon that would slow down the game by like 10ms per frame. Just while Idling it was iterating through all entities on the map in very frame and using a O(n) table lookup function (table.HasValue) in another table for every found entity. It did it just to check of it was actively being used. That addon saw the trashcan the next minute...
It can be because i have vps on hicoria.com and friend told me that they scam and give shitter cpu, will try on other hosting how it will run.
Get alot better Screenshot
Sorry, you need to Log In to post a reply to this thread.