Recent Posts
MAP_SHARED and RSS/SHR
Recently we were debugging a memory leak on an experimental debugging branch.
It turned out to be a false alarm due to adding tokio-console to a component to debug something.
However, while investigating we noticed a higher than expected RES / SHR reported by htop on another server, that was not on the tokio console branch.
We were using shared memory / mmap queues for communicating between two processes.
These mmaps are reported in RSS (resident set size) and also in SHR (shared memory).
read more
Framework laptop + Samsung 980 Pro SED
I recently ordered a Framework DIY edition 12th gen laptop.
The DIY edition comes with a few storage options, all Western Digital NVMes.
I ordered the SN850 initially, but decided to return it to buy a NVMe with hardware encryption.
In the past I have always used LUKS / dm-crypt software based encryption.
This has the advantage of being open source, auditable, and widely used.
It is arguably more secure than trusting a drive manufacture has properly implemented secure encryption with no back doors, vulnerabilities etc.
read more
Initial Commit
Hello World?
So this is my first ever blog post, probably about 20 years or so late to the whole blog thing.
I’ve been using markdown more and more these days.
It’s quick and easy to write using my favourite tools such as vim or to generate context programatically.
And it’s easy to convert it to different formats using pandoc if needed.
For example, these days instead of writing wiki articles in mediawiki format I’ve started just writing markdown and then doing something like:
read more