From owner-freebsd-net Fri May 19 6:57:34 2000 Delivered-To: freebsd-net@freebsd.org Received: from relay.wplus.net (relay.wplus.net [195.131.52.179]) by hub.freebsd.org (Postfix) with ESMTP id 30B7237BE21; Fri, 19 May 2000 06:57:27 -0700 (PDT) (envelope-from dms@woland.wplus.net) Received: from woland.wplus.net (woland.wplus.net [195.131.0.39]) by relay.wplus.net (8.9.1/8.9.1/wplus.2) with ESMTP id RAA60557; Fri, 19 May 2000 17:57:25 +0400 (MSD) X-Real-To: freebsd-net@FreeBSD.ORG Received: (from dms@localhost) by woland.wplus.net (8.9.3/8.9.1/wplus.2) id RAA00390; Fri, 19 May 2000 17:57:24 +0400 (MSD) Message-ID: X-Mailer: XFMail 1.4.4 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20000517231043.A13544@wcug.wwu.edu> Date: Fri, 19 May 2000 17:57:24 +0400 (MSD) From: Dmitry Samersoff To: Travis Cole Subject: Re: bpf question Cc: freebsd-hackers@FreeBSD.ORG, freebsd-net@FreeBSD.ORG Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 18-May-2000 Travis Cole wrote: > On Wed, May 17, 2000 at 05:51:59PM +0400, Dmitry Samersoff wrote: >> I have traffic metering program using bpf, >> it works fine on relatevly free net but looses about 30% >> of packets on havy loaded one. > > Are you doing dns lookups? Don't do those and you may fix your problem. Thanks for all. I tryed all usual solution (change CPU, bring packet parsing out of reading thread and so on.) and now I have stoped on perforamnce bpf itself. Is there alternate driver or can changing of bpf queue in kernel help, and where I can read about it? Did any body work with raw ethernet and is it helpfull? -- Dmitry Samersoff, dms@wplus.net, ICQ:3161705 http://devnull.wplus.net * There will come soft rains ... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message