---
title: "Advanced Options"
description: "Fine tune Nexus OS behavior with advanced settings. Setting Low Memory Balanced High Performance cacheSize 500 2000 10000 maxInstances 10 100 1000 defaultFuel 500000 1000000 5000000 walMode false true true"
resource: https://www.aiagents.nexus/docs/manual/configuration/advanced-options
generated: { by: "process:nexus-agent-assets", at: 2026-09-07T09:13:03Z }
status: stable
---

# Advanced Configuration Options

Fine-tune Nexus OS behavior with advanced settings.

## Database Options

```yaml
database:
  path: data/nexus.db
  walMode: true           # Write-Ahead Logging
  busyTimeout: 5000       # ms to wait for locks
  cacheSize: 2000         # pages
```

## Logging

```yaml
logging:
  level: info             # trace, debug, info, warn, error
  format: json            # json or text
  output: stdout          # stdout, stderr, or file path
  auditRetention: 90      # days to keep audit logs
```

## WASM Runtime

```yaml
wasm:
  defaultFuel: 1000000
  defaultMemoryPages: 256
  enableSIMD: true
  enableThreads: false
  maxInstances: 100       # concurrent WASM instances
```

## Network

```yaml
network:
  dashboard:
    host: 127.0.0.1       # bind address
    port: 4200
    cors: false
  timeout: 30000          # ms for HTTP requests
  retries: 3
```

## Performance Tuning

| Setting | Low Memory | Balanced | High Performance |
|---------|-----------|----------|-----------------|
| `cacheSize` | 500 | 2000 | 10000 |
| `maxInstances` | 10 | 100 | 1000 |
| `defaultFuel` | 500000 | 1000000 | 5000000 |
| `walMode` | false | true | true |
