Choosing a Java profiler

Recently I’ve been looking around for a Java profiler (since the two things you need for a successful performance tuning session are good data and clear targets). I’ll share the notes about my findings in the hope that they might be useful for someone. Quick disclaimer: don’t ...

more ...


Don’t Yield to pressure?

or: does Thread.yield have its place in todays Java programs?

I was profiling a rather old legacy codebase (since the first rule of performance optimization is “profile it” with the close second of “have clear goals in mind” - but that’s an other post) and - after optimizing the first ...

more ...

How to save/restore iptables rules on Ubuntu?

This might be an obvious thing to old Linux-heads out there, but it sure caught me off-guard, so there might be some use in spelling it out:

iptables-save and iptables-restore do not actually save/load the iptables rules to/from an external file. You are responsible for redirecting the output ...

more ...

How eco-friendly is a BMW?

[![I WANT A BMW ISETTA!](http://farm1.static.flickr.com/77/218926578_b24658ed93.jpg)](http://www.flickr.com/photos/maazbot/218926578/ “I WANT A BMW ISETTA! by maazbot, on Flickr”)

The short answer is: I don’t know :-)

While I was watching National Geographic, I caught a glimpse of the BMW ...

more ...

Recouping your data from a hung program

Scenario: you are typing away in your blog editor on Ubuntu doing a (somewhat) Flash-heavy post. You make the mistake of hitting “Preview” and the blogging software hangs. How can you get your post out?

  1. Find the PID of your blogging software
  2. Coredump it (gcore [PID] - this will create a ...
more ...


Don’t listen alone!

Do you like Linux? Do you listen to podcasts? If you’ve answered yes to both of those questions, you should know what LUG Radio is (if not, do a quick checking - I promise you that it will be worth it!).

The bad news? They stopped it in 2008. The ...

more ...