Jump to content

Recommended Posts

The dedicated Don't Starve Together server I set up occasionally experiences severe lag, which resolves itself after a few minutes.

I attempted to capture the profile.json and found that each Update takes over 150ms to complete.
However, I can't pinpoint the exact cause of this issue—perhaps it's due to a certain mod? How can I identify the root cause from this data?

image.png.e23d5bf4e1d561d53aad183fe2b1f922.png

 

Quote

Architecture:        x86_64
CPU op-mode(s):      32-bit, 64-bit
Byte Order:          Little Endian
CPU(s):              2
On-line CPU(s) list: 0,1
Thread(s) per core:  2
Core(s) per socket:  1
Socket(s):           1
NUMA node(s):        1
Vendor ID:           GenuineIntel
CPU family:          6
Model:               85
Model name:          Intel(R) Xeon(R) Platinum
Stepping:            4
CPU MHz:             2500.002
BogoMIPS:            5000.00
Hypervisor vendor:   KVM
Virtualization type: full
L1d cache:           32K
L1i cache:           32K
L2 cache:            1024K
L3 cache:            33792K
NUMA node0 CPU(s):   0,1
Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc cpuid tsc_known_freq pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single pti fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid avx512f avx512dq rdseed adx smap

Quote

root@iZ2ze9jcfpt0bdrl2n4ub3Z:~# free -h
              total        used        free      shared  buff/cache   available
Mem:           3.7G        2.0G        179M        2.1M        1.5G        1.5G
Swap:          2.0G         21M        2.0G
 

 

profile.json

Edited by StackOverflow

Probably a mod that does something with Entities, as this line mentioning the EntityManager.cpp appears 15362 times in the log:

{"cat":"dont_starve","name":"GetEntityByGUID","pid":0,"tid":4136092288,"ts":674464,"ph":"B" , "args":{"src_file":"../source/simlib/EntityManager.cpp","src_line":193}},

Not sure what it (the mod?) does, but it seems it tries to access all entities at once or something? No idea.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...