Performance of packet writing: Blocksize matters