14 Jul 2024 |
hexa | it has no gc semantics beyond what the nix store already offers | 13:19:12 |
Ronny | hmm, man, so unless i use a different cache with a different store, i get no gc for the system that wont nke cache by accident | 13:21:57 |
hexa | one tricky thing about nix and caches that collect garbage is a very high postive ttl for narinfo files in nix's defaults https://nix.dev/manual/nix/2.18/command-ref/conf-file#conf-narinfo-cache-positive-ttl | 13:22:04 |
hexa | * one tricky thing about nix and caches that collect garbage is a very high postive ttl (30 days) for narinfo files in nix's defaults https://nix.dev/manual/nix/2.18/command-ref/conf-file#conf-narinfo-cache-positive-ttl | 13:22:52 |
hexa | * one tricky thing about nix and caches that collect garbage is a very high postive ttl (30 days) for narinfo files in its defaults https://nix.dev/manual/nix/2.18/command-ref/conf-file#conf-narinfo-cache-positive-ttl | 13:23:02 |
hexa | well, you could manage gcroots for the closures you want to keep | 13:23:48 |
hexa | this is basically the same mechanic that prevents gc from removing things that shouldn't be removed | 13:24:35 |
hexa | * this is basically the same mechanic that prevents gc from removing things that shouldn't be removed, like your system closure | 13:24:42 |
hexa | * this is basically the same mechanic that prevents gc from removing things that shouldn't be removed, like your recent system closures | 13:24:54 |
Ronny | so based on what i understood so far - there is no nix-native binary cache mechanism - gc will jsut kill unless one does messy gc root hacks | 13:26:12 |
hexa | correct | 13:26:43 |
Ronny | I truly wonder why,, it seems like that would be the easiest way for a individual or a small org to handle things | 13:32:31 |
hexa | I wouldn't be surprised to find out that remote builds were just invented for hydra 🙂 | 13:36:28 |
Jonas Chevalier | TIL; there are now 61TB SSDs in the professional market.
https://hothardware.com/reviews/solidigm-d5-p5336-review-61tb-data-center-ssd | 16:46:49 |
Jonas Chevalier | According to Solidigm's marketing material, the TCO for 1PB of storage is only 28k/year! | 16:47:33 |
Jonas Chevalier | That would fit the whole binary cache, including some redundant copy | 16:47:50 |
17 Jul 2024 |
samrose | In reply to @ronnypfannschmidt:matrix.org I truly wonder why,, it seems like that would be the easiest way for a individual or a small org to handle things Most of the cases where I worked at orgs that use nix, (small to medium sized) we would maintain binary cache in s3 compatible object store. It's low cost, eliminates the problem of garbage collection or maintaining a specific machine, and is very simple to make the cache widely available for deployed machines, ci, etc Once I started doing it this way, I never looked back.
I did have a former employer that tried to manage a running machine as a nix binary cache. It didn't go very well, although it's an approach that they used for a number of years. It took a lot of extra work to maintain the machine that served that purpose.
| 03:07:21 |
@elvishjerricco:matrix.org | anyone here using hydra to build / cache staging for your own systems locally? Wondering just how much extra churn that causes normally and if it's worth it to be able to build / test on staging | 16:49:48 |
@elvishjerricco:matrix.org | * anyone here buliding / caching staging for your own systems locally? Wondering just how much extra churn that causes normally and if it's worth it to be able to build / test on staging | 16:50:27 |
18 Jul 2024 |
| Sofie changed their display name from Sofie to Sofie (AWAY). | 16:37:39 |
22 Jul 2024 |
| brokenpip3 joined the room. | 07:47:45 |
| sinavir left the room. | 09:51:54 |
23 Jul 2024 |
| Ezzobir Bezziou joined the room. | 08:21:01 |
26 Jul 2024 |
| 71rd joined the room. | 11:44:15 |
| Mic92 joined the room. | 14:46:02 |
3 Aug 2024 |
| grw00 joined the room. | 15:10:23 |
7 Aug 2024 |
| quapka4 joined the room. | 09:51:03 |
quapka4 | Hi folks, can a binary cache be shared for NixOS and say Arch + Nix? | 09:53:25 |
Alyssa Ross | yes | 09:54:14 |
quapka4 | Oh, I guess the Arch + Nix can still use /nix/store so hashes of the paths match, right? | 09:54:48 |