-
Major Improvements
SQLite Database: Replaced JSON storage with SQLite database for much lower CPU usage and better performance
Extended History: Increased history retention from 24 hours to 3 days
Fixed CPU Spikes: Eliminated high CPU usage during history trimming operations
UI Enhancement: Added 3-day view option in the timeframe selector -
Developer Enhancements
Added volume mounting with explicit :rw permissions for better compatibility across environments
Included test scripts for database population and performance testing
Added SQLite Viewer extension recommendation for easier database inspection -
Technical Details
Database and history files stored in /app/history directory for persistence
Automatic database maintenance with optimized cleanup runs
Backward compatible JSON format generated from SQLite queries
Efficient data pruning with minimal CPU impact -
Breaking Changes:
The existing history.json will be replaced on first start with the new sqlite db, future rebuilds when db is volume mapped will be preserved. The db now builds the history.json for the frontend to use. It is much more efficient this way.
To use:
docker pull ghcr.io/bigsk1/gpu-monitor:20250415-9b60792
Notes
This release is tied to the specific Docker image tag: 20250415-9b60792.
Use latest or main tags for the most up-to-date builds, but they may differ from this release over time.
docker pull ghcr.io/bigsk1/gpu-monitor:latest
docker pull ghcr.io/bigsk1/gpu-monitor:main
docker pull bigsk1/gpu-monitor:latest
docker pull bigsk1/gpu-monitor:main
docker run -d \
--name gpu-monitor \
-p 8081:8081 \
-e TZ=America/Los_Angeles \
-v /etc/localtime:/etc/localtime:ro \
-v ./history:/app/history:rw \
-v ./logs:/app/logs:rw \
--gpus all \
--restart unless-stopped \
bigsk1/gpu-monitor:latest