[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
kern/31940: nge gigabit adapter link reset and slow transfert
- Subject: kern/31940: nge gigabit adapter link reset and slow transfert
- From: lukem.freebsd at cse.unsw.edu.au (lukem_(_dot_)_freebsd_(_at_)_cse_(_dot_)_unsw_(_dot_)_edu_(_dot_)_au)
- Date: Mon Nov 1 16:00:59 2004
The following reply was made to PR kern/31940; it has been noted by GNATS.
From: lukem_(_dot_)_freebsd_(_at_)_cse_(_dot_)_unsw_(_dot_)_edu_(_dot_)_au
To: freebsd-gnats-submit_(_at_)_FreeBSD_(_dot_)_org, fabien_(_dot_)_thomas_(_at_)_wanadoo_(_dot_)_fr,
dwmalone_(_at_)_maths_(_dot_)_tcd_(_dot_)_ie
Cc:
Subject: Re: kern/31940: nge gigabit adapter link reset and slow transfert
Date: Tue, 2 Nov 2004 10:51:59 +1100 (EST)
I am using 5.2.1, rather than 4.4, but I have found a bug which could be
causing this. I have mailed freebsd-net but they don't seem interested.
The problem is that the receive DMA ring is longer than the IP queue, such
that if more packets are received in the interrupt than fit in the IP
queue, packets are dropped.
Since the default IP queue length is 50 packets, and the interrupt holdoff
time is 100uS, you can only really expect to get 500kpps, which is not
much for a gigabit ethernet card.
You can fix by increasing the ip queue length constant. (make it >= 128)
--
Luke
Visit your host, monkey.org