Re: High CPU usage on high-bandwidth long distance connections.

2003-03-19 Thread Luigi Rizzo
On Tue, Mar 18, 2003 at 01:28:31PM -0800, Ed Mooring wrote: ... I had something vaguely similar happen while I was porting the FreeBSD 4.2 networking stack to LynxOS. It turned out the culprit was sbappend(). It does a linear pointer chase down the mbuf chain each time you do a write() or

Re: High CPU usage on high-bandwidth long distance connections.

2003-03-19 Thread Borje Josefsson
On Wed, 19 Mar 2003 02:30:58 PST Sean Chittenden wrote: Ooooh! Opportune timing! I was going to bring this up on the performance@ list (core@, ::hint hint::), but now's as good of a time as any. Great! Luigi, I've updated the patch mentioned in this email. Could you review this and

High CPU usage on high-bandwidth long distance connections.

2003-03-18 Thread Borje Josefsson
Hello, Scenario: Two hosts: *** Host a: CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2790.96-MHz 686-class CPU) Hyperthreading: 2 logical CPUs real memory = 1073676288 (1048512K bytes) em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 4470 options=3rxcsum,txcsum media: Ethernet

Re: High CPU usage on high-bandwidth long distance connections.

2003-03-18 Thread Ed Mooring
On Tue, Mar 18, 2003 at 08:51:29PM +0100, Borje Josefsson wrote: [snip scenario] The hosts are connected directly (no LAN equipment inbetween) to high capacity backbone routers (10 Gbit/sec backbone), and are approx 1000 km/625 miles(!) apart. Measuring RTT gives: RTTmax = 20.64 ms. Buffer