Best route for re-implementing TCPHA
From: RichardFliam <hidden>
Date: 2011-04-13 23:08:34
From: RichardFliam <hidden>
Date: 2011-04-13 23:08:34
TCPHA (http://dragon.linux-vs.org/~dragonfly/htm/tcpha.htm) provided several neat features for content and health aware load balancing. I am looking to re-implement on the 2.6 kernel and I am struck by indecision on a few key features. In particular the original project created its own polling methods for TCP sockets based on fs/select.c and tcp_poll but to me this seems inelegant. I am wondering if there is a "correct" way to poll sockets in kernel or should I simply call sock_map_fd on the kernel socket. After extensive searching I did find this post http://permalink.gmane.org/gmane.linux.network/180354 to this mailing list, but it does not seem to contain an answer as to the correct direction for polling tcp sockets in kernel. -- --Richard Fliam