IPv6 BIG TCP / Replace TCP in DC: Homa

This week a colleague pass this link about running kubernetes cluster running on Cilium. The interesting point is the high throughput is achieved by BIG TCP and IPv6!

The summary (copied) is:

TCP segments in the OS are up to 65K, NIC hardware does the segmentation – we do this now, but the 65K is a limitation of IPv4 addressing.  BIG TCP uses IPv6 and allows much large TCP segments within OS currently 512K but theoretically higher.  End result – better perf (>20% higher in this video) and latency (2.2x faster through the OS).

Then I saw this other video from John Ousterhout. It is similar topic as the Kubernetes video above as K8S is used mainly in datacenters.

High performance:
– data throughput: full link speed for large messages
– low tail latency: <10us for short messages? (DC)
– message throughput: 100M short messages per second? (DC)

TCP issues in DC:
1- stream oriented (no load balancing) -> message based
2- connection oriented (can break infiniband!, expensive,)-> connectionless
3- fair scheduling (bw sharing) -> run to completion (SRPT)
4- sender-driven congestion control (based on buffer occupancy) -> receiver- driven congestion control
5- in-order delivery -> no ordering requirements

As well, it is important the move to NIC (as there is already a lot of NIC offloading).

His proposal for HOMA looks very nice but I like how he explains how dificult is going to be successful. Still worth trying.

Prelude to Foundation

Before last book of Foundation series. I was a bit reluctant to follow but I was actually surprised by this book. It is all about the beginning of psychohistory by Hari. I assumed it would be a bit dull but looks like a bit like Doctor Jones being Indiana Jones 🙂

And the end is quite a twist I didnt expect. So looking forwards for the next.

Soda Bread and Naan

Soda Bread Ingredients:

  • 170g self raising flour
  • 170g plain flour
  • 1/2 tsp salt
  • 1/2 tsp bicarbonate of soda
  • 290ml (1/2 pint) buttermilk

Soda Bred Process:

  • Pre-heat oven at 200C
  • Mix the flours, salt and bicarbonate into a large bowl.
  • Make a well in the center and pour the buttermilk, mixing with a fork to form a soft dough.
  • Knead for 3-4 minutes in a lightly floured surface.
  • Form a ball with the sides of your hands, flatten a bit the top.
  • Cut the ball in 8 pieces with a big knife. Use a bit of oil so the knife doesn’t stick.
  • Let is rest for 15 minutes. Prepare a tray lightly floured.
  • Bake for 30 minutes. Check with a toothstick that comes out clean. And it should sound hollow when tapping the bottom.
  • Cool in a wire rack.

Ingredients for Peshwari Naan Bread:

  • 3/4 tsp instant yeast
  • 1/2 tsp sugar
  • 60ml body temperature water
  • 140g plain flour
  • 1/4 tsp salt
  • 60ml/54g Greek style yogurt
  • 1/2 tsp vegetable oil

Naan Filling:

  • 28g butter
  • 1 tbsp desiccated coconut
  • 24g raisins
  • 22g almonds

Naan Process:

  • Mix yeast, sugar and water. Wait a 1-2 minutes until the liquid is a bit bubbly.
  • Mix flour and salt in a bowl
  • Add the water mix to the yogurt and oil.
  • Add the yogurt mix to the flour. Mix well with a fork
  • Knead for 5 minutes. It is going to be sticky. Add a bit extra flour if needed.
  • Put the dough back in a lightly oiled bowl.
  • Let is prove until double in size. 1h at least
  • Prepare the filling. In a chopping board put all ingredients but butter. Chopped all them until they are fine.
  • Add the butter, mix all ingredients and form 3 balls.
  • Once the dough has risen. Divide in 3 parts.
  • With a lightly floured rolling pin, roll each dough into a small circle, put a piece of butter in the middle. Wrap it with the rest of dough.
  • Roll the dough ball with the pin trying to form an eye-drop. It should be quick, not many passes with the pin.
  • Put the naans on a ligthly floured towel.
  • Heat up a skillet. Once hot, (just a drop of oil), put a naan. Wait until puffs up and start to get brown dots in the bottom.
  • Flip and wait for the same. Check it doesnt burn! Likely less than 1 minute.
  • Repeat for the other naans.

