Skip to main content

SCP:SL Server Optimization

This guide provides comprehensive optimization strategies for your SCP: Secret Laboratory server to ensure smooth gameplay and optimal performance.

Performance Baseline

Before optimizing, establish performance baselines:
Monitor these metrics through your Wasabi Hosting Gamepanel dashboard or server console.

Configuration Optimization

Gameplay Configuration

Optimize config_gameplay.txt for better performance:
Lower item_spawn_multiplier and faster despawn times significantly reduce entity count, improving server performance.

Network Optimization

Configure network settings in config.txt:

Server Process Optimization

Optimize startup parameters:

System-Level Optimization

Memory Management

Setting memory limits too low can cause crashes. Ensure at least 2GB is allocated for optimal performance.

CPU Optimization

Distribute load across CPU cores:

Plugin Optimization

EXILED Plugin Framework

Optimize EXILED configuration:

Plugin Best Practices

Performance-Friendly Plugins:
  • Well-maintained and regularly updated
  • Minimal event subscriptions
  • Efficient database queries
  • Proper error handling
  • Asynchronous operations where possible
Avoid:
  • Abandoned or outdated plugins
  • Plugins that hook into every game event
  • Poorly coded plugins with memory leaks
  • Redundant plugins providing similar features

Database Optimization

If using plugins with database functionality:
Use connection pooling to reuse database connections and reduce overhead.

Entity Management

Item and Ragdoll Cleanup

Door and Elevator Optimization

Round Optimization

Efficient Round Settings

Shorter rounds prevent performance degradation from entity buildup and keep the server fresh.

Network and Bandwidth Optimization

Connection Settings

Port Configuration

Performance Monitoring

Logging Configuration

Balance between information and performance:

Performance Alerts

Configure alerts for performance issues:

Player Count Optimization

Scaling by Player Count

Anti-Cheat Optimization

Balance security and performance:

Advanced Optimization Techniques

Object Pooling

Async Operations

Caching

Hardware Recommendations

Optimization Checklist

Use this checklist to optimize your server:
  • Configure optimal player count for your hardware
  • Enable item and ragdoll cleanup
  • Set appropriate despawn times
  • Configure network compression
  • Optimize tick rate based on player count
  • Remove unnecessary plugins
  • Enable object pooling
  • Configure efficient logging
  • Set up automatic round restart
  • Enable warhead auto-detonation
  • Configure database connection pooling (if applicable)
  • Set process priority to high
  • Monitor performance metrics regularly
  • Keep server and plugins updated

Troubleshooting Performance Issues

Common Causes:
  • Too many plugins running intensive operations
  • Large player count exceeding server capacity
  • Memory leaks in plugins
  • Inefficient event handlers
Solutions:
  • Reduce max player count
  • Disable non-essential plugins
  • Lower tick rate to 50 or 45
  • Enable more aggressive cleanup
  • Update or remove problematic plugins
Common Causes:
  • Poorly coded plugins not releasing objects
  • Excessive ragdoll/item accumulation
  • Large log files
Solutions:
  • Enable automatic cleanup
  • Reduce entity spawn rates
  • Restart server regularly (daily recommended)
  • Update plugins to latest versions
  • Enable log rotation and compression
Common Causes:
  • Insufficient bandwidth
  • DDoS attacks
  • Too many simultaneous connections
  • Large packet sizes
Solutions:
  • Enable network compression
  • Implement rate limiting
  • Configure anti-DDoS protection (use Firewall Manager)
  • Reduce send/receive rates if needed
  • Limit connections per IP
Common Causes:
  • Server overloaded
  • Blocking operations in game thread
  • Insufficient CPU resources
  • Too many entities
Solutions:
  • Reduce player count
  • Enable async operations
  • Increase cleanup frequency
  • Remove CPU-intensive plugins
  • Lower visual quality settings

Maintenance Schedule

Regular maintenance ensures optimal performance: Daily:
  • Monitor performance metrics
  • Check error logs
  • Verify tick rate stability
Weekly:
  • Review plugin performance
  • Clean up old logs
  • Update critical plugins
  • Analyze player feedback
Monthly:
  • Full server restart
  • Plugin audit (remove unused)
  • Configuration review
  • Performance benchmark tests
  • Server and plugin updates
Schedule restarts during off-peak hours to minimize player disruption.

Performance Testing

Test optimization changes:
1

Establish baseline

Record current performance metrics before changes
2

Apply single change

Make one optimization change at a time
3

Monitor for 24 hours

Observe performance over a full day cycle
4

Compare metrics

Compare new metrics to baseline
5

Keep or revert

Keep change if improved, revert if worse
By following these optimization guidelines, your SCP: Secret Laboratory server on Wasabi Hosting will deliver excellent performance and a smooth gameplay experience for your players.

Get your own SCP: Secret Laboratory server

Deploy a DDoS-protected SCP: Secret Laboratory server on AMD Ryzen hardware in about two minutes, and plans start at €8.00/month.