﻿# MIOpen FindDb, PerfDb and kernel cache store different kinds of preparation

Diagnose MIOpen startup and tuning using distinct find-result, kernel-parameter and compiled-binary artifacts rather than treating every persistent file as one interchangeable cache.

Author: Retrivium editorial team
Updated: 2026-11-04
Canonical URL: https://retrivium.ai/journal/fg2-miopen-finddb-perfdb-kernel-cache-distinct-artifacts/
Language: en

## Identify which preparation was repeated

A slow first convolution can include algorithm selection, parameter tuning or compilation. These are related costs, but diagnosing them as one generic cache miss makes the next action ambiguous. Record which stage actually ran and whether later identical operations repeat it. A copied cache directory may remove one cost while leaving another unchanged. Distinguish operation configuration from artifact location before concluding that persistent storage is broken.

## Read FindDb as recorded selection results

The [FindDb documentation](https://rocm.docs.amd.com/projects/MIOpen/en/latest/conceptual/finddb.html) describes storage of find-stage results for problem configurations defined by tensor and convolution descriptors. User records take precedence over system records. A hit concerns that configuration; it is not a general guarantee for another shape or layout. Keep the problem identity with a diagnostic record instead of checking only whether the database file exists on disk.

## Read PerfDb as kernel parameter tuning

The [PerfDb documentation](https://rocm.docs.amd.com/projects/MIOpen/en/latest/conceptual/perfdb.html) describes optimized kernel parameters whose usefulness depends on the problem and hardware/software context. A selected solution and its tuned parameters are not the same artifact. Changing tuning policy can trigger extra work even when another cache is warm. Inspect the relevant policy and record whether a measurement includes search, rather than interpreting every timing increase as slower steady kernel execution.

## Read the kernel cache as compiled code

The [kernel-cache guide](https://rocm.docs.amd.com/projects/MIOpen/en/latest/conceptual/cache.html) explains persistent compiled binaries and architecture-specific precompiled packages. A selection record does not prove the required binary is present. Conversely, an available binary does not prove optimal parameters for every new problem. Check permissions, architecture and library context when an application repeatedly compiles, and retain evidence of the actual lookup path before copying or clearing unrelated preparation artifacts.

## Apply upgrade guidance to the specific artifact

The documentation gives different version-handling guidance for FindDb, PerfDb and kernel binaries. Avoid turning one cache's upgrade rule into a universal deletion policy. Preserve useful evidence before changing local state, and compare cold preparation with warmed execution as separate results. The existing [HIP portability guide](/journal/learn-hip-launch-portability/) and [software reproducibility guide](/journal/software-stack-reproducibility/) support related platform records. A useful investigation names the missing preparation artifact and its configuration, making startup behavior explainable without unsupported promises that one copied cache will optimize every model.