This is the result:

The soad bread was very tasty and super quick to make!!!

The naans were tasty too. I guess the filling can be very different.

Aquafaba Cherry Brownie

I had aquafaba left over from making humus and always wanted to do something simple with it. As well, it has been a long time since I do brownies. So found a recipe that mixed both:

Ingredients:

  • Liquid from a can of chickpeas (around 120ml)
  • 290g sugar (I think it is too much)
  • 150g dark chocolate (I used 85% dark) chopped
  • 110g margarine
  • 180g plain flour
  • 40g cocoa powder
  • 1 tsp salt
  • 1 tsp vanilla extract
  • 1 tsp coffee powder
  • optional: chocolate chips (I didnt use…)
  • 2 handful of frozen cherries

Process:

  • Pre-heat oven at 175C
  • Let the frozen cherries to get to room temperature. Dont add them frozen to the butter (as I did…) as it will solidify it….
  • Sift flour and cocoa powder.
  • In another bowl, mix sugar and aquafaba. I dont have a mixing attachment to my hand blender so I did it manually. I didnt get to the point as in the video.
  • Add the vanilla, salt, coffe to the liquid. Fold it with a spatula.
  • Melt the margarine and chocolate using Bain Marie. I ran out of bowl and had to use a saucepan directly on the heat….
  • Pour the melted chocolate over the aquafaba mix. Fold everything together.
  • Add the flour mix to the wet ingredients. Combine properly but dont over mix.
  • Add the chocolate chips and cherries if you want to. Mix all a bit.
  • Pour the butter into a baking tin covered with baking paper. Mine is 30x20cm and I think it is a bit too big. You dont have to spread the butter everywhere if you want a bit thicker brownies.
  • Bake for 30-35 minutes. Use a toothpick to check if the center comes out with a bit of moister. Dont over bake it! (as I did)
  • Let the brownies to cool for 0 minutes then you can cut them.

To be honest, I made many mistakes. The worse one was adding the cherries frozen!!! And I left the brownies too long in the oven. As usual, more practice!!!

I think my normal brownies are much better but still it was a way to use aquafaba. Need to find more usage for that anyway.

Calzone

This dough can be used for pizza too. And the filling is quite personal.

Ingredients for dough (x2 calzone)

  • 225g plain or strong white flour + dusting
  • 90ml milk warmed at body temperature
  • 50ml water warmed at body temperature
  • 1 tsp dried yeast
  • 25ml olive oil
  • pinch salt

Filling:

  • cherry tomatoes
  • 1 mozzarella roughly chopped
  • any cold meat if you wish
  • capers, oregano
  • grated parmesan
  • olive oil
  • some slices of onion
  • some tbsp of tomate sauce

Process

  • Sift the flour and salt in a bowl.
  • Warm the milk and water in a saucepan. Just body temperature! If too hot, will kill the yeast. Add the dry yest and mix.
  • Add the milk mix to the flour, mix a bit and then add oil. Mix well.
  • Knead until smooth and the window test passes.
  • Let me it proof until double in size.
  • Pre-heat oven at 250C.
  • Mix all your filling ingredients in a bowl.
  • Dive the dough in two, roll in a big circle around 23cm or so.
  • Put the filling in the middle. Dont put too much so you need to “close” the dough.
  • Brush the dough edges with water, then fold half the side over to cover the filling.
  • Pinch the edges “covering your thumb”.
  • White a knife score the top of your calzone.
  • Bake until dough is golden.

It looks like a big “empanada” but still was good.

To be honest, I need to practice more my pizza dough. It is quite far from any good pizza I have tried.

Rosquillos

This is typical sweet from my hometown and never tried to bake it until yesterday. I have been in the bakery (“horno”) twice in the last two years and just got an idea of the ingredients but never been brave enough to ask for the proportions so this is just a guess…

Ingredients:

  • 200ml water + 25g sugar + 2 star anise
  • 100ml orange juice
  • 200ml olive oil
  • 400g strong white flour (harina pastelera)
  • 120g caster sugar
  • 50ml anise (43%) – I used sambuca

