---
title: "Performance Tuning"
description: "Increase fuel for CPU intensive agents: Increase memory for data heavy agents: Enable WAL mode for better concurrent performance: Right size pools based on workload:"
resource: https://www.aiagents.nexus/docs/manual/troubleshooting/performance
generated: { by: "process:nexus-agent-assets", at: 2026-09-07T09:13:03Z }
status: stable
---

# Performance Tuning

## WASM Fuel

Increase fuel for CPU-intensive agents:

```yaml
agents:
  analyzer:
    wasm:
      fuel: 5000000
```

## Memory

Increase memory for data-heavy agents:

```yaml
agents:
  analyzer:
    wasm:
      memoryPages: 512
```

## Database

Enable WAL mode for better concurrent performance:

```yaml
advanced:
  walMode: true
```

## Pool Sizing

Right-size pools based on workload:

```bash
naos pool status workers
# If queue is consistently > 10, scale up
naos pool scale workers --size 10
```
