From face6abb95497cbc5e93038dbba79f197631504e Mon Sep 17 00:00:00 2001 From: Pim van Pelt Date: Mon, 9 Sep 2024 23:42:39 +0200 Subject: [PATCH] Monday, halleluja sFlow --- content/blog/wk7day1.md | 109 +++++++++++++++++- static/img/brain.png | 3 + static/img/fullsize/2024-09-07/IMG_1143.JPG | 3 + static/img/fullsize/2024-09-09/IMG_1165.JPG | 3 + static/img/fullsize/2024-09-09/IMG_1166.JPG | 3 + static/img/fullsize/2024-09-09/IMG_1167.JPG | 3 + static/img/fullsize/2024-09-09/IMG_1169.JPG | 3 + static/img/fullsize/2024-09-09/IMG_1172.JPG | 3 + static/img/fullsize/2024-09-09/IMG_1173.JPG | 3 + static/img/fullsize/2024-09-09/IMG_1174.JPG | 3 + static/img/fullsize/2024-09-09/IMG_1176.JPG | 3 + static/img/fullsize/2024-09-09/frysix.png | 3 + static/img/thumbnails/2024-09-07/IMG_1143.JPG | 3 + static/img/thumbnails/2024-09-09/IMG_1165.JPG | 3 + static/img/thumbnails/2024-09-09/IMG_1166.JPG | 3 + static/img/thumbnails/2024-09-09/IMG_1167.JPG | 3 + static/img/thumbnails/2024-09-09/IMG_1169.JPG | 3 + static/img/thumbnails/2024-09-09/IMG_1172.JPG | 3 + static/img/thumbnails/2024-09-09/IMG_1173.JPG | 3 + static/img/thumbnails/2024-09-09/IMG_1174.JPG | 3 + static/img/thumbnails/2024-09-09/IMG_1176.JPG | 3 + static/img/thumbnails/2024-09-09/frysix.png | 3 + 22 files changed, 170 insertions(+), 2 deletions(-) create mode 100644 static/img/brain.png create mode 100644 static/img/fullsize/2024-09-07/IMG_1143.JPG create mode 100644 static/img/fullsize/2024-09-09/IMG_1165.JPG create mode 100644 static/img/fullsize/2024-09-09/IMG_1166.JPG create mode 100644 static/img/fullsize/2024-09-09/IMG_1167.JPG create mode 100644 static/img/fullsize/2024-09-09/IMG_1169.JPG create mode 100644 static/img/fullsize/2024-09-09/IMG_1172.JPG create mode 100644 static/img/fullsize/2024-09-09/IMG_1173.JPG create mode 100644 static/img/fullsize/2024-09-09/IMG_1174.JPG create mode 100644 static/img/fullsize/2024-09-09/IMG_1176.JPG create mode 100644 static/img/fullsize/2024-09-09/frysix.png create mode 100644 static/img/thumbnails/2024-09-07/IMG_1143.JPG create mode 100644 static/img/thumbnails/2024-09-09/IMG_1165.JPG create mode 100644 static/img/thumbnails/2024-09-09/IMG_1166.JPG create mode 100644 static/img/thumbnails/2024-09-09/IMG_1167.JPG create mode 100644 static/img/thumbnails/2024-09-09/IMG_1169.JPG create mode 100644 static/img/thumbnails/2024-09-09/IMG_1172.JPG create mode 100644 static/img/thumbnails/2024-09-09/IMG_1173.JPG create mode 100644 static/img/thumbnails/2024-09-09/IMG_1174.JPG create mode 100644 static/img/thumbnails/2024-09-09/IMG_1176.JPG create mode 100644 static/img/thumbnails/2024-09-09/frysix.png diff --git a/content/blog/wk7day1.md b/content/blog/wk7day1.md index 695ae6c..1fff0f5 100644 --- a/content/blog/wk7day1.md +++ b/content/blog/wk7day1.md @@ -1,8 +1,113 @@ --- -title: "Week 7, Monday: sFlow" +title: "Week 7, Monday: A Huge Zuchhini" date: 2024-09-09T21:55:00+02:00 -draft: true --- {{< image frame="true" width="17em" float="right" src="/img/headline/fluidified-04.png" alt="Credit: Fluidified, YouTube" >}} +I got up pretty early today, after a tremendously fine sleep. Marina was off to her water coloring +class, and Quinn was off to work. At 08:15 I walked downstairs to do my morning ritual (ie. inhale +caffeine). Marina pre-empted me there, putting a sticky note on the coffee machine, saying that +she'd love to go out to lunch with me (she suggested it yesterday!) but seeing as we're going to +travel to the Netherlands on Wednesday and we have lots of stuff still in the fridge, she was +feeling a little bit more of a _Carpe Diem_. I made my coffee and approved the eating at home +request. + +Speaking of eating at home - the other day when Liv came to visit, she brought a rather ginormous +zucchini with her. I took a picture of it - with a full sized tomato for scale. But somehow that +picture didn't really show the truly massive nature of this vegetabohemoth. So I decided to make a +soup out of it -- and I cut it over length wise with a large pairing knife (this kitchen knife is +33.5cm). It looked a bit more like a green pumpkin! After removing the seeds, I chopped 'er up into +itty bitty pieces, and boiled for a good 35 minutes, added some spices (finely milled black pepper, +salt, vegetable bouillon, and cayenne pepper). It'll be a nice dinner soup for tonight! + +In the morning, I finish all of my loadtests and publish the [[IPng +Article](https://ipng.ch/s/articles/2024/09/08/vpp-with-sflow-part-1/)] about sFlow, and I'm really +looking forward to my meeting with Neil tonight. I have lots of questions and thoughts on how we +might proceed and make the plugin more efficient (and: lockless). I spend most of the morning +listening to music, and doing an editorial pass over the article, fixing a few typo's and +rearranging the flow (no pun intended!) a little bit. With this Sabbatical website, I'm kind of just +writing using free word association, but the IPng articles take considerably more time (this one +took about 3 days). + +At 11:00 I call my parents - on Wednesday we'll be driving over to them and spending a few days with +them before shipping off to Fryslan. We discuss the timing, the plans and if there's anything I +should bring. I'll be making dinner for them on Thursday, and they will feature on this blog! +Incidentally, I also told them about my writing, as I owe the discipline of journalling to my Mom +who used to always write really nice logs of our vacations; sitting in the caravan or tent in the +evening, very low tech with a pad and pencil. But, it's a habit I picked up from her, for sure! + +Then around noon Marina tells me her ETA, which will be 12:15. I make my way upstairs and together +we have a spot of lunch. I'm eating the smoked salmon that I had originally bought for yesterday's +Brunch-Which-I-Never-Had, and to make up for it, I make some soft boiled eggs, njam. + +After lunch, Marina needs to run some errands, and being the needy boyfriend I am, I chain myself to +her and go with. I don't think she minded that much. We go to Glatt Zentrum first, and visit +_Douglas_ for some perfume and sunscreen, then the _Qualipet_ for some wormiedealies for our +reptilian friends Heli and Sticky, and finally we make our way to the _Coop_ for a few more nights +of dinner for us, and a longer grocery list of shopping for Quinn, who will be home alone, hopefully +not like [[the movie](https://www.imdb.com/title/tt0099785/)]. In the _Coop_ we are now greeted by a +large array of wines. We chuckle as we recount having every red wine except for one, in our cellar. +We are not fans of white wines (sorry, we're a bit racist that way). + +Back home at 14:00, I hang out online and read some e-mail. Speaking of which, my buddy Sebas from +IRC somehow feels the need to e-mail me on corp, so I humor him and grab the laptop. Whoops, battery +is completely empty! Teun says: you know you are having a successful sabbatical if your battery is +dead. And I agree with him totally. But, I charge the laptop, so that I can respond to this e-mail. + +Meanwhile on IRC, the topic of the FrysIX website comes up. It was running off of an old webserver +of Arend's, without SSL, and with a Hurricane Electric IPv6 tunnel -- brrr. As an Internet Exchange +Point, I think we cao do better. On Telegram, a bright eyed Arend says: "Can we use *this* theme?", +and shows me what he wants, what he really raelly wants. + +"OK, Gast, als jij dat wilt!", and with a _zigazig ah_, I present to you: the new FrysIX website. +The 80s called, they want their 80x25 ASCII art back! We have a littl bit of fun about the look and +feel on IRC, but honestly: I think the choice is pretty cool :) Tell me what you think about it! + +Then comes for me a hilight of the day. 18:00 rolls around and Peter Phaal and Neil McKee from inMon +join me for a video call on the sFlow plugin. Neil has read my article, and we bounce questions back +and forth. In discussing this, we think of a few ways to make the PSAMPLE approach scale, by using a +worker queue to consume a multi-writer single reader lockless queue, or ring-buffer of sufficient +size. We do a few loadtests live and toy around with the setup a little bit. + +{{< image src="/img/brain.png" width="7em" float="left" alt="brain" >}} + +Somehow, we arrive at the topic of SPAN and mirror ports, and Peter mentions that there is an +ethertype for sFlow, which triggers the big-idea: what if we created a TAP from within VPP, calling +it in Linux, say, `sflow0`, and leveraged the fact that virtio already has multiple TX queues? Now +we could simply write the samples (and counters!) as ethernet packets into the TAP and read them +from `hsflowd`. That would be so slick! + +Anyway, at 19:30 Marina is about to kick down the door to my room because I'm waaaay late for +dinner. Whoops, sorry! I scurry upstairs and make myself a cheese melt. Tonight, we're eating +zucchini vegetabohemoth soup and toasties, and that will do just fine! + +After dinner, we watch a two episodes of _Black Mirror_ on TV, and I play around with the +performance of TUN/TAP in VPP a bit. I really get excited about this idea, because I manage to +easily push 7Mpps through a single tuntap device, coming from eight different interfaces, and each +worker thread is completely independent of others, no locks, no RPCs to main. You can expect a +second article in a few weeks as we noodle on this design a bit. + +After _Black Mirror_, I go downstairs to write my journal for the day, while listening to very +relaxing, slow [[Fluidified](https://www.youtube.com/watch?v=NJQvtCmXx5g)] on YouTube. This was a +fun day, especially as a juxtaposition with yesterday's write-off due to the headache. + +## Pictures of the Day + +{{< gallery-category >}} + {{< gallery-photo fn="2024-09-07/IMG_1143.JPG" caption="The gift Liv brought - a giant zucchini, or as the Swiss say: Zucchetti" >}} + {{< gallery-photo fn="2024-09-09/IMG_1165.JPG" caption="I've sliced this zucchini length wise, and it's about 2kg or so. Lots of it has to be disposed of though - it looks a bit like a pumpkin in here!" >}} + {{< gallery-photo fn="2024-09-09/IMG_1166.JPG" caption="Marina thinks that maybe the atmospheric pressure differential is what gave my sinuses the heebie-jeebies. She may be right, there was a 10mBar dip the day before... hmmm." >}} + {{< gallery-photo fn="2024-09-09/IMG_1167.JPG" caption="The Douglas is full of powders, potions, Eyes of Newt, Gillyweed, and so on. All Marina bought was some sunscreen and parfume, though :(" >}} + {{< gallery-photo fn="2024-09-09/IMG_1169.JPG" caption="The Coop however is full of wine. And I like wine. And baking bread. And computers." >}} + {{< gallery-photo fn="2024-09-09/IMG_1172.JPG" caption="I write a default piss-off post-it note to PostFinance AG who are vulgar spammers. One Franc well spent!" >}} + {{< gallery-photo fn="2024-09-09/IMG_1173.JPG" caption="The corp laptop is completely dead. Also, its screen is gross, so I clean it up while it charges. I then send Phreak an e-mail." >}} + {{< gallery-photo fn="2024-09-09/frysix.png" caption="May I present to you: the all new and improved Frys-IX website!" >}} + {{< gallery-photo fn="2024-09-09/IMG_1174.JPG" caption="Simple cheese melt toastie and zucchini soup (with balls!)" >}} + {{< gallery-photo fn="2024-09-09/IMG_1176.JPG" caption="The singing that 'freed' this character Abi in Black Mirror. But because it's Black Mirror, she was not freed but got entirely messed up. No spoilers here :)" >}} +{{< /gallery-category >}} + +{{< gallery-modal >}} +{{< gallery-script >}} + + diff --git a/static/img/brain.png b/static/img/brain.png new file mode 100644 index 0000000..50d814d --- /dev/null +++ b/static/img/brain.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0e087274ee2b7ebd181153c93f8e0675f1e4ae80c9af01bcc86f9d8c3a20a961 +size 30488 diff --git a/static/img/fullsize/2024-09-07/IMG_1143.JPG b/static/img/fullsize/2024-09-07/IMG_1143.JPG new file mode 100644 index 0000000..d62d120 --- /dev/null +++ b/static/img/fullsize/2024-09-07/IMG_1143.JPG @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:89a913bd63fb6cb3edc9f888b89dea0cc9862592a64c766dbfc20fb682248f8b +size 1482326 diff --git a/static/img/fullsize/2024-09-09/IMG_1165.JPG b/static/img/fullsize/2024-09-09/IMG_1165.JPG new file mode 100644 index 0000000..cb20b0f --- /dev/null +++ b/static/img/fullsize/2024-09-09/IMG_1165.JPG @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:92ba16d57a7ab27667eed68b9925438c447987e587a5fda4fc210421a4507156 +size 1613052 diff --git a/static/img/fullsize/2024-09-09/IMG_1166.JPG b/static/img/fullsize/2024-09-09/IMG_1166.JPG new file mode 100644 index 0000000..4b0526f --- /dev/null +++ b/static/img/fullsize/2024-09-09/IMG_1166.JPG @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:22d495045cb508b6dcfae8ff5dfb1f97baf68ba5fc75aac2adbd9d65a5e48a52 +size 280134 diff --git a/static/img/fullsize/2024-09-09/IMG_1167.JPG b/static/img/fullsize/2024-09-09/IMG_1167.JPG new file mode 100644 index 0000000..69d5427 --- /dev/null +++ b/static/img/fullsize/2024-09-09/IMG_1167.JPG @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f9faac61c14973db75eff44f1a1814ebdc7d13529d8a37a8fbaece17c23bffcb +size 1443756 diff --git a/static/img/fullsize/2024-09-09/IMG_1169.JPG b/static/img/fullsize/2024-09-09/IMG_1169.JPG new file mode 100644 index 0000000..4fe3045 --- /dev/null +++ b/static/img/fullsize/2024-09-09/IMG_1169.JPG @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e8f185ec2ba829c07f03938aa7b8eaef67dcac3ac071bd0ba05621d3aa24ff8c +size 1402655 diff --git a/static/img/fullsize/2024-09-09/IMG_1172.JPG b/static/img/fullsize/2024-09-09/IMG_1172.JPG new file mode 100644 index 0000000..0316cef --- /dev/null +++ b/static/img/fullsize/2024-09-09/IMG_1172.JPG @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2d3d9a7d8e919cc6e69fa77f29569aa38ffd4c3cfc30b80ef080d9016ab7a739 +size 1287808 diff --git a/static/img/fullsize/2024-09-09/IMG_1173.JPG b/static/img/fullsize/2024-09-09/IMG_1173.JPG new file mode 100644 index 0000000..798f6d7 --- /dev/null +++ b/static/img/fullsize/2024-09-09/IMG_1173.JPG @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:383446eddaea18265af3b84a5b57acca4678ea82997974593730736bacc2ac93 +size 1107409 diff --git a/static/img/fullsize/2024-09-09/IMG_1174.JPG b/static/img/fullsize/2024-09-09/IMG_1174.JPG new file mode 100644 index 0000000..967a78c --- /dev/null +++ b/static/img/fullsize/2024-09-09/IMG_1174.JPG @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:13645ffc4347fe763692171ffd0d6750457ba26001b9539c4a5a5eb5797f39a9 +size 1319807 diff --git a/static/img/fullsize/2024-09-09/IMG_1176.JPG b/static/img/fullsize/2024-09-09/IMG_1176.JPG new file mode 100644 index 0000000..ab6153a --- /dev/null +++ b/static/img/fullsize/2024-09-09/IMG_1176.JPG @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:66a370d9b910ed61059077534bc48a6e332bec0270c58b789bd97473cc4f4d99 +size 805409 diff --git a/static/img/fullsize/2024-09-09/frysix.png b/static/img/fullsize/2024-09-09/frysix.png new file mode 100644 index 0000000..ea12b00 --- /dev/null +++ b/static/img/fullsize/2024-09-09/frysix.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7cf934ac320bccaf197e2922ff172eac4dabf02da8d73509b8b275f287a82e13 +size 179406 diff --git a/static/img/thumbnails/2024-09-07/IMG_1143.JPG b/static/img/thumbnails/2024-09-07/IMG_1143.JPG new file mode 100644 index 0000000..d1cb4b6 --- /dev/null +++ b/static/img/thumbnails/2024-09-07/IMG_1143.JPG @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e7fa054cf58007ba353af0022b3d6d0acd417254749eff2062a0937b74e1b30d +size 41589 diff --git a/static/img/thumbnails/2024-09-09/IMG_1165.JPG b/static/img/thumbnails/2024-09-09/IMG_1165.JPG new file mode 100644 index 0000000..2091843 --- /dev/null +++ b/static/img/thumbnails/2024-09-09/IMG_1165.JPG @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3c4e3b9639f2783664e117b410cec4e7501e8b9a16a01613365fbcd35086cff4 +size 34356 diff --git a/static/img/thumbnails/2024-09-09/IMG_1166.JPG b/static/img/thumbnails/2024-09-09/IMG_1166.JPG new file mode 100644 index 0000000..58562d4 --- /dev/null +++ b/static/img/thumbnails/2024-09-09/IMG_1166.JPG @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:50d3b8384dda00b5da9a980e63e268cb9a01de142dbe7c6ac81b44b8e527289f +size 75593 diff --git a/static/img/thumbnails/2024-09-09/IMG_1167.JPG b/static/img/thumbnails/2024-09-09/IMG_1167.JPG new file mode 100644 index 0000000..e8c88d2 --- /dev/null +++ b/static/img/thumbnails/2024-09-09/IMG_1167.JPG @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a2431427c5b4b76fd8147ddb7bc522f05871d26dd177307f922c17928a501c7f +size 54868 diff --git a/static/img/thumbnails/2024-09-09/IMG_1169.JPG b/static/img/thumbnails/2024-09-09/IMG_1169.JPG new file mode 100644 index 0000000..e9d7d3a --- /dev/null +++ b/static/img/thumbnails/2024-09-09/IMG_1169.JPG @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d7d72144f4a172aa5bc3fe30acb58547a54cca00e0e4aef7ed4f44ea4353013d +size 58887 diff --git a/static/img/thumbnails/2024-09-09/IMG_1172.JPG b/static/img/thumbnails/2024-09-09/IMG_1172.JPG new file mode 100644 index 0000000..2d341da --- /dev/null +++ b/static/img/thumbnails/2024-09-09/IMG_1172.JPG @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cfe932290053b64876d5fb5c30a26ef4e236ae506690ad7b63bd73c154498c59 +size 43953 diff --git a/static/img/thumbnails/2024-09-09/IMG_1173.JPG b/static/img/thumbnails/2024-09-09/IMG_1173.JPG new file mode 100644 index 0000000..b6d632b --- /dev/null +++ b/static/img/thumbnails/2024-09-09/IMG_1173.JPG @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1d6217ab61711ffffde8aaeac1f15804213479ceca28c641b3ea93fba05d2e86 +size 34471 diff --git a/static/img/thumbnails/2024-09-09/IMG_1174.JPG b/static/img/thumbnails/2024-09-09/IMG_1174.JPG new file mode 100644 index 0000000..6a2095f --- /dev/null +++ b/static/img/thumbnails/2024-09-09/IMG_1174.JPG @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8490e04a453ff9fd37a73de1a490fa3c39404bc6c504e27acf9afb81f693b78a +size 47546 diff --git a/static/img/thumbnails/2024-09-09/IMG_1176.JPG b/static/img/thumbnails/2024-09-09/IMG_1176.JPG new file mode 100644 index 0000000..385c7e6 --- /dev/null +++ b/static/img/thumbnails/2024-09-09/IMG_1176.JPG @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:32e5037af55443774af949749f42e22e178b6ff918c89d7bf0676c9067f11202 +size 31068 diff --git a/static/img/thumbnails/2024-09-09/frysix.png b/static/img/thumbnails/2024-09-09/frysix.png new file mode 100644 index 0000000..77c36b6 --- /dev/null +++ b/static/img/thumbnails/2024-09-09/frysix.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:305bb832a96046aea46bf58d8b6f537e1a0f3039bc68faa397af5c53628fa29e +size 53804