!CcTBuBritXGywOEGWJ:matrix.org

NixOS Binary Cache Self-Hosting

174 Members
About how to host a very large-scale binary cache and more61 Servers

Load older messages


SenderMessageTime
24 Aug 2023
@zhaofeng:zhaofeng.liZhaofeng LiIf you have deep visibility/metadata into the store itself, the store itself can even be the chunk cache19:42:04
@raitobezarius:matrix.orgraitobezarius this I am planning too flokli but it will be when Raito Corp will be done and we will do 400Gbps distribution of the software universe 19:42:21
@raitobezarius:matrix.orgraitobezariusit's surprisingly hard to get OCP to give you a free 400Gbps switch19:42:34
@zhaofeng:zhaofeng.liZhaofeng Li
In reply to @raitobezarius:matrix.org
please give me 5Gbps saturating cache
Oh nice, I have an appointment to install 5G Google Fiber next month, but my roommate is thinking about bailing out because of the cost
19:42:38
@raitobezarius:matrix.orgraitobezarius
In reply to @zhaofeng:zhaofeng.li
Oh nice, I have an appointment to install 5G Google Fiber next month, but my roommate is thinking about bailing out because of the cost
well I pay it 30EUR/mo
19:42:51
@flokli:matrix.orgflokli
In reply to @zhaofeng:zhaofeng.li
If you have deep visibility/metadata into the store itself, the store itself can even be the chunk cache
This is already the case actually - I don't realize the actual files on disk currently, you can look at them through fuse
19:43:00
@raitobezarius:matrix.orgraitobezariusbut I support you towards 5G19:43:08
@flokli:matrix.orgflokliRust in kernel VFS when19:43:10
@raitobezarius:matrix.orgraitobezarius
In reply to @flokli:matrix.org
Rust in kernel VFS when
:DDDDDDDDDDDDDDDDDD
19:43:21
@zhaofeng:zhaofeng.liZhaofeng Li
In reply to @flokli:matrix.org
This is already the case actually - I don't realize the actual files on disk currently, you can look at them through fuse
Very cool, didn't know that!
19:44:00
@raitobezarius:matrix.orgraitobezariushttps://cs.tvl.fyi/depot/-/blob/tvix/store/src/fuse/mod.rs19:44:23
@raitobezarius:matrix.orgraitobezariusif I'm not wrong19:44:45
@flokli:matrix.orgflokliIt's all a bit wip, there's no seek support, because I want to do this in concert with verified streaming19:45:12
@flokli:matrix.orgflokliBut it should happen all in the next months19:45:30
@flokli:matrix.orgflokliBut it should already be good enough for builds19:46:51
@flokli:matrix.orgflokliI'll talk about it during nixcom19:47:24
@flokli:matrix.orgflokli* I'll talk about it during nixcon19:47:32
@brian:bmcgee.ieBMG
In reply to @flokli:matrix.org
I'll talk about it during nixcon
You giving a scheduled talk?
20:10:11
@raitobezarius:matrix.orgraitobezariusa smol talk about a certain reimplementation of Nix20:10:26
@brian:bmcgee.ieBMGCan always chat about it anyway over a few 🍻20:10:37
@flokli:matrix.orgflokliSmalltalk20:10:37
@raitobezarius:matrix.orgraitobezariussomething something about putting the oxide inside the nix20:10:45
@raitobezarius:matrix.orgraitobezariusok let's push this schedule20:10:56
@raitobezarius:matrix.orgraitobezarius * ok let's push this (NixCon) schedule20:11:00
@elvishjerricco:matrix.org@elvishjerricco:matrix.org Ok I redid my dumb nar cache and zfs dataset. I made a spreadsheet of all the nar file sizes and found that nars <= 512KiB account for 1.2% of the data, but 80% of the files. So I rsync'd the data to a new dataset so that I could set recordsize=1M and special_small_blocks=512K. Now there's 7GiB on the special optane vdev and the rest of the 371GiB is on the HDDs, and it's fast as hell 23:50:10
@raitobezarius:matrix.orgraitobezariussend us statistics23:50:22
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgwhat are you interested in?23:50:44
@raitobezarius:matrix.orgraitobezariusif you run a heavy duty transfer, IOPS/throughput?23:51:16
@raitobezarius:matrix.orgraitobezariusat the ZFS level23:51:21
@raitobezarius:matrix.orgraitobezariusbut also at the application level23:51:28

Show newer messages


Back to Room ListRoom Version: 10