Size the collector for your fabric in three steps:
-
Pick the host from the sizing table (or the requirements matrix in Deploy and administer CVT > System requirements).
-
Set the tuning variables below — for most deployments, only two of them.
-
Validate and adjust using the good-signs/warning-signs checks.
All settings live in cvt_env.conf (section [collector]); restart the CVT service after changing them (CVT configuration reference).
Sizing Table
|
Devices |
CPU cores |
Memory |
|
|
Management network |
Expected validation time |
|---|---|---|---|---|---|---|
|
100 |
4–8 |
4–8 GB |
30–50 |
20 |
1G |
30–60 s |
|
500 |
8–16 |
8–16 GB |
50–75 |
20–40 |
1G |
1–2 min |
|
1,000 |
16–32 |
16–32 GB |
50–100 |
20–40 |
1G |
2–3 min |
|
2,500 |
32–64 |
32–64 GB |
75–100 |
40 |
10G |
2–3 min |
|
5,000 |
64–128 |
64–128 GB |
100–150 |
40–60 |
10G |
3–5 min |
|
7,500 |
96–192 |
96–192 GB |
125–175 |
60 |
10G |
4–6 min |
|
10,000 |
128–256 |
128–256 GB |
150–200 |
60 |
10G |
5–8 min |
|
15,000 |
192–384 |
192–384 GB |
175–225 |
60–80 |
25G+ |
6–10 min |
|
20,000 |
256–512 |
256–512 GB |
200–250 |
80 |
25G+ |
8–12 min |
|
25,000 |
320–640 |
320–640 GB |
225–275 |
80–100 |
40G+ |
10–15 min |
|
30,000 |
384–768 |
384–768 GB |
250–300 |
100–120 |
40G+ |
12–18 min |
|
35,000 |
448–896 |
448–896 GB |
275–325 |
120–140 |
40G+ |
15–20 min |
|
40,000 |
512–1024 |
512 GB–1 TB |
300–350 |
140–160 |
40G+ |
18–25 min |
Sizing assumptions: roughly one core per 25–120 devices (efficiency improves at scale) and 55–115 MB of memory per 1,000 devices on the collector (topology data, batching, connections, results, metadata). These figures derive from enterprise-deployment measurements; treat expected times as targets to validate in your environment.
The Tuning Variables
Most deployments need only the first two.
CVT_DEPLOYMENT_MAX_WORKERS — parallel agent-deployment streams. Choose by management-network bandwidth (deployment moves a ~200 MB image per device):
|
Network |
Value |
|---|---|
|
1G |
20 |
|
10G |
60 |
|
25G+ |
100–160 |
CVT_MAX_WORKERS — parallelism for validation, connectivity, and DNS. Choose by collector CPU cores; reduce it if you see device timeouts:
|
Cores |
Value |
|---|---|
|
8–32 |
30–50 |
|
32–128 |
75–150 |
|
128+ |
150–300 |
CVT_BATCHING_THRESHOLD — enables batched processing above this many devices (default 5000; the default works for most deployments):
|
Devices |
Value |
|---|---|
|
< 5,000 |
5000 (default) |
|
5,000–20,000 |
5000 |
|
20,000+ |
3000 (more aggressive batching) |
Quick-start by Deployment Size
Set these in cvt_env.conf and restart the CVT service:
# Small (<1,000 devices): 1G network, 8-32 cores
[collector]
CVT_DEPLOYMENT_MAX_WORKERS = 20
CVT_MAX_WORKERS = 50
# Medium (1,000-10,000 devices): 10G network, 64-128 cores
CVT_DEPLOYMENT_MAX_WORKERS = 40
CVT_MAX_WORKERS = 100
# Large (10,000-30,000 devices): 25G+ network, 192-384 cores
CVT_DEPLOYMENT_MAX_WORKERS = 60
CVT_MAX_WORKERS = 150
CVT_BATCHING_THRESHOLD = 5000
# Hyperscale (30,000+ devices): 40G+ network, 448+ cores
CVT_DEPLOYMENT_MAX_WORKERS = 80
CVT_MAX_WORKERS = 200
CVT_BATCHING_THRESHOLD = 3000
(The same variables can also be exported on the container process, but the recommended path is cvt_env.conf.)
Example: A 32,000-device Ethernet Fabric
An anonymized enterprise deployment (32,000+ devices, 448-core collector, 10G management network) ran validation in about 7 minutes with near-default settings. With CVT_DEPLOYMENT_MAX_WORKERS=60, CVT_MAX_WORKERS=150, and batching active, validation completed in 2–3 minutes and the collector’s load average rose from 5–7 to the target 15–20 band.
Checking Your Settings
Good signs (you may increase CVT_MAX_WORKERS):
-
server load rises during validation (better CPU utilization);
-
validation completes faster than baseline;
-
no significant increase in timeout errors;
-
network bandwidth stays below 80%.
Warning signs (reduce CVT_MAX_WORKERS):
-
many
Timeout while trying to start validationerrors; -
Connection refusederrors from devices; -
server load stays low (underutilization);
-
network bandwidth at 90%+.
Adjustment strategy:
-
Too many timeouts → reduce
CVT_MAX_WORKERSby 25–50. -
Server underutilized → increase
CVT_MAX_WORKERSby 25–50. -
Deployment too slow → increase
CVT_DEPLOYMENT_MAX_WORKERS(if network allows). -
Memory pressure → reduce
CVT_BATCHING_THRESHOLD.
Expected load by worker count: 50–75 workers → load average 8–12 (low risk); 100–150 → load average 12–18 (medium risk); 200+ → load average 18–25 (high risk — watch device errors closely). “Load” here means the Linux load average on the collector host; the same load average means more pressure on a small host than on a large one, so judge these targets alongside the core ranges above.
Agent deployment time estimates (image fetch ~200 MB/device + local operations): 1,000 devices / 20 workers / 1G → 1–2 h; 4,000 / 60 / 10G → 2–4 h; 10,000 / 80 / 25G → 4–8 h; 25,000+ / 100–160 / 40G+ → 10–20 h.
Monitoring During Tuning
Watch: server load (target 15–25 during processing), memory vs. allocation, management-network utilization (especially during deployment), device response times, and timeout/connection error rates. Compare validation completion time against the sizing table.
Device response characteristics (why aggressive worker counts can overload devices): switches typically answer in 1–3 s and tolerate ~5–10 concurrent calls; compute hosts 2–5 s and ~3–8 concurrent; storage devices 1–4 s, ~5–12; HCA devices 1–2 s, ~8–15.
Device mix: host-heavy clusters (e.g. 70% hosts) need the higher end of CPU/memory ranges and more conservative workers; switch-heavy clusters can use lower ranges and more aggressive workers; HCAs and storage fall between.
Host OS Tuning (Large Deployments)
For 20,000+ devices consider on the collector host:
ulimit -n 65536 # file descriptors (persist via /etc/security/limits.conf)
echo 65536 > /proc/sys/net/core/somaxconn
# For very large deployments:
echo 1 > /proc/sys/vm/overcommit_memory
echo 80 > /proc/sys/vm/overcommit_ratio
Scaling Limits and Options
A single collector is effective up to roughly 40,000 devices; beyond that, split clusters across multiple collectors (by site, region, or fabric). Network bandwidth, not memory, is typically the binding constraint for large deployments.
Last updated: