Terraria: Server Performance Optimization
Optimize your Terraria server for maximum performance with lag reduction techniques, player limit tuning, and resource management strategies.
Server Requirements
| Players | CPU | RAM | World Size |
|---|---|---|---|
| 1-4 | 2 cores @ 2.5 GHz | 1 GB | Small-Medium |
| 5-8 | 4 cores @ 3.0 GHz | 2 GB | Medium-Large |
| 9-16 | 6 cores @ 3.5 GHz | 4 GB | Large |
Measured: What Our Terraria Servers Actually Use
| Typical (median) | Busy (90th percentile) | |
|---|---|---|
| Memory in use | 1.1 GB | 1.5 GB |
The 27 Terraria servers we run held 1.1 GB typical and 1.5 GB at the busiest, inside the 2 GB tier above; large mod packs are what push a Terraria server toward 4 GB.
Memory here is everything the server process holds, including anything moved to swap. CPU is in cores, where 1.0 is one full core. Typical is the median reading; busy is the reading only one in ten went above.
Configuration Optimization
serverconfig.txt Settings
# Performance Settings
maxplayers=8
password=
world=/path/to/world.wld
autocreate=2
worldname=MyWorld
# Network Optimization
port=7777
upnp=1
# Performance Tweaks
priority=1
secure=1
Lag Reduction Techniques
🧹 World Cleanup
Remove excessive items and projectiles
Use /clear command regularly
⚡ Limit Automation
Reduce wire/actuator contraptions
Limit hoik systems
🎯 Player Limits
Set appropriate max players
Monitor concurrent connections
tModLoader Performance
Mod Optimization
- Limit Mods: Use only essential mods (10-15 max)
- Avoid Conflicts: Test mod compatibility before deployment
- Update Regularly: Keep mods updated to latest versions
- Monitor RAM: Large mods like Calamity need 4GB+ RAM
Important: Terraria is single-threaded. High single-core CPU speed is more important than core count for performance, which is why Terraria server hosting on Supercraft on high-frequency CPUs outperforms a generic VPS with many slow cores.
Experience lag-free Terraria multiplayer. Host your Terraria server with Supercraft for optimized high-performance hosting.