• Link to X
  • Link to LinkedIn
Embedded Success
  • Home
  • Podcast
  • About me
  • Disclaimer
  • Click to open the search input field Click to open the search input field Search
  • Menu Menu
Mastering Embedded Systems podcast

Engineers’ Talk: Mr. Bug-Hunting Bero Brekalo – MES019

10.11.2015/3 Comments/in mes, Podcast/by georg

Hunting bugsEngineers’ Talk: Mr. Bug-Hunting: Bero Brekalo

Talking about bug-hunting has become a regular topic in this podcast. However there are tons of different persons out there using their own approach to handle bugs. All of them might have different attitudes, different approaches and different experiences. And it might be of interest to get more familiar with them and the details they can tell us.

Within today’s episode we have Bero Brekalo as a guest for interview. Bero is one of my very first listeners not directly related to me. We got acquainted after release of Episode 2. We have had a long mail-discussion about debugging, our different and common understanding. Especially Bero’s very interesting debugging tools made me curious.

As more as we discussed and as more as I got familiar with Bero, I more and more get the impression, that he’s Mr. Bug-Hunting in person. Today I have the pleasure to present you Bero Brekalo. We’re talking about many details of debugging. You get further details about his approach and his understanding of debugging. And you get acquainted with a very experienced engineer, who has gone through a lot of storms and bad weather. Let’s stay with me and enjoy the interview.

Essential Answers Provided In This Episode For:

  • Why do we need debugging?
  • How could binary tracing support you in your searching for bugs?
  • What are the essential points you need to know from your logging?
  • How does Bero’s fixed price strategy help in finding the root-cause?
  • What kind of hopeless problems is Bero confronted with?
  • Why debugging effort is regularly underestimated?
  • When should you ask for help?
  • And much much more.

Selected Links and Resources From This Episode

  • Bero Brekalo on LinkedIn

Thank You For Listening

Out of all the podcasts available in the Internet you tuned into mine, and I’m grateful for that. If you enjoyed the episode, please share it by using the social media buttons you see at the bottom of this note. Also, I would be very happy if you would consider taking the minute it takes to leave an honest review or rating for the podcast on iTunes or Stitcher. They’re extremely helpful when it comes to the ranking of the podcast. For sure I read every single one of them personally! Or, if you prefer a more direct contact, don't hesitate and drop me a note at feedback@embeddedsuccess.com

Share this entry
  • Share on X
  • Share on WhatsApp
  • Share on LinkedIn
  • Share by Mail
https://embeddedsuccess.com/wp-content/uploads/2015/06/Logo3.png 0 0 georg https://embeddedsuccess.com/wp-content/uploads/2015/06/Logo3.png georg2015-11-10 07:15:032016-10-23 14:03:51Engineers’ Talk: Mr. Bug-Hunting Bero Brekalo – MES019
3 replies
  1. t-o-m-o
    t-o-m-o says:
    04.12.2015 at 10:57

    I find this interview very interesting, and I can relate to everything Bero was saying about binary logging and off-line interpretation. Furthermore, I would say that even textual log files in a classical form are NOT human readable. Tens of thousands of acronym infested cryptic messages are everything but human readable. For example, you can stare at the timestamps for hours and not be able to see the wood from the trees, and timestamps are the most valuable resource in the log file. I found it useful not only to parse the log files using own tools (scripts), but to transform them in order to make the problem visible in some other domain. Usually visualizing it in a graphical form in the time domain helps a lot. Jitters, delays, periodicity instantly show up. As Bero also mentioned – do the same for the healthy log, compare them graphically and reveal the differences. Sometimes the graph of visualized events (i.e system call latencies) in time domain is irregular and not informative itself, then I try for example signal processing techniques on it – I run it trough DFT algorithm and then analyse it in a frequency domain. Wow – what is that spike at 1/5 minutes frequency? My increased latencies are observed periodically exactly every 5 minutes. That was certainly not clear from the log file, as 5 minutes could be 10000 lines apart. Then you ask yourself what happens periodically every 5 minutes in our system? Ha – there is this ftp transfer process running every 5 minutes that causes the flash write I/O latency to increase – bingo! It was easy to locate it once you got that crucial 5 minutes clue, and that was obvious only in frequency domain… But you get the idea. Applying principles and techniques from other fields such as signal processing, big data, statistical analysis, modelling, indexing etc. while debugging complex systems helps a lot IMHO.

    Log in to Reply
    • georg
      georg says:
      05.12.2015 at 10:10

      Hi Tomislav,
      Awesome idea! Treating the logs with Fourier-Transformation. Especially in cases with millions of loglines in a very short time you regularly do not see the wood for the trees. Moving to a different point of view is a very worthwhile approach. Thank you for this hint.
      I have this other combination in mind which is based on Big Data: LogStash, ElasticSearch and Kibana as a combination to handle big amount of logging and extract distinct statements. I haven’t had the chance to use it, but it has a great perspective if you’re flooded with logs and you want to get the meta-level of their meaning.

      Log in to Reply
    • bero
      bero says:
      29.12.2015 at 01:11

      Tomo,
      I never tried using frequency domain, and never represented time-stamp results graphically. I understand that it could help to understand what was going on. I sometimes have to detect such periodicities by looking at time-stamp value differences between subsequent occurrences of the same trace-point.
      I process these trace-points and their time-stamps in different ways to tests various hypothesizes. Maybe one day I’ll add a period correlator (would be easy). The hard part is to identify the trace-points that could be interesting for such a correlator.
      Thanks for the idea. I can see its potential.

      Log in to Reply

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply Cancel reply

You must be logged in to post a comment.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Subscribe to my podcast

Subscribe and rate me at iTunes

Subscribe at Stitcher

RSS-Feed

Recent episodes

  • The man with the "Leadership Mind" - Bernd Geropp - MES054
    20.06.2017

  • Day 2 of the Embedded World - MES053
    18.04.2017

  • Day 1 of the Embedded World - MES052
    04.04.2017

  • Year's-End Wrap-Up 2016 - MES051
    20.12.2016

  • 3 pickings from ESE-Kongress 2016 - MES050
    06.12.2016

About me

I am a wholehearted SW-engineer on my journey to create a business supporting newcomers, seniors, managers and leaders.

I have more than 30 years experience as freelancer in Embedded Systems, 17 of them in telcommunication. The last 10 years I was mainly engaged as fault-analysis-specialist, troubleshooter and virtual team leader.

Today I am senior, coach, author and podcaster and provide my experience and knowledge out of practice into practice.

Music and Photos

The intro-music was taken from
Alex Beroza's "Art Now" on ccmixter.org under CC BY 3.0

CSoul's Urbana-Metronica (wooh-yeah mix) under CC BY 3.0

The personal photo on the main-page and the small one in the left footer column are made by Björn Jansen

The first and last photo on the main-page and the the one with the headphones are taken by myself.

License

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.

Contact me:

feedback@embeddedsuccess.com

© Copyright - Georg Lohrer - Impressum - Enfold Theme by Kriesi
Link to: How to survive the email flood? – MES018 Link to: How to survive the email flood? – MES018 How to survive the email flood? – MES018 Link to: Was your last conference poor? – MES020 Link to: Was your last conference poor? – MES020 Was your last conference poor? – MES020
Scroll to top Scroll to top Scroll to top