Process:

  • Boil the water, sugar and star anise. Let it simmer for 5 minutes. Then cool down.
  • In a bowl, mix all ingredients. Just add 150ml from the water mix above.
  • Knead for 15-20 minutes until smooth. It doesnt stick much as it has lot of oil.
  • Let the dough to rest for 30 minutes in the bowl.
  • Using a scale, make 6 balls, aprox 150g each. Be sure they are tight balls.
  • Let them rest for 1h or so in a tray with a bit of flour as anti-stick. I used two trays. The idea is to try to prove the balls (in my case it didnt happen…)
  • Pre-heat oven at 175C
  • Make a hole in the middle, like a “rosquilla” and the try to make “picos” in the sides. I failed miserably with the “picos”.
  • Put one tray in the oven, bake until golden.
  • Bake the second tray.
  • Let the “rosquillos” to cool down.

My version:

The real deal:

So still a bit off target 🙂

The real “rosquillos” uses only anise (liquor). But it can be dangerous to use at home because if the oven has not good ventilation, the alcohol can blow it, so for that reason I just used it a bit and try to replace it with the water+star anise.

In summary, my version is eatable. I didnt have to throw them away so that’s a win at the end. The flavour is still far from the original but tasty nonetheless.

Another thing, I had the oven at 230C initially so the first batch went to dark and inside wasnt very well cooked. And this morning were quite hard. I remember the original ones go hard too but no the next day. Still it was tasty today though.

So possible modifications/incognitas:

  • Bake at 175C (already updated instructions)
  • Less olive oil, 150ml?
  • A bit more anise alcohol?
  • how to make them prove?

I guess I will try again soon as the process and ingredients are not “difficult”. It was to find a decent proportion. Hopefully next year I will go back to the bakery and ask for the proportions.

2nd Attempt:

  • 150ml water + 25g sugar + 2 star anise
  • 100ml orange juice
  • 100ml olive oil
  • 450g strong white flour (harina pastelera)
  • 120g caster sugar
  • 50ml anise (43%) – I used sambuca

Super sticky dough, not much better 🙁

3nd Attempt:

  • 100ml orange juice
  • 150ml olive oil
  • 450g strong white flour (harina pastelera)
  • 120g caster sugar
  • 100ml anise (43%) – I used sambuca

No sticky dough (good to remove water+sugar+anise), but still not raising. It releases liquid…. I think I need to put less liquid (of everything)?? It is the flour correct? The recipe needs “Harina Pastelera” and when asked what was the difference I was told it was the “strength” so I have assumed I need “strong” white flour… Next time I will try to make “Harina Pastelera”.

VMware Co-stop / LPM in hardware

This is a very interesting article about how Longest Prefix Matching is done in networks chips. I remember reading about bloom filters in some Cloudfare blog but I didnt think that would be use too in network chips. As well, I forgot how critical is LPM in networking.

I had to deal lately with some performance issues with an application running in a VM. I am quite a noob regarding virtualization and always assumed the bigger the VM the better (very masculine thing I guess…) But a virtualization expert at work explained me issues regarding that assumption with this link. I learnt a lot from it (still a noob though). But I agree that I see most vendors asking for crazy requirements when offering products to run in VM…. and that looks like that kills that idea itself of having a virtualization environment because that VM looks like requires a dedicated server…. So right-sizing your product/VM is very important. I agree with the statement that vendors dont really do load testing for their VM offering and the high requirements it is an excuse to “avoid” problems from customers.

Vegan sticky toffee pear pudding

For NYE dinner I wanted to try something different from my standard vegan cherry frozen cake so this recipe looked nice.

Ingredients for caramelized pears:

  • 6 small firm pears (conference are good)
  • 200g caster sugar
  • 2 cinnamon sticks
  • 1 star anise
  • 6 cloves
  • 1 lemon zest
  • 1 orange zest

Ingredients for sponge:

  • 250g pitted dates
  • 1 tsp chia seeds
  • 1 can of coconut milk
  • 200ml sunflower oil
  • 160g dark muscovado sugar
  • 200g self-raising flour
  • 1 tsp bicarbonate soda
  • 1 tsp ground mixed spice (I used Chinese)
  • pinch of salt

