Tux Machines

today's howtos

Posted by Roy Schestowitz on Apr 19, 2023

=> New Distro Makes Running Arch Linux Very ‘Cachy’ | 10 Things to Do after Installing Fedora 38 Workstation

Most websites should be served statically

=> ↺ Most websites should be served statically

There's nothing stopping sites from being built dynamically, using centrally stored content, and various templates that can be put together to build a complex website. It should just happen once, and then the generated static content can be efficiently served again and again, until the source content changes, and triggers it to be rebuilt.

ARC memory reclaim statistics exposed by ZFS on Linux (as of ZoL 2.1)

=> ↺ ARC memory reclaim statistics exposed by ZFS on Linux (as of ZoL 2.1)

Yesterday I talked about some important ARC memory stats, to go with stats on how big the ARC is. The ARC doesn't just get big and have views on memory; it also has information about when it shrinks and somewhat about why. Most of these are exposed as event counters in /proc/spl/kstat/zfs/arcstats, with arc_need_free as an exception (it counts how many bytes ZFS thinks it currently wants to shrink the ARC by).

When and how ZFS on Linux changes the ARC target size (as of ZoL 2.1)

=> ↺ When and how ZFS on Linux changes the ARC target size (as of ZoL 2.1)

Previously I discussed the various sizes of the ARC, some important ARC memory stats, and ARC memory reclaim stats. Today I can finally talk about how the ZFS ARC target size shrinks, and a bit about how it grows, which is a subject of significant interest and some frustration. I will be citing ZoL function names because tools like bpftrace mean you can hook into them to monitor ARC target size changes.

A Journey through Color Space with FFmpeg

=> ↺ A Journey through Color Space with FFmpeg

This is the sentence that started it all. A user wanted to export a number of colorful Canva slides to a video file. I just recently joined Canva’s video group and thought this might be a great starter task. I mean, we’re talking about converting a bunch of images to a video and apparently, there’s a minor color space issue. At least that’s what I thought, without really grasping the complexity behind color spaces. Oh gosh, what had I done!
My first naive approach was, of course, to find out whether someone else on the internet had the same or a similar problem. Luckily, my amazing team gave me a good place to start. “Just try to convert an image to a video in the Rec. 709 color space using FFmpeg and you’ll see what the problem is.” We’ll talk about what Rec. 709 is later in the article.

=> gemini.tuxmachines.org

Proxy Information
Original URL
gemini://gemini.tuxmachines.org/n/2023/04/19/today_s_howtos.1.gmi
Status Code
Success (20)
Meta
text/gemini;lang=en-GB
Capsule Response Time
140.158079 milliseconds
Gemini-to-HTML Time
0.889197 milliseconds

This content has been proxied by September (3851b).