Better HN
topnewbestaskshowjobs
Log inSign up

rajachan

2 karma · joined Nov 7, 2016 (10y ago) · 4 submissions

[ my public key: https://keybase.io/rajachan; my proof: https://keybase.io/rajachan/sigs/cozhRf9lgSVfJmJuVqAGYTV_lOQz3wW_JpSZrk_rRh8 ]
Submissions

comment 2y ago · link · parent

So Hassan's original version of roomgpt with some cosmetic changes?

comment 9y ago · link · parent

Hardware RAID does not suffer from the write-hole like MD-RAID does (thanks to on-board supercap-backed non-volatile memory).

I can't remember if it was merged upstream, but some folks from Facebook worked on a write-back cache for MD-RAID (4/5/6 personalities) in Linux which essentially closes the write-hole too. It allows one to stage dirty RAID stripe data in a non-volatile medium (NVDIMMs/flash) before submitting block requests to the underlying array. On recovery, the cache is scanned for dirty stripes, which are restored before actually using the P/Q parity to rebuild user data. I worked on something similar in a prior project where we cached dirty stripes in an NVDIMM, and also mirrored it on its controller-pair (in a dual-controller server architecture) using NTB. It was a fun project, when neither the PMEM nor the NTB driver subsystems were in the mainline kernel.

comment 9y ago · link · parent

Neat! I was meaning to write a FUSE filesystem for my personal use that exactly accomplished this with EXIF data. I don't feel as motivated to do that now, will give elodie a spin instead.

comment 9y ago · link · parent

+1 to the ncdu recommendation. Of all the other tricks I've used to reclaim space, this is the most efficient. Found it when an admin of an HPC system I was using complained about my usage on the site-wide Lustre. Turns out, I had core dumps neatly tucked away in a project dir that I hadn't looked at in 3+ years.