Hacker News new | ask | show | jobs
by jbellis 43 days ago
this looks like a bug, but even normal happy-path codex creates many GB of logs, openai apparently considers this fine bc it's been going on for months

two things help:

1. fs-level compression, I use ZFS bc Btrfs has massive contention problems with concurrent Rust builds

2. Archive your old sessions using something like sessionwiki (https://github.com/youdie006/sessionwiki), I've integrated this into my control plane (https://github.com/BrokkAi/mjolnir/)

2 comments

> I use ZFS bc Btrfs has massive contention problems with concurrent Rust builds

I haven't read about btrfs having issues with concurrent workloads like multiple concurrent rust builds. Are there notes on this somewhere I can read?

On mobile, but I linked one of the relevant issues in my writeup here: https://blog.brokk.ai/infrastructure-for-agentic-rust/
I did some benchmarking, and while with some fio usage I can get the lock contention in btrfs to show up, with cargo+mbx builds the speed of zfs and btrfs seem comparable (and the lock contention doesn't actually seem to appear in the profile).
I'm sure this is a naive question, but have you considered just deleting the logs?