Menu
 

TeamSpeak Performance Optimization

TeamSpeak Performance Optimization Guide 2025

Complete guide to optimizing TeamSpeak for ultra-low latency, superior audio quality, and minimal resource usage.

⚡ Performance Goals

  • Latency: Target <40ms for competitive gaming
  • Audio Quality: Crystal clear voice at optimal bitrate
  • Resource Usage: Minimal CPU and memory footprint
  • Bandwidth: Efficient network utilization

Latency Optimization

Understanding Latency

Latency (ping) is the time it takes for voice data to travel between clients and server. Lower latency = faster communication.

  • <20ms: Excellent - Competitive gaming
  • 20-40ms: Very Good - Professional use
  • 40-80ms: Good - Casual gaming
  • >80ms: Acceptable - Non-critical use

Server-Side Latency Optimization

Choose the Right Hosting Location

# Select server location close to your users
# Use geographically distributed servers for global communities

# Example locations for Europe:
# Germany (Frankfurt) - Central Europe
# Netherlands (Amsterdam) - Excellent connectivity
# UK (London) - Good for UK/Ireland

# Example locations for North America:
# US East (Virginia) - East Coast
# US Central (Chicago) - Central US
# US West (California) - West Coast

Network Configuration

# In ts3server.ini

# Optimize for low latency
connection_bandwidth=0  # 0 = unlimited/maximum performance

# Increase maximum concurrent connections
maxclients=512

# Optimize database performance
dbconnections=10

# Disable unnecessary features for lower latency
logquerycommands=0

System Resource Allocation

# Ensure sufficient CPU priority

# For Linux (systemd)
[Service]
Nice=-5  # Higher priority
LimitCPU=infinity
LimitMEM=infinity

# For Windows, set TS3 process to "High" priority in Task Manager

Client-Side Latency Optimization

Network Settings

  • Use Ethernet: Avoid WiFi for optimal performance
  • Disable QoS: Windows QoS can sometimes add latency
  • Disable Power Saving: Disable USB power saving for network adapters
  • Update Drivers: Keep network drivers current

TeamSpeak Client Settings

# Settings → Options → Connection

# Connection timeout
Connection Timeout: 30s

# Packet loss handling
Packet Loss Handling: Automatic

# Enable voice activation detection for faster response

Audio Quality Optimization

Codec Configuration

Opus Music Codec

# Server-side channel codec settings

# Best quality (bandwidth intensive)
codec: Opus Music
quality: 10 (max)
bitrate: 128 Kbps

# Good balance
codec: Opus Voice
quality: 6
bitrate: 64 Kbps

# Low bandwidth
codec: Opus Voice
quality: 3
bitrate: 32 Kbps

Speex Codec (Legacy)

# Only for compatibility with old clients
# Not recommended for new installations

# Speex Narrowband (8kHz)
# Speex Wideband (16kHz)
# Speex Ultra-Wideband (32kHz)

# Quality settings: 0-10 (higher = better quality)

Client Audio Settings

Capture Settings

# Settings → Options → Capture

# Microphone
Microphone: [Select your device]

# Input sensitivity
Automatic: Disabled (adjust manually)
Sensitivity: [Adjust for your mic]

# Echo cancellation
Echo Cancellation: Enabled

# Noise reduction
Noise Reduction: Enabled

Playback Settings

# Settings → Options → Playback

# Output device
Playback: [Select your device]

# Volume normalization
Normalize: Enabled

# Sound pack
Sound Pack: [Choose preferred pack]

Advanced Audio Features

Noise Cancellation (TS6)

  • AI-Powered: TS6 includes advanced noise cancellation
  • Background Noise Removal: Eliminates keyboard, fan noise
  • Performance: GPU-accelerated when available

Volume Normalization

# Enable automatic volume normalization
# Equalizes volume across all users

# Settings → Options → Playback
Enable Volume Normalization: Yes

Bandwidth Management

Server Bandwidth Optimization

Connection Bandwidth Settings

# In ts3server.ini

# Connection bandwidth modes
connection_bandwidth=0  # Unlimited (recommended)
connection_bandwidth=1  # 640 Kbps
connection_bandwidth=2  # 1280 Kbps
connection_bandwidth=3  # 1920 Kbps

# For most servers, use 0 for best performance

Per-User Bandwidth

# Estimate bandwidth requirements:
# Opus Voice @ 32 Kbps: ~4 KB/s per user
# Opus Voice @ 64 Kbps: ~8 KB/s per user
# Opus Music @ 128 Kbps: ~16 KB/s per user

# For 100 users @ 64 Kbps:
# Upload: 100 users × 8 KB/s = 800 KB/s (~6.4 Mbps)

Client Bandwidth Optimization

Download Bandwidth

# Settings → Options → Downloads

# Maximum download speed
File Transfer Limit: [Set based on your connection]

# Number of concurrent downloads
Max Concurrent Downloads: 3

Upload Bandwidth

# Limit file transfer uploads during gaming
# Ensure voice has priority

