Using writev to minimize writes, and using large buffers to minimize writes and why it's important to minimize system calls| www.openmymind.net