Re: TCP/IP send, sendfile, RAW

From: Roy Rietveld
Date: Fri May 05 2006 - 10:32:21 EST


Thanks now i know, the stack is slow 40MBit on loopback.


From: Avi Kivity <avi@xxxxxxxxxx>
To: Roy Rietveld <rwm_rietveld@xxxxxxxxxxx>
CC: P@xxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx
Subject: Re: TCP/IP send, sendfile, RAW
Date: Fri, 05 May 2006 15:39:56 +0300

Roy Rietveld wrote:
the platform is a netsilicon NS9360 witch include an 100MBit ethernet device.
The driver came with the software(LxNETES) for the development board.
CPU load is 100% when running sender program.

cat /proc/interrupts; sleep 10; cat /proc/interrupts doen't work anymore because cpu is to busy.

Does sendto give other processes time when the hardware is transmitting data?
Is this bad hardware or is the cost of sendto that high.

Try sending UDP over loopback and see.

--
Do not meddle in the internals of kernels, for they are subtle and quick to panic.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/