Skip to main content

Performance Optimization

Keep CastellanAI running smoothly with minimal impact on your systems.

Quick Wins

Most performance issues can be resolved with simple configuration changes. Start with the quick checks below.


Quick Performance Checks

SymptomQuick Fix
Dashboard loading slowlyNarrow the time range filter
Agent using too much CPUEnable Smart Filtering
Events appearing delayedCheck agent connectivity status

Dashboard Performance

Slow Page Loading

Symptom: Dashboard pages take more than 5 seconds to load.

SolutionDescription
Shorter Time RangesSelect "Last 1 Hour" instead of longer ranges
Apply FiltersFilter by severity or event type
Clear Browser CachePress Ctrl+F5 to refresh
Reduce Auto-RefreshChange from 5 seconds to 30 seconds

Configure auto-refresh:

  1. Go to Settings → Display
  2. Change auto-refresh to 30 seconds or manual

Agent Performance

Agent Using Too Much CPU

Symptom: Agent process consuming more than 15% CPU consistently.

Solution:

  1. Go to Devices → Agents in the Portal
  2. Select the affected agent
  3. Open the Settings tab
  4. Apply these changes:
SettingRecommended Value
Smart FilteringEnabled
Monitoring ModeBalanced

Environment Optimization

Production Servers

For servers running critical applications.

RecommendationWhy
Enable Smart FilteringReduces CPU usage significantly
Focus on Security channelOther channels may be noisy
Review during maintenanceCheck settings when load is low

System Health Monitoring

Check overall system performance from the dashboard.

Navigate to: Settings → System Status

MetricHealthyWarningCritical
Agent CPU UsageUnder 5%5-15%Over 15%
Event Processing DelayUnder 10 sec10-30 secOver 30 sec
Agent MemoryUnder 200 MB200-500 MBOver 500 MB

Performance Best Practices

PracticeDescription
Enable Smart FilteringReduces processing load by 50-70%
Use Appropriate ModeMatch monitoring mode to system criticality
Keep Agents UpdatedUpdates include performance improvements
Monitor System HealthCheck metrics regularly
Optimize FiltersApply filters in dashboard to reduce data
📝 Performance Optimization Checklist
  • Enable Smart Filtering on all agents
  • Set appropriate monitoring mode (Balanced for most)
  • Update agents to latest version
  • Configure reasonable auto-refresh intervals
  • Apply dashboard filters as default
  • Review system health metrics weekly
  • Document baseline performance
  • Set up alerts for performance degradation

What's Next?

GuideDescription
Agent Health MonitoringMonitor agent status and performance
Agent SettingsConfigure agent behavior
Connectivity IssuesResolve connection problems