<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacker News: delamon</title><link>https://news.ycombinator.com/user?id=delamon</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Tue, 01 Dec 2026 05:15:50 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=delamon" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by delamon in "A live tree of systemd jobs on the boot console"]]></title><description><![CDATA[
<p>> On many, many machines 7/24/365<p>Been there too. The thing I disliked most, that it sometimes get stuck in some strange pose, without any reasonable way of remediation. And because it is so annoying to debug, reboot become the only tool do deal with it.<p>The sheer complexity of systemd created nasty feedback loop: it is too complex to be debugged; people prefer to reboot it; that keeps problems keep accumulating inside.</p>
]]></description><pubDate>Thu, 12 Nov 2026 11:19:17 +0000</pubDate><link>https://news.ycombinator.com/item?id=50465652</link><dc:creator>delamon</dc:creator><comments>https://news.ycombinator.com/item?id=50465652</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=50465652</guid></item><item><title><![CDATA[New comment by delamon in "Enlightenment 0.28 Released with Many Improvements"]]></title><description><![CDATA[
<p>This bring happy memories of picking WM here <a href="https://web.archive.org/web/20110718042510/http://www.plig.org/xwinman/" rel="nofollow">https://web.archive.org/web/20110718042510/http://www.plig.o...</a> Too bad the web-site is no longer alive.</p>
]]></description><pubDate>Sat, 31 Oct 2026 21:06:55 +0000</pubDate><link>https://news.ycombinator.com/item?id=50320245</link><dc:creator>delamon</dc:creator><comments>https://news.ycombinator.com/item?id=50320245</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=50320245</guid></item><item><title><![CDATA[New comment by delamon in "Enlightenment 0.28 Released with Many Improvements"]]></title><description><![CDATA[
<p>If my memory serves my right, theming was built on-top of C preprocessor.</p>
]]></description><pubDate>Sat, 31 Oct 2026 21:03:28 +0000</pubDate><link>https://news.ycombinator.com/item?id=50320212</link><dc:creator>delamon</dc:creator><comments>https://news.ycombinator.com/item?id=50320212</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=50320212</guid></item><item><title><![CDATA[New comment by delamon in "All you need is Wide Events, not "Metrics, Logs and Traces""]]></title><description><![CDATA[
<p>(2024)<p>prev. submission - <a href="https://news.ycombinator.com/item?id=39529775">https://news.ycombinator.com/item?id=39529775</a></p>
]]></description><pubDate>Sun, 25 Oct 2026 18:54:12 +0000</pubDate><link>https://news.ycombinator.com/item?id=50234840</link><dc:creator>delamon</dc:creator><comments>https://news.ycombinator.com/item?id=50234840</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=50234840</guid></item><item><title><![CDATA[Denmark data breach: it appears that the password was simply 123456]]></title><description><![CDATA[
<p>Article URL: <a href="https://ekstrabladet.dk/nyheder/samfund/medie-hacker-paastaar-at-staa-bag-cpr-laek/11314806">https://ekstrabladet.dk/nyheder/samfund/medie-hacker-paastaar-at-staa-bag-cpr-laek/11314806</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=50018213">https://news.ycombinator.com/item?id=50018213</a></p>
<p>Points: 2</p>
<p># Comments: 0</p>
]]></description><pubDate>Fri, 09 Oct 2026 09:39:17 +0000</pubDate><link>https://ekstrabladet.dk/nyheder/samfund/medie-hacker-paastaar-at-staa-bag-cpr-laek/11314806</link><dc:creator>delamon</dc:creator><comments>https://news.ycombinator.com/item?id=50018213</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=50018213</guid></item><item><title><![CDATA[New comment by delamon in "Margaret Hamilton has died"]]></title><description><![CDATA[
<p>It is infinitely harder to be first. Once it is known that viable path exists, the task becomes a lot easier</p>
]]></description><pubDate>Thu, 08 Oct 2026 05:33:17 +0000</pubDate><link>https://news.ycombinator.com/item?id=50002089</link><dc:creator>delamon</dc:creator><comments>https://news.ycombinator.com/item?id=50002089</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=50002089</guid></item><item><title><![CDATA[New comment by delamon in "A 40ms Go garbage collector pause caused by swap"]]></title><description><![CDATA[
<p>I did not rewrite anything.<p>Yes, I was and still running go and zig binaries with mlockall. Apps have large in-application caches and also perform large streaming reads of datasets bigger than available RAM. If it happens that several streaming reads running at same time, they push memory pressure hard enough, so kernel swaps out cold parts of in-app caches. That later leads to elevated latencies => mlockall to avoid that.</p>
]]></description><pubDate>Tue, 06 Oct 2026 18:16:10 +0000</pubDate><link>https://news.ycombinator.com/item?id=49982075</link><dc:creator>delamon</dc:creator><comments>https://news.ycombinator.com/item?id=49982075</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49982075</guid></item><item><title><![CDATA[New comment by delamon in "A 40ms Go garbage collector pause caused by swap"]]></title><description><![CDATA[
<p>That would work reasonably well. With one important caveat: memory controller tracks all memory, including page cache. Setting memory.min will prevent reclaim of page cache charged to that cgroup, as long as total memory usage stays below the limit.</p>
]]></description><pubDate>Tue, 06 Oct 2026 11:14:25 +0000</pubDate><link>https://news.ycombinator.com/item?id=49976846</link><dc:creator>delamon</dc:creator><comments>https://news.ycombinator.com/item?id=49976846</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49976846</guid></item><item><title><![CDATA[New comment by delamon in "A 40ms Go garbage collector pause caused by swap"]]></title><description><![CDATA[
<p>I think we are saying the same thing. Active code pages are not evicted; non-active code pages (that is, pages that had not been accessed since last time of active LRU shrinking) may be evicted.</p>
]]></description><pubDate>Tue, 06 Oct 2026 10:56:25 +0000</pubDate><link>https://news.ycombinator.com/item?id=49976718</link><dc:creator>delamon</dc:creator><comments>https://news.ycombinator.com/item?id=49976718</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49976718</guid></item><item><title><![CDATA[New comment by delamon in "A 40ms Go garbage collector pause caused by swap"]]></title><description><![CDATA[
<p>All <i>recently referenced</i> code pages in the active LRU are excluded from reclaim.<p>Code pages are paged in on demand: for any sufficiently large binary just some code pages will be mapped right after start. Given enough memory pressure, the active LRU will be shrunk often enough to push code pages out of the active LRU and then they are eventually evicted.<p>I'm not aware how it works in modern MGLRU, but I would assume similar ovservable behevior holds.</p>
]]></description><pubDate>Tue, 06 Oct 2026 05:49:11 +0000</pubDate><link>https://news.ycombinator.com/item?id=49974690</link><dc:creator>delamon</dc:creator><comments>https://news.ycombinator.com/item?id=49974690</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49974690</guid></item><item><title><![CDATA[New comment by delamon in "A 40ms Go garbage collector pause caused by swap"]]></title><description><![CDATA[
<p>I'm not. If you think that I said something not correct, do correct me. We're all learning.</p>
]]></description><pubDate>Tue, 06 Oct 2026 05:02:35 +0000</pubDate><link>https://news.ycombinator.com/item?id=49974393</link><dc:creator>delamon</dc:creator><comments>https://news.ycombinator.com/item?id=49974393</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49974393</guid></item><item><title><![CDATA[New comment by delamon in "A 40ms Go garbage collector pause caused by swap"]]></title><description><![CDATA[
<p>You are correct, of course: if your application needs 2x RAM and you only have 1x, then there is no way mlock can magically save you from swapping. What it gives is protection from a noisy neighbour.<p>The good thing is that mlock/mlockall does not require elevated permissions. But it is bounded by the memlock rlimit, which you need to configure for the container. If you don't want paging/swapping, set it equal to the total memory you give to the container and call it a day.<p>I'm curious about the technical implications. Which ones do you have in mind?<p>To be honest, I don't quite see how mlock makes it complex. It's quite the opposite: it has very clear semantics and makes reasoning about system behavior simple. Disabling swap is the opposite: you're making a bet and hoping it works.</p>
]]></description><pubDate>Mon, 05 Oct 2026 21:12:56 +0000</pubDate><link>https://news.ycombinator.com/item?id=49970841</link><dc:creator>delamon</dc:creator><comments>https://news.ycombinator.com/item?id=49970841</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49970841</guid></item><item><title><![CDATA[New comment by delamon in "A 40ms Go garbage collector pause caused by swap"]]></title><description><![CDATA[
<p>Perhaps I wasn't clear, but I did say that all file pages are treated equally. 
I would assume that page with PC is excluded from reclamation process, but other  code pages are valid targets.</p>
]]></description><pubDate>Mon, 05 Oct 2026 21:00:31 +0000</pubDate><link>https://news.ycombinator.com/item?id=49970669</link><dc:creator>delamon</dc:creator><comments>https://news.ycombinator.com/item?id=49970669</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49970669</guid></item><item><title><![CDATA[New comment by delamon in "A 40ms Go garbage collector pause caused by swap"]]></title><description><![CDATA[
<p>The op, most likely, was referring to generational GCs. Golang notably doesn't have one.</p>
]]></description><pubDate>Mon, 05 Oct 2026 16:19:13 +0000</pubDate><link>https://news.ycombinator.com/item?id=49966867</link><dc:creator>delamon</dc:creator><comments>https://news.ycombinator.com/item?id=49966867</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49966867</guid></item><item><title><![CDATA[New comment by delamon in "A 40ms Go garbage collector pause caused by swap"]]></title><description><![CDATA[
<p>Can you elaborate, why mlock is bad? And how disabling swap is better?<p>You are correct, that 90MB Go binary is not major memory consumer. But it doesn't matter what is the source of memory pressure. What matters is what kernel do under pressure. If you disable swap, then under memory pressure kernel can only pageout memory mapped files, no matter how small they are. And your code will be paged out.</p>
]]></description><pubDate>Mon, 05 Oct 2026 16:17:53 +0000</pubDate><link>https://news.ycombinator.com/item?id=49966847</link><dc:creator>delamon</dc:creator><comments>https://news.ycombinator.com/item?id=49966847</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49966847</guid></item><item><title><![CDATA[New comment by delamon in "A 40ms Go garbage collector pause caused by swap"]]></title><description><![CDATA[
<p>I was biten by not understanding madvise(MADV_WILLNEED) semantics fully. It will prefetch, but it will not pre-fault. You still gonna pay minor page fault on every new page access. There is MADV_POPULATE_READ, but it is synchronous.</p>
]]></description><pubDate>Mon, 05 Oct 2026 15:59:18 +0000</pubDate><link>https://news.ycombinator.com/item?id=49966607</link><dc:creator>delamon</dc:creator><comments>https://news.ycombinator.com/item?id=49966607</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49966607</guid></item><item><title><![CDATA[New comment by delamon in "A 40ms Go garbage collector pause caused by swap"]]></title><description><![CDATA[
<p>By that definition, Go has very bad GC. Many (myself included) would strongly disagree with this.</p>
]]></description><pubDate>Mon, 05 Oct 2026 13:58:58 +0000</pubDate><link>https://news.ycombinator.com/item?id=49965005</link><dc:creator>delamon</dc:creator><comments>https://news.ycombinator.com/item?id=49965005</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49965005</guid></item><item><title><![CDATA[New comment by delamon in "Denmark data breach exposes 8.8M people's personal data"]]></title><description><![CDATA[
<p>They say that persons with protected address had not been leaked.</p>
]]></description><pubDate>Mon, 05 Oct 2026 09:35:16 +0000</pubDate><link>https://news.ycombinator.com/item?id=49962588</link><dc:creator>delamon</dc:creator><comments>https://news.ycombinator.com/item?id=49962588</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49962588</guid></item><item><title><![CDATA[New comment by delamon in "A 40ms Go garbage collector pause caused by swap"]]></title><description><![CDATA[
<p>There are two types of pages: anonymous and mapped from files. The code pages are mapped from a binary; they are not very special.<p>Under memory pressure, the kernel evicts less popular pages from memory. If a page has been mapped from a file, it is dropped (if dirty, then it is written out first). If it is needed later, the kernel can read it back from the file. If a page is anonymous (read: heap page), then there is no backing file and the kernel copies it to swap before dropping it. This is swapping.<p>So, what happens if you disable swap and the kernel is low on memory? What can it evict? Anonymous pages cannot be evicted: there is no swap to put a copy in. The only choice the kernel has is to evict pages that are mapped from files. Those include pages mapped from the executable. You don't eliminate stalls by disabling swap, you just move them elsewhere: the kernel will page out code and your app gets paused whenever the execution flow hits such a page.</p>
]]></description><pubDate>Mon, 05 Oct 2026 07:40:02 +0000</pubDate><link>https://news.ycombinator.com/item?id=49961809</link><dc:creator>delamon</dc:creator><comments>https://news.ycombinator.com/item?id=49961809</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49961809</guid></item><item><title><![CDATA[New comment by delamon in "A 40ms Go garbage collector pause caused by swap"]]></title><description><![CDATA[
<p>If you want you application to stay in memory, then make it explicitly with mlock()/mlockall().<p>Disabling swap will just moves pressere elsewhere: to code pages. And evicted code page is no better: full stall while kernel loads that page from disk.</p>
]]></description><pubDate>Mon, 05 Oct 2026 06:35:57 +0000</pubDate><link>https://news.ycombinator.com/item?id=49961376</link><dc:creator>delamon</dc:creator><comments>https://news.ycombinator.com/item?id=49961376</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49961376</guid></item></channel></rss>