How Buffered IO Can Ruin Performance