Performance Tuning
When Do You Need This?¶
For most players with a handful of traders, the default settings work perfectly. You don't need to touch anything here.
This page becomes relevant when you're running larger fleets — roughly 30+ ships — or if you notice the game stuttering when your traders are searching for deals. The performance settings let you trade off between search speed and game smoothness.
Understanding the Search System¶
The trade search is the most demanding part of Galaxy Trader. When a ship searches for trades, it:
- Scans all stations within range for buy and sell offers
- Matches offers into potential trade pairs
- Scores each pair by profitability, distance, and other factors
- Returns the best options
For a ship with 20-jump range in a busy galaxy, that might mean evaluating thousands of offers. The mod breaks this work into small chunks spread across multiple game frames to avoid freezing the game.
Live searches scan the galaxy in real time — they're thorough but costly. Cache searches use trades your fleet has already found and shared; they're fast and light. Fallback searches run when a normal search finds nothing; they relax the filters and try again. Most of your performance tuning affects live searches, since those are the heavy ones.
Key Performance Settings¶
All of these are in Global Settings → Performance.

Search Concurrency¶
Max Concurrent Live Searches (default: 1, range: 1–10) How many ships can perform full live searches at the same time. Live searches are the expensive ones — scanning all stations. Increasing this lets more ships search simultaneously, but each concurrent search adds load.
Max Concurrent Fallback Searches (default: 1, range: 1–10) Fallback searches happen when a ship's normal search fails — no trades found. These use wider price ranges. Same concurrency concept as above.
Max Concurrent Cache Searches (default: 3, range: 1–10) Cache searches are much cheaper than live searches. These can usually run at higher concurrency without issues, since they're just looking up already-discovered trades instead of scanning the galaxy.
Search Depth¶
Max Trades To Return (default: 20, range: 1–100) How many trade candidates the search returns. Higher values give ships more options but take longer to compute. For most fleets, 10–20 is plenty.
Max Offers Per Ware (default: 20, range: 5–100) When scanning a ware, how many individual offers to consider. In a galaxy with hundreds of stations, this caps how deep the search goes per ware.
Max Trades Per Ware (default: 20, range: 5–100) Maximum trade pairs generated per ware before moving to the next ware.
Max Offers Per Ware For Matching (default: 20, range: 5–100) Limits the matching phase where buy and sell offers are paired up.
Early Exit Threshold (default: 2,000, range: 100–10,000) After evaluating this many offer combinations, the search stops early even if there are more to check. This is the main cap on search time — lower it for snappier searches, raise it if ships consistently miss good deals.
Chunking and Pacing¶
Batch Chunk Size (default: 5, range: 5–20) How many items are processed in each batch during validation and scoring passes. Smaller chunks are gentler on the game.
Cache Query Chunk Size (default: 10) How many cache entries are validated per chunk when a ship searches the cache. Higher values process the cache faster but can cause brief spikes.
Live Offer Append Chunk Size (default: 200, range: 50–2,000) How many offers are gathered per slice during the live scan phase. Smaller slices spread the work more evenly; larger ones finish each pass faster.
Trade Found Signal Delay (default: 10 ms, range: 0–1,000 ms) Small delay before notifying a ship that a trade was found. Gives the game a moment to breathe between search completion and ship action.
Search Lock TTL (default: 600 s, range: 60–7,200 s) How long a search lock lives before being considered stale. If a ship's search takes longer than this, the lock expires and the slot becomes available for other ships. Increase if you have very slow searches; decrease if search slots seem stuck.
Recommended Profiles¶
Small Fleet (1–10 ships)¶
Leave everything at defaults. The mod is designed to be lightweight at this scale.
Medium Fleet (10–30 ships)¶
- Max Concurrent Live Searches: 2
- Max Concurrent Cache Searches: 3
- Everything else at defaults
This lets two ships search simultaneously while keeping the load manageable.
Large Fleet (30–50 ships)¶
- Max Concurrent Live Searches: 2–3
- Max Concurrent Cache Searches: 4–5
- Max Trades To Return: 15
- Batch Chunk Size: 5
More concurrent searches to handle demand, but slightly slower pacing per search to spread CPU usage.
Very Large Fleet (50+ ships)¶
- Max Concurrent Live Searches: 3–4
- Max Concurrent Cache Searches: 6–8
- Max Trades To Return: 10
- Max Offers Per Ware: 15
- Early Exit Threshold: 1,000
- Batch Chunk Size: 5
At this scale, the cache does most of the heavy lifting. Lower the per-search depth and let caching compensate.
Troubleshooting¶
Ships take too long to find trades - Increase Max Concurrent Live Searches so more ships can search at once - In Global Settings, keep Fleet Coordination enabled so ships reuse cached trades
Game stutters when ships are searching - Decrease Max Concurrent Live Searches so fewer ships scan at once - Lower Early Exit Threshold so each search stops sooner
Search slots seem stuck - Use the Release All Search Locks button in Global Settings - Lower Search Lock TTL if this happens frequently
Ships sometimes pick suboptimal trades - Increase Max Trades To Return so they have more options to choose from - Increase Early Exit Threshold so the search evaluates more combinations before stopping - Note: both of these make searches slower. Use them only if you have headroom.
Quick Tips¶
- Start conservative. If you're unsure, use the Medium Fleet profile. You can always bump concurrency up later.
- Watch the frame time. If your FPS drops only when traders are searching, lower Max Concurrent Live Searches first.
- Caching is your friend. A well-populated cache means most ships never need to run a full live search. Give the fleet coordination / cache system time to warm up before judging performance.
- One change at a time. When tuning, adjust a single setting, play for a bit, and note the effect. Multiple changes at once make it hard to know what helped.
A note on hardware: Galaxy Trader's search work is mostly CPU-bound. If you have a strong GPU but an older CPU, you may need more conservative settings than someone with the opposite setup. Likewise, a modded game with many extra sectors will have more offers to scan — dial things back a bit compared to vanilla.