Messages in this thread | | | Date | Thu, 4 May 2006 21:48:42 +0200 | From | Willy Tarreau <> | Subject | Re: TCP/IP send, sendfile, RAW |
| |
On Thu, May 04, 2006 at 07:43:34PM +0000, Roy Rietveld wrote: > i Think the resolution of gettimeofday is 1us because > gettimeofday(start) > gettimeofday(end) > > end - start gives 1 > > so when i leave out gettimeofday > > while(1) > { > sendto(socket,buffer,1400,....) > } > > i measured with ethereal 4000 packets per second
Are you sure you are not limited by the interrupt rate ? may be interrupt processing causes a large overhead at 4000/s for 177 MHz, and you might need to find a way to either use interrupt mitigation or polling.
Regards, Willy
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |