Skip to Content
SpearX Documentation
Operate SpearX

CPU and concurrency configuration

Control scan CPU, threads, timeouts, archives, and production-safe execution.

Performance controls limit the work performed on each remote target. They do not guarantee a completion time.

Verified controls

SettingInterface behaviorStarting guidance
Limit scanner CPUCaps CPU as a percentage of logical CPUsKeep enabled for production targets; the interface displays 50% as the production default
Threads0 uses automatic selectionLeave at 0 unless testing shows a need; the interface recommends 2-4 for busy domain controllers
Scan timeout1-999 minutesThe interface displays 300 minutes; narrow scans may need less, full-disk scans may need more
Intense modeRaises the standard 10 MiB per-file YARA cap to 200 MiBEnable only when large files are in scope
Custom maximum sizeOverrides the displayed YARA size capDocument the reason and storage impact
Archive scanningZIP, TAR, 7Z, CAB, and GZLimit recursion depth, members, and timeout
Production Safe ModeApplies conservative process controls shown in the current UIUse for sensitive systems after validation

CPU, threads, timeout, and archive controls

Safe tuning method

  1. Establish a baseline on one representative non-production host.
  2. Record target size, rule count, archive settings, CPU cap, threads, timeout, duration, and result count.
  3. Change one control at a time.
  4. Monitor endpoint CPU, memory, disk I/O, network, and service health.
  5. Repeat with the production-safe profile before wider rollout.
  6. Keep rollback and abort procedures ready.

Do not copy demonstration durations into a capacity plan. Workload, storage, rule complexity, host health, network latency, and archive content can change scan duration substantially.