Process:

1- Peel the pears, cut the bottom off each to give a flat base. With a small knife, try to cut the pips/heart from the base. Roughly chop these scraps and discard the seeds as are not sweet. Set aside for later.

2- In a saucepan where all pears can fit, pour sugar, cinnamon sticks, star anise, cloves, zests and 600 ml water. Bring to a boil, then simmer and add the pears. Cover the saucepan if you can. Poach them until a knife easily slides into the pear. Around 25-30 minutes. After that, remove from heat and let the pears cool down in the liquid.

3- Put chopped dates, chia and coconut milk in another saucepan. Bring to medium heat, stir often so the milk doesnt stick in the bottom. Check the dates get soft.

4- Pour the date mix into a food processor and blitz until smooth. Add oil and blend again. Let it cool down.

5- Pre-heat oven at 175C. My bakin tin is 32x22x5 cm. Line it with baking paper.

6- In a bowl, put the sugar, flour, bicarbonate, mixes spice and pinch of salt. Mix all well by hand. Be sure there are no sugar lumps.

7- Add the date mix to the flour. Mix with a spatula all together. Add the pear scraps.

8- Pour the mix into the tin. Nestle the pears, standing up right. Bake for 35-40 minutes. Remove from oven only if a skewer in the center of the cake comes out clean.

9- Try to reduce the pear poaching liquid to a syrup (I couldnt).

10- Once the cake is out of the oven, with a brush, pour a bit of the syrup on top. Then let it cool down a bit.

11- I cut mine in six parts to be sure everybody had a piece with pear.

I haven’t tried a sticky toffee pudding from a long time. This one didnt remind me much but it was really tasty nonetheless. So happy with the result. And my friends too!

Dune5: Heretics of Dune

This was a good book from the series. Very engaging with many plots ongoing. Although the end it is a bit “quick”. I got lost with the “Golden Path” references from the God Emperor but in general you get hooked quickly with all the action and new characters. It is really interesting how Duncan Idaho becomes such an important character in the whole series. You would never thought about from the first books.

As well, it is interesting the ideological “fight” against using computes. There is high tech but there is a constant fear from the computer as they could take over. This just come up very few times but you always think the future will be all about technology, AI, etc and then the books go around constantly about “religion”, control, survival, etc.

Looking forwards for the next one as it is the last book written from Frank Herbert based on the reading order

Más Platón y menos Prozac

I read this book around 2001 on the tube to Uni. Not sure why I bought it, I guess the tittle looked interesting mixing a philosopher and an anti-depressant?

Somehow, I wanted to re-read it, maybe first time I do it. I think now it makes more sense than 21 years ago (how things have changed!!!) and proves further my feeling that having a solid moral base it is the key for dealing with (a lonely or not) life. In the last years I have read several books that are categorized as self-help but all they gave me something to build my moral. And this book proves that strategy.

The idea is not all issues are “fixed” with a pill. In some (maybe many?), it is our way of thinking what it is causing our problems. And I can’t agree more. I am fully aware that many of my complaints are more based on my behaviour that external things. So this is a work for life. And I dont mind. If you dont work a muscle, you know it goes weak.

The book focus in Western and Oriental philosophies but it doesnt prefer any, each person, each case, needs a different approach, so that builds your tool box. You have an intro to several aspects of philosophy that are “easy” to digest. That is quite good, because one of my complaints is that most authors make their book imposible to digest if you are not one of them, and that kills the idea of philosophy? This should be for everybody! That should be the essence of philosophy.

As well, the book gives the process PEACE to use the philosophical approach and provides examples for several cases.

Still, the book doesnt deny that there are cases where medication is needed. And I agree with that. So the idea of visiting a philosopher is added to the current options of a psychologist or psychiatrist. And the site is up. And it is quite spread. The idea to attend a philosophical cafe conversation is appealing, sometimes you yearn for a deep conversation.

So at the end, it was worth to read it again to carry on my work of self-care/improvement, resilience, etc.