# Set upload limits based on:
# 1. Total upload capacity
# 2. Number of users
# 3. Voice priority

CPU & Memory Optimization

Server-Side Optimization

Process Priority

# Linux - Set nice level
sudo nice -n -5 ./ts3server_startscript.sh start

# Systemd service configuration
[Service]
Nice=-5
LimitCPU=infinity
LimitMEM=infinity

Database Optimization

# Optimize SQLite database

# Increase connection pool size
dbconnections=10

# Regular maintenance
sqlite3 ts3server.sqlitedb "VACUUM;"
sqlite3 ts3server.sqlitedb "ANALYZE;"

Log Management

# Reduce logging to minimize disk I/O
logappend=1
logquerycommands=0

# Use logrotate to manage log size
# See Backup & Restore section

Client-Side Optimization

Reduce Resource Usage

  • Disable Sound Packs: Use default sounds
  • Limit Plugins: Disable unnecessary plugins
  • Disable 3D Sound: Not needed for most use cases
  • Reduce FPS Limit: In client settings if available

GPU Acceleration (TS6)

# Enable GPU encoding for screen sharing
# Settings → Options → Screen Share

# GPU Encoding: Enabled
# Preferred Encoder: NVIDIA NVENC / AMD VCE

# This reduces CPU load significantly

Network Optimization

Router Configuration

QoS (Quality of Service)

# Prioritize TeamSpeak traffic on your router

# Set high priority for:
# UDP port 9987 (voice)
# TCP port 30033 (file transfer)

# This ensures TS traffic gets through
# even when network is congested

Port Forwarding

# Ensure ports are properly forwarded

# Required ports:
# 9987 UDP - Voice (CRITICAL)
# 30033 TCP - File transfer (optional)
# 10011 TCP - Server query (optional)

# Test port forwarding:
# telnet your-public-ip 9987

Firewall Optimization

# UFW firewall rules
sudo ufw allow 9987/udp comment 'TeamSpeak Voice'
sudo ufw allow 30033/tcp comment 'TeamSpeak File Transfer'
sudo ufw allow 10011/tcp comment 'TeamSpeak Server Query'

# Enable connection tracking
sudo ufw logging on

Troubleshooting Performance Issues

High Latency

Solutions:

  • Check server location - choose closer server
  • Use wired connection instead of WiFi
  • Disable other network-intensive applications
  • Check for ISP throttling
  • Test with ping/traceroute to server

Packet Loss

Solutions:

  • Check internet connection stability
  • Replace network cable if using wired
  • Update network drivers
  • Disable power saving on network adapter
  • Contact ISP if issue persists

Poor Audio Quality

Solutions:

  • Check microphone quality and positioning
  • Adjust input sensitivity
  • Enable noise reduction
  • Check audio codec settings
  • Update audio drivers
  • Test with different microphone

High CPU Usage

Solutions:

  • Reduce max concurrent connections
  • Disable unnecessary features
  • Update to latest TS version
  • Check for malware on server
  • Consider upgrading hardware

Performance Monitoring

Server Monitoring

# Real-time monitoring

# CPU usage
htop
top

# Network connections
netstat -tulpn | grep ts3

# Bandwidth usage
iftop
nethogs

# Server info via ServerQuery
ts3server serverinfo

Client Monitoring

# Built-in diagnostics

# Connection info
Right-click on server → Connection Info

# Latency indicator
# Visible in client UI next to each user

# Packet loss indicator
# Shown in status bar

Performance Benchmarks

Expected Performance

Metric Excellent Good Acceptable
Latency <20ms 20-40ms 40-80ms
Packet Loss 0% <1% <3%
Jitter <5ms 5-10ms 10-20ms

Frequently Asked Questions

Why is my TeamSpeak latency high?

Common causes: distant server, poor internet connection, network congestion, WiFi interference, or ISP throttling.

What codec should I use for best audio quality?

Opus Music codec at quality 10 provides the best quality but requires more bandwidth. Opus Voice at quality 6-8 offers good balance.

How many users can my server handle?

Depends on hardware and bandwidth. A VPS with 2GB RAM and 100 Mbps upload can typically handle 100+ users.

Does TeamSpeak use a lot of CPU?

No, TeamSpeak is very efficient. Server uses ~50MB RAM and minimal CPU. Client uses even less resources.

Can I reduce TeamSpeak bandwidth usage?

Yes, by using lower bitrate codecs (Opus Voice at 32 Kbps) and limiting file transfer bandwidth.

How do I optimize for gaming?

Use wired connection, prioritize TS traffic with QoS, choose geographically close server, and minimize other network usage.

Is WiFi bad for TeamSpeak?

WiFi can work but is less stable than wired connection. For optimal performance, especially for competitive gaming, use Ethernet.

What's the difference between TS3 and TS6 performance?

TS6 offers improved performance with GPU acceleration for screen sharing and better noise cancellation, but TS3 is more stable for production use.

Need Better Performance? Get a professional TeamSpeak server with Supercraft optimized for low latency and high quality!

Top