> receive_buffer_size = SOME_LARGE_NUMBER; > setsockopt (sockfd, SOL_SOCKET, SO_RCVBUF, > &receive_buffer_size, > sizeof (receive_buffer_size)); > > 1. Does a larger receive buffer size necessarily give me increased UDP receive > performance? It does not change the performance at all, but it allows higher latency so may well help > 2. SO_RCVBUF is limited by the following in sock.c: Use 2.2 > Can I increase SK_RMEM_MAX safely? Will increasing SK_RMEM_MAX and the > receive buffer size give me increased UDP receive performance? Only in 2.2 - where you can tune it with /proc > 3. What other tunings can I make to help UDP receive performance? Making your code faster is one. What is it actualyl doing with the captured data ? - To unsubscribe from this list: send the line "unsubscribe linux-net" in the body of a message to [EMAIL PROTECTED]
