Linux tricks, tutorials, hardware

My blog will mostly talk about Desktop Linux & it's administration, general philosophy and software politics.

Wednesday, August 13, 2025

Gentoo x86_64/amd64 on x86_64/amd64 crossdev guide.

›
You got an underpowered amd64 machine on which you want to install Gentoo. But instead of waiting for it for days to compile libreoffice or ...
Monday, August 11, 2025

Gentoo benchmarks with vs without avx512(-mno-avx512)

›
So I had to migrate my crossdev setup which I was using to maintain my laptop to a chroot-maintained setup on my non-avx512 capable workstat...
Tuesday, August 5, 2025

Integrating sccache-dist in portage/gentoo for rust distributed compiling.

›
 NOTE: it did not work out. The (remote) sccache-dist server error out with --  Missing output path "/tmp/portage/www-client/firefox-12...
Thursday, June 19, 2025

Impact of mdadm -c, --chunk on random read/write performance and disk space utilization.

›
No one knows exactly what this is in context of mdadm, but this must be the minimum i/o size of the RAID block device. Regardless, I did som...
Tuesday, June 10, 2025

mdadm (RAID 5) performance under different parity layouts (-p --parity --layout)

›
While performance of right-asymmetric, left-asymmetric, right-symmetric, left-symmetric, is roughly the same, the performance of parity-last...
Wednesday, May 28, 2025

Re-writing HDDs to avoid bitrot/degradation under linux.

›
Over the years your archival HDDs are susceptible to bitrot. You've to re-write them on regular intervals to prevent that. You can use d...
Tuesday, April 29, 2025

ffmpeg: Audio/video out of sync in ffmpeg when frame rate limit is set using -r.

›
 If you've specified -r at the input, you may like to try moving it before the -vcodec to resolve the issue. With this change, the input...

Ext4 vs xfs (with and without rmapbt) massive small file operations benchmark

›
 Methodology /mnt/tmpfs/ contains trimmed linux sources. Large files where removed to reduce the size of the total storage to 5GB. /mnt/tmpf...
Monday, April 28, 2025

Debian trixie vs Gentoo benchmark.

›
Recently I came across this benchmark, which although old, but laughable (if you don't know why, I suggest you either readup more about...
Thursday, April 10, 2025

Debian trixie source.list (with unstable and experimental added) and corresponding apt pin configuration.

›
 This is the /etc/apt/source.list --  deb http://deb.debian.org/debian/ testing main contrib non-free non-free-firmware deb-src http://deb.d...
Thursday, March 27, 2025

xfs vs ext4 squential operation benchmark (both on HDD and nvme)

›
Methodology sequentially writing a 5GB file with cache -- cat /dev/urandom | tee /dev/stdout | tee /dev/stdout| tee /dev/stdout| tee /dev/st...
Wednesday, December 11, 2024

Getting HP K209a-z to work on Gentoo (hpaio SANE backend)

›
This printer requires the hpaio SANE backend which will be made available if you install net-print/hplip[-minimal] along with sane-backends....
Tuesday, November 5, 2024

k8sCertsFlatify: Script to dump TLS certificates in Kubernetes to flat files.

›
A script which extracts 1 or multiple tls/ssl certificates from a kubernetes cluster to PWD. NOTE: Will not check the TLS certificate of the...
Monday, October 14, 2024

Canon Pixma E470 on Linux.

›
This printer works out of the box on Debian 10 (which is deprecated as of now). It was added to CUPS automatically. I'm not sure which p...

Apache + PHP: too many connections in CLOSE-WAIT state.

›
 This is happening because your PHP scripts are not exiting. They hang up for whatsoever reason (like waiting form some network i/o etc...)....
Sunday, September 22, 2024

Clang "error: unknown target triple 'unknown'" on Gentoo.

›
 If you've set ' LLVM_TARGETS=' remove it and rebuild llvm + clang (in order). I couldn't reproduce the bug however. If you ...
Friday, August 23, 2024

agetty autologin prompting for password

›
You've added --autologin to agetty in whatever ways (like modifying or creating a new systemd unit). In that vtty, the user DOES login b...
Monday, April 1, 2024

Prevent systemd from killing a child (sub-process) process on a service stop.

›
Because of cgroups, systemd knows which process belongs to which systemd unit even if it daemonizes (even to systemd/init). The...
Monday, March 4, 2024

Washermod vs contact frame.

›
I recently got a contact frame and replaced it with washermod -- benchmarked it and found no difference.
Monday, December 25, 2023

Secure openwrt WOL with no open ports (firewall/nat etc...)

›
The objective of this article is to achieve WOL in a setup where Internet access is behind a NAT or has a firewall which allows no open conn...
›
Home
View web version
Powered by Blogger.