A Breath of Fresh Air - From Vim to Neovim

tl;dr: for 25 years standard vim user, without plugins. Since two years questioned bad habits and analyzed repetitive pattern and switched to neovim with certain plugin set. Here I describe which plugins I use and why. Before I go into detail, I would like to explain my working practices in this section. This is important because my setup is tailored to my environment and may be completely different for you. Admittedly, I don’t get to do much programming....

January 12, 2024 · 10 min · Hagen Paul Pfeifer

Migration to Cloudflare & Hugo

After a period of inactivity (~11 years now, with the exception of 2 posts, 7 years ago) in managing my website, it became clear that an upgrade to my web infrastructure was essential. Due to outdated scripts and other technical challenges, I’ve opted for a comprehensive overhaul of my web hosting solutions. Consequently, I am transitioning from Jekyll and Google Hosting to adopting Hugo, in combination with Cloudflare, for a more robust and updated online presence....

May 16, 2023 · 2 min · Hagen Paul Pfeifer

Book Recommendations

From time to time students ask me for book recommendations. Subsequently my personal top five(+/-) lists for each category (a little bit Linux (kernel) and C biased). I believe these are the books you should read when you are interested in one particular topic: Computer Architecture Processor Microarchitecture: An Implementation Perspective; Antonio Gonzalez and Fernando Latorre and Grigorios Magklis; The title says it all! A book you should probably read after you read all other books in this section....

March 24, 2015 · 4 min · Hagen Paul Pfeifer

My complete OpenWrt Setup Guide

Introduction First off all: this guide is no replacement for the great OpenWrt documentation. Rather this guide show what software I use and how I configure the system. Sure, some software components smells fishy, the hardware could be better and so on. But this setup is great and fullfills my requirements and at least do not use any proprietary components like FritzBox (who want’s closed source in the private network? Do they backport all kernel bugfixes?...

March 3, 2015 · 25 min · Hagen Paul Pfeifer

Intel Xeon 5500 Sequence Memory Latency

Memory latency and bandwidth is one major performance factor. I once visualized all memory subsystems and their latency impact of my Xeon 5500 in a illustration.

February 13, 2013 · 1 min · Hagen Paul Pfeifer

Managing various upstream Git Repositories

I track some Linux kernel development subsystems: Linus, perf, network (davem’s) net-next and lkvm. Additionally I add two historic Linux repositories: Thomas post 2.4 tree and davej’s pre 2.4 branch. In the earlier git days I referenced cloned locally. Later I started to add remotes within one repository. To setup this environment the following commands may be helpful: # create a vanilla git container mkdir linux; cd linux git init # add remotes git remote add --track torvalds git://git....

February 12, 2013 · 3 min · Hagen Paul Pfeifer

Captcp Gnuplot Beauty

Today some ideas how Captcp generated throughput graphs can be modified and improved. We start with a pcap file (captured via tcpdump or wireshark). We create a output directory, called graphs and finally start captcp and visualize one TCP flow. The number of the connection and flow (-f 45.2) is a result of captcp’s statistic module - I just picked up one random flow within the capture file. The output of captcp is saved in the directory graphs....

January 23, 2013 · 3 min · Hagen Paul Pfeifer

CAPTCP - Throughput Graphs and Wireshark

Today I want to demonstrate how captcp outperform wireshark for TCP flow analysis. This posting focus on throughput analysis for a specific TCP flow. In a separate posting I will demonstrate how Gnuplot can be tweaked to generate a nice image ready for web publishing or for your bachelor/master/phd thesis. The need for this posting arise from discussions with captcp users where I think that the workflow with captcp and Gnuplot is not ideal....

October 24, 2012 · 4 min · Hagen Paul Pfeifer

Born to Code in C

back in the days, with black monitors, leather jackets, red phones, 5 1⁄4" floppy disks, … - I like via Amazon

September 8, 2012 · 1 min · Hagen Paul Pfeifer

Differential Profiling

Just for the statistical guys reading my blog: Jiri Olsa posted a patch today to extend perf diff to show differential profiling. Perf diff now support three diff computations: delta: the current default one ratio: ratio differential profile wdiff: weighted differential profile The idea goes back to Paul E. McKenney and his paper Differential Profiling. Nice reading!

September 7, 2012 · 1 min · Hagen Paul Pfeifer