Tech News
← Home  ·  All topics

Swap

5 GoKawiil briefs on this topic

Engineer finds swap can trigger 40ms Go GC stop-the-world pauses

A developer testing swap space to absorb memory spikes in production discovered that Go's garbage collector can experience severe stop-the-world pauses when its internal bookkeeping metadata gets swapped to disk. In a test on a Hetzner server, a median GC pause of about 51 microseconds ballooned to 40 milliseconds when that metadata resided on NVMe storage, with BPF tracing showing 228 page faults consuming nearly all of the pause time inside the collector's span-set reset routine.

NixOS guide details swap, ZRAM, Zswap and hibernate configuration tradeoffs

A blog post walks through configuring swap on NixOS for desktops and laptops that use suspend-then-hibernate, contrasting swap partitions with swap files. It notes that swap files complicate hibernation because initramfs must locate the swap space before file systems mount, requiring an EFI variable to record the location at hibernation time. The author shares working configurations: a simple swap partition on a desktop, and a LUKS-encrypted btrfs swap file on a laptop using the disko luks-btrfs-subvolumes template.

Sonos launches Ace Ultra headphones with cross-device audio linking and Adaptive ANC

Sonos has released the Ace Ultra, an update to its original Ace headphones that keeps a similar design but overhauls internal technology. The headphones run on Sonos' new Headphone Engine 2 software, enabling 'headphone linking' that lets users send audio from Sonos speakers or turntables directly to the headphones, alongside expanded noise cancellation and EQ customization.

Soundboks launches Rider, a rugged standalone party speaker with swappable battery

Soundboks has released the Rider, a portable speaker built with a steel grille, rubber corners and a thick plastic body designed to survive drops and heavy use. It features a user-replaceable battery that charges over USB-C, but skips the multi-speaker wireless linking, stand mount and XLR inputs found on Soundboks' larger Mix and 4 models.

Linux advocate urges distros to default to swap files over swap partitions

A Linux user is publicly arguing that swap files, not swap partitions, should be the default choice during OS installation. They note that swap files have matched swap partitions in performance for over two decades, while being far easier to create, resize, or remove after setup using simple commands like fallocate and mkswap.