OneSync Presets
256-Slot QBox & Ox_Core Low-Tick-Budget Preset (16 GB VDS)
Cut main-thread Lua frame time by 14-18% by migrating legacy QBCore loops to QBox, ox_lib callbacks, and ox_inventory.
10.2 GB Peak RAM · 13.1 ms Tick · 0.10% Hitch Warning Rate
Why QBox Saves VDS Headroom
Replacing polling Citizen.Wait(0) loops with ox_lib zones, state bags, and ox_target reduces both server thread CPU and client FPS drops inside dense Legion Square or Pillbox zones.
Tuning oxmysql Under ox_inventory
Pair QBox with a 30-connection oxmysql pool and innodb_flush_log_at_trx_commit = 2 so high-frequency trunk, stash, and glovebox writes flush asynchronously without blocking FXServer ticks.
Measured Thresholds & Server Configuration
| Metric | Legacy QBCore Stack | QBox + Ox_Lib Stack |
|---|---|---|
| Idle Resource Tick (280 Res) | 15.8 ms average | 13.1 ms average |
| FXServer Base RSS | 4.8 GB | 4.1 GB |
| Inventory Query Model | Per-slot JSON blobs | Normalized ox_inventory cache |