
Some performance tweaks


Compile in only that what you need.

Use the configure option --enable-compiler-optimizations

On linux (as of kernel 2.6.17) use --enable-splice_support. This avoids copying data from kernel space to user space when copying files locally. The copying only happens in kernel space.

For network connections use --enable-sendfile_support. Again the kernel does not need to copy any data to user space for any sockets. Only tested on linux.
