From owner-freebsd-net@FreeBSD.ORG Fri Apr 18 23:21:17 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A159B1065674; Fri, 18 Apr 2008 23:21:17 +0000 (UTC) (envelope-from prvs=1994e5d1ea=killing@multiplay.co.uk) Received: from mail1.multiplay.co.uk (core6.multiplay.co.uk [85.236.96.23]) by mx1.freebsd.org (Postfix) with ESMTP id 097D68FC15; Fri, 18 Apr 2008 23:21:16 +0000 (UTC) (envelope-from prvs=1994e5d1ea=killing@multiplay.co.uk) DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=multiplay.co.uk; s=Multiplay; t=1208559862; x=1209164662; q=dns/txt; h=Received: Message-ID:From:To:Cc:References:Subject:Date:MIME-Version: Content-Type:Content-Transfer-Encoding; bh=13Xejkh/HDQwI+wTIGKMD pdxW4cFr9J+mILWyYW+QHA=; b=IhBCvpCKe7YQsIyXgJGYzVUWJqbECqvViOYso Pnk5g1RiiZy0YNrD+XdnGGZ8h82Vpqd4EJ2+l9fU3DOzcw+8S8HsQ63sHvWI7HtW Wbd83zVMb9GZgzmX86y1USMoyHq4na+aoME8tTqlMHGYSBCHlAs8dip24ktsIDWB D5InU4= X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on mail1.multiplay.co.uk X-Spam-Level: X-Spam-Status: No, score=-14.7 required=6.0 tests=BAYES_00, USER_IN_WHITELIST, USER_IN_WHITELIST_TO autolearn=ham version=3.1.8 Received: from r2d2 by mail1.multiplay.co.uk (MDaemon PRO v9.6.5) with ESMTP id md50005515868.msg; Sat, 19 Apr 2008 00:04:21 +0100 X-Authenticated-Sender: Killing@multiplay.co.uk X-MDRemoteIP: 212.135.219.182 X-Return-Path: prvs=1994e5d1ea=killing@multiplay.co.uk X-Envelope-From: killing@multiplay.co.uk Message-ID: <002301c8a1a8$8b24edd0$b6db87d4@multiplay.co.uk> From: "Steven Hartland" To: "Alexander Sack" , "Bruce Evans" References: <3c0b01820804160929i76cc04fdy975929e2a04c0368@mail.gmail.com><200804161456.20823.jkim@FreeBSD.org><3c0b01820804161328m77704ca0g43077a9718d446d4@mail.gmail.com><200804161654.22452.jkim@FreeBSD.org><3c0b01820804161402u3aac4425n41172294ad33a667@mail.gmail.com><20080417112329.G47027@delplex.bde.org><3c0b01820804170643w6b771ce9jdfc2dc5b240922b@mail.gmail.com><20080418093328.B50187@delplex.bde.org> <3c0b01820804181056u389d108ejb8bf81d0941ee66@mail.gmail.com> Date: Sat, 19 Apr 2008 00:04:23 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-Spam-Processed: mail1.multiplay.co.uk, Sat, 19 Apr 2008 00:04:21 +0100 X-MDAV-Processed: mail1.multiplay.co.uk, Sat, 19 Apr 2008 00:04:22 +0100 Cc: freebsd-net@freebsd.org, Dieter , Jung-uk Kim Subject: Re: bge dropping packets issue X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Apr 2008 23:21:17 -0000 We use the following for line rate gig capture on em's so you should be safe to increase from 1048576. net.bpf.maxbufsize=20971520 net.bpf.bufsize=20971520 ----- Original Message ----- From: "Alexander Sack" > Packets still get dropped but this time by BPF. It seems I pushed the > problem upstream (in terms of the stack). The user land software > listening in this instance is using BPF. I guess my next adventure is > to understand how much can BPF take before dumping packets due to lack > of buffer space - currently net.bpf.bufsize is 1048576 which is the > maxbufsize. Is this common place for BPF to drop packets? (forgive > me I have not searched the mailing list as I just confirmed these > results by instrumenting BPF). Could I raise the maxbufsize and still > operate safely? (I do have 8GB on a 64-bit system). ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk.