{"version":"2.1.283","anchor":"gateway-load-test-mode-simulates-kernel-io","canonical_anchor":"gateway-load-test-mode-simulates-kernel-io","heading":"Gateway load test mode now uses CPU closer to real traffic","tier":"use","area":"Gateway","url":"https:\/\/changelogs.core-directive.com\/v\/2.1.283\/e\/gateway-load-test-mode-simulates-kernel-io","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.283","markdown":"### Gateway load test mode now uses CPU closer to real traffic\n\nThe gateway's load test mode now does a small amount of system reading and writing per connection so CPU use matches production\n\n**What**\n\nWhen `load_test_mode` is enabled, the gateway now writes to \/dev\/null and reads from \/dev\/zero for each connection, so the CPU used per server copy matches production. If the host has no \/dev\/null or \/dev\/zero, it logs a warning that CPU will read about a quarter to a third lower than in production, and the load test still runs.\n\n**Why**\n\nThis only matters to operators measuring how much capacity the gateway needs, whose figures should now be more realistic.\n\n- Area: Gateway\n- Names: `load_test_mode`\n- Tier: Use it now\n- Useful: 2\/5\n- Signal: 2\/5"}