Pictures from Slovenia Part 2: Lake Bled

It’s been almost two years since M and I went to Berchtesgaden, so it was time again for our bi-annual hiking trip. So after landing in Ljubljana, we took the bus to Lake Bled and spent a couple of days there.

I highly recommend the hike up Osojnica Hill. It is pretty steep at times, but the views of the lake and its surroundings from up there are simply breathtaking.

Insel Bled

Bleder See Panorama von oben

I couldn’t get enough of the postcard-worthy views of Bled Island and the vegetation around Lake Bled.

IMG_20180606_153157_333

IMG_20180606_103551~2

Baum am See-01-01

Flora (1)

From our hotel room balcony we had a direct view of Bled Castle. And despite some rain on the first night and discouraging weather forecasts for the week, the new day welcomed us with this gorgeous view.

Burghügel Morgens

Burhgügel Dämmerung (1)

Burhgügel Dämmerung (2

Burghügel Nacht

Advertisements

Pictures from Slovenia Part 1: Ljubljana

In my quest to visit the capitals of Europe, I was able to cross another one off the list this month: Ljubljana, capital of Slovenia.

The city is rather small, but features an interesting combination of architectural styles: The small, sometimes dilapidated houses in the Old Town had a Mediterranean flair, almost like Rome.

Ljubljana am Fluss (1)

Ljubljana am Fluss (2)

Ljubljana am Fluss (3)

On the other hand there are places like Republic Square and several residential high-rise buildings whose architecture seems influenced by Soviet ideals.

Republic Square

Ljubljana Plattenbau

And of course there is classic architecture from when Slovenia was under Habsburg rule that might just as well fit in Vienna.

Ljubljana Kathedrale (3)

_DSC2923-01

Pictures from Ghent

My love of old cities had already taken me down to Rothenburg ob der Tauber and Heidelberg, so I don’t know why I had never been to Ghent, which is a lot closer. However, while all of these places feature beautiful medieval architecture, Ghent feels the most vibrant. Unlike Rothenburg, which forbids any changes that alter the cities appearance, Ghent feels more alive as it also incorporates modern elements in beautiful symbioses. And it is build around several rivers and canals which – as you can probably tell from the number of photos – has its very own appeal.

Day 1

The weather the first day wasn’t great, so all of that day’s pictures a bit gloomy.

Altstadt-Panorama

IMG_20180430_110315_244

IMG_20180430_110121_434

Day 2

I got a very early start on the second day and was rewarded by these beautiful sights during the blue hour.

IMG_20180501_063629_496

Kanal

IMG_20180501_063907_375

Mond über Kanal

Alte Post

On my way home, a final look back at the church towers that define Ghent’s skyline and are visible from almost anywhere in the city.

Look back

The Case of Multicast Message Loss (again)

I have written about trouble-shooting multicast issues several times before, but multicast is a gift that keeps on giving.

The Problem

The application in question would miss a substantial number of messages. A trace on the connected switch showed that all packets had been put on the wire. Tracing with Microsoft Message Analyzer on the machine showed these same messages missing, so our application probably was not at fault. Additionally, it did work on other machines just fine.

The Analysis

So I went back to the drawing board, reviewed and double-checked everything I had learned about high-throughput multicast messaging and

  • set appropriately large socket receive buffer sizes in the multicast message receiving application,
  • activated all TCP/UDP Rx/Tx offloads in the NIC configuration,
  • activated receive side scaling (RSS) and picked the maximum number of RSS queues,
  • set the NICs’ receive buffers to their maximum values,
  • disabled flow-control,
  • turned off all power-saving features in NIC and operating system,
  • used the most aggressive interrupt moderation setting, and
  • updated the NIC driver top the latest version.

In order to check NIC settings, I keep the following PowerShell snippet handy. It gives me the current, all valid and maximum values for each parameter of each NIC in the NIC team. And it doesn’t even require admin privileges.

(Get-NetLbfoTeam "MyNicTeam").Members | Get-NetAdapterAdvancedProperty | ft DisplayName,DisplayValue,ValidDisplayValues,NumericParameterMaxValue

Other useful sources:

But even after ensuring all parameter were at their optimal values, the problems persisted. So I spent some time setting up perfmon with these network-related performance counters.

One counter immediately jumped out: Packets Received Discarded was pretty much constant on the machines our application worked on. But on the machines where we noticed packet loss, this number was growing fast.

This Technet blog post has a good explanation of that performance counter and tips on how to gather it from multiple machines remotely using PowerShell.

The Cause

It turns out the machines experiencing multicast message loss had substantially smaller receive buffers (512) compared to the machines that were working fine (2048 and 4096). Even though our setup script had correctly configured the maximum value for this parameter, that was apparently still insufficient.

So we ended up upgrading the NICs on the cluster experiencing the problems and the multicast messages loss went away.

Upon closer examination we also noticed TCP packet loss while our multicast application was running. But because resends were mostly successful, only introducing small delay this had gone unnoticed before.

Pictures from Lübeck Part 2: The Faded

After Lübeck’s sights in part 1, this post is dedicated to the less splendid but no less interesting parts of town: signs of companies that have been in business for a long time; signs of companies that have been out of business for a long time. Starting with the now defunct Eden cinema that even has its own Wikipedia page.

Verblichen Eden Lichtspiele

Verblichen Transportlager

Verblichen Stavenstraße 39

Verblichen Gerüstbau

Verblichen Erwin Matutt Bürobedarf

Pictures from Lübeck Part 1: The Sights

Over the Easter holiday I spent two days in Lübeck, Northern Germany. With some of the highlights already published on my Instagram, here’s the full report.

Coming from the train station, you enter the city through Holstentor, its most iconic landmark.

Holstetor, St. Petri, Salzspeicher

Holstentor SPQL

Lübeck Cathedral with Mühlenteich.

Dom und Mühlenteich

The townhall below is particularly curious: it combines several different materials, colors and styles while also lacking a clear architectural focal point.

Rathaus (1)

Rathausplatz

In general, I just fell in love with the historic crow-stepped gable town houses you find everywhere.

Häuser (2)

Häuser (1)

Häuser mit Halbturm

Model of the historic city center with Holstentor on the left, town hall in the center and the cathedral at the bottom:

Stadtmodell