Performance Optimization

The scanner includes intelligent CPU throttling controls to manage system resource usage during intensive cipher enumeration scans.

CPU Throttling for Resource Management

Throttling Levels

  • none - Original behavior (up to 25 concurrent workers)
  • low - 50% of CPU cores, conservative resource usage
  • medium - 75% of CPU cores, balanced performance (default)
  • high - 100% of CPU cores, maximum performance

Adaptive Features

  • Dynamic concurrency adjustment based on system load
  • Performance monitoring and logging when enabled
  • Intelligent throttle delays to reduce CPU pressure
  • Automatic scaling based on available CPU cores

CPU Throttling Examples

# Conservative resource usage for production environments
./certscanner -host example.com -cipherscanquick -cputhrottle low

# Balanced performance (recommended default)
./certscanner -host example.com -cipherscanquick -cputhrottle medium

# Maximum performance with monitoring
./certscanner -host example.com -cipherscanquick -cputhrottle high -logfile performance.log

# Performance monitoring comparison
./certscanner -host example.com -cipherscanquick -cputhrottle none -logfile baseline.log

Performance Impact

Testing shows that -cputhrottle low reduces CPU usage from 100% to approximately 68% while maintaining scan effectiveness. This makes it ideal for production environments where system stability is prioritized over scan speed.