News for hackers. Stuff that matters.
Re:FreeBSD on the raspberry pi by forinti on Sunday January 03, 2016 @06:08AM (#10830237)
Apparently, ZFS needs 1GB of RAM per 1TB of storage.
Re:FreeBSD on the raspberry pi by masklinn on Sunday January 03, 2016 @07:37AM (#10830401)
You're probably thinking of deduplication (whose memory requirements is ~320 bytes per deduplicated block, and which generally requires way more than 1GB per TB, it's highly variable depending on storage load but I've seen quotes from 5 to 20GB/TB). Most users don't benefit from deduplication and it's usually recommended not to enable it unless you do demonstrably get large benefits from it (on FreeBSD, `zdb -S` will simulate and estimate deduplication benefits).

1GB is the recommended conf for ZFS on FreeBSD, it will benefit from more (and may need some tuning below 2GB) but even that's not a requirement, the FreeBSD wiki's ZFS tuning page quotes "ZFS running nicely on a laptop with 768 Megs of physical RAM" with tuning (and provides configuration values).

Re:FreeBSD on the raspberry pi by hengheng on Sunday January 03, 2016 @08:52AM (#10830577)
I've always been wondering if file system RAM caches couldn't be moved to a fast SSD nowadays. Do you think this would be possible with, say, an Intel 750?
Re:FreeBSD on the raspberry pi by masklinn on Sunday January 03, 2016 @11:58AM (#10831233)
ZFS (and probably others) let you do that, kinda: it always has a primary in-memory cache but you can add level 2 cache devices (L2ARC) to the pool. In fact you can extend two different caches to storage devices: L2ARC is a read cache, and you can add a separate set of Log Devices used by the ZFS Intent Log, where writes are cached.
Re:FreeBSD on the raspberry pi by woodman on Sunday January 03, 2016 @09:43AM (#10830732)
I'm pretty sure that is already a thing. Are you talking about something like L2ARC or swap disks?