Friday, January 6, 2017

How to Use Debugger

when developing code you frequently need to run debugger to debug code.  Here are some tips I found useful.

Thursday, January 5, 2017

SSD Block Device Performance Tuning (Linux)


When I'm developing a storage system using SSD as the media,  I encounter quite a few performance issues and here is my personal note.

Wednesday, January 4, 2017

Tcp Performance Tuning on 10g Ethernet


Network is a critical component in the end-to-end storage system performance tuning.

Saturday, December 31, 2016

Useful Makefile Tricks

An experienced c/c++ programmer should be able to write a concise and elegant makefile. Here are my personal study notes.

Wednesday, December 28, 2016

Choose a C++ Logging Library


I'm recently searching for a logging library to use in a C++ project.  I have some requirements (some are hard, some are optional).  I surveyed a lot of choices and reached a conclusion that none of existing libraries can meet all of my requirements. Overall spdlog is decent enough, with some gaps that I can bridge with a wrapper layer.  The final solution is my wrapper layer on top of spdlog.

Thursday, May 7, 2015

Some Linux Profiling Tools


Profiling is a critical part to understand program behavior and to narrow down performance bottleneck.