Use epoll, sendfile, from Perl. Mostly Linux-only support now, but more syscalls/OSes planned for future. WWW: http://search.cpan.org/dist/Sys-Syscall/