Optimizing for high PPS, Intel NICs

2008-09-26 Thread Ivan Voras
I have an application that consists of a server and clients which communicate via TCP. The communication consists of exchanging many small packets - around 96 bytes of payload (non-uniform). I'm testing it in 8-CURRENT with two machines connected directly via a patch cable. The server is a 8-core X

Re: Hostapd network issue

2008-09-26 Thread Wayne Hendricks
Well, I haven't had a chance to switch cards, but on an interesting side note, none of my other wireless clients will connect after hostapd freezes. =W= On Fri, Sep 26, 2008 at 2:45 PM, Wayne Hendricks <[EMAIL PROTECTED]>wrote: > Well, the ap and sta are right next to each other. The sta is a Ma

Re: Hostapd network issue

2008-09-26 Thread Wayne Hendricks
Well, the ap and sta are right next to each other. The sta is a MacBook Pro. After a few minutes, hostapd freezes and the sta will not reconnect at all. Odd. I think i may switch cards and see if it helps. On Fri, Sep 26, 2008 at 12:46 PM, Sam Leffler <[EMAIL PROTECTED]> wrote: > Wayne Hendri

Re: sfbufs on amd64?

2008-09-26 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kevin Day wrote: > > When using sendfile() on an amd64 box, are sfbufs still used/needed? The > reason I ask: > > # netstat -m > 0/0/0 sfbufs in use (current/peak/max) > 0 requests for sfbufs denied > 0 requests for sfbufs delayed > 1334122 requests

sfbufs on amd64?

2008-09-26 Thread Kevin Day
When using sendfile() on an amd64 box, are sfbufs still used/needed? The reason I ask: # netstat -m 0/0/0 sfbufs in use (current/peak/max) 0 requests for sfbufs denied 0 requests for sfbufs delayed 1334122 requests for I/O initiated by sendfile kern.ipc.nsfbufsused: 0 kern.ipc.nsfbufspeak: 0

Re: Hostapd network issue

2008-09-26 Thread Sam Leffler
Wayne Hendricks wrote: I have been trying to make hostapd work with wifi card in my gateway box. WPA stays working for only a short time before hostapd locks up and needs to be restarted. I believe the hosapd config is fine, shows no errors. Running 7.0-RELEASE-p4 amd64 with mini-pci Atheros 521

Re: Intel NIC ARP problem

2008-09-26 Thread Ivan Voras
2008/9/26 Jack Vogel <[EMAIL PROTECTED]>: > So, distilling down the data, the problem is booting from > FreeBSD into Windows, right? > > The underlying problem is that the management system > is eatting the ARP I believe. It looks like my driver does > not clean up something properly on exit, hmmm,

Re: netstat byte/bit confusion

2008-09-26 Thread Miroslav Lachman
Steve Bertrand wrote: Hey all, I'm experiencing conflicting information on throughput numbers when comparing information garnered via MRTG on a 1000Mbps HP Procurve, and netstat -h -w1 on a server connected to the switch. What I want to know is if netstat in the below case is actually displayin

Re: Intel NIC ARP problem

2008-09-26 Thread Jack Vogel
So, distilling down the data, the problem is booting from FreeBSD into Windows, right? The underlying problem is that the management system is eatting the ARP I believe. It looks like my driver does not clean up something properly on exit, hmmm, I'll have to look into it Ivan. Thanks for the repor

netstat byte/bit confusion

2008-09-26 Thread Steve Bertrand
Hey all, I'm experiencing conflicting information on throughput numbers when comparing information garnered via MRTG on a 1000Mbps HP Procurve, and netstat -h -w1 on a server connected to the switch. What I want to know is if netstat in the below case is actually displaying the info in bits, even

Intel NIC ARP problem

2008-09-26 Thread Ivan Voras
I have a strange problem with a PRO/1000 EB NIC (card=0x109615d9 chip=0x10968086) built into the motherboard (5000X chipset) that manifests itself in NIC stopping responding to ARP packets requesting its address while in Windows XP, after being rebooted from FreeBSD (dual-boot). The sequence is:

Re: kern/127644: [ndis] [panic] NDIS panic

2008-09-26 Thread linimon
Old Synopsis: NDIS panic New Synopsis: [ndis] [panic] NDIS panic Responsible-Changed-From-To: freebsd-bugs->freebsd-net Responsible-Changed-By: linimon Responsible-Changed-When: Fri Sep 26 12:43:46 UTC 2008 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?p

Hostapd network issue

2008-09-26 Thread Wayne Hendricks
I have been trying to make hostapd work with wifi card in my gateway box. WPA stays working for only a short time before hostapd locks up and needs to be restarted. I believe the hosapd config is fine, shows no errors. Running 7.0-RELEASE-p4 amd64 with mini-pci Atheros 5212 chipset. I have includ

Re: [IPFW add ARP support] - Request for testing

2008-09-26 Thread Gleb Kurtsou
On Thu, Sep 25, 2008 at 4:49 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi all, > In the last 2 weeks i implemented a new filter method inside the ipfw > firewall for ARP protocols. > My idea for the new method was to create a new "proto" microinstruction > exclusively for ARP protocol na