From owner-freebsd-questions Fri Nov 23 4:36:48 2001 Delivered-To: freebsd-questions@freebsd.org Received: from freebie.atkielski.com (ASt-Lambert-101-2-1-14.abo.wanadoo.fr [193.251.59.14]) by hub.freebsd.org (Postfix) with ESMTP id 327C637B416 for ; Fri, 23 Nov 2001 04:36:45 -0800 (PST) Received: from contactdish (win.atkielski.com [10.0.0.10]) by freebie.atkielski.com (8.11.3/8.11.3) with SMTP id fANCZwJ03699; Fri, 23 Nov 2001 13:35:58 +0100 (CET) (envelope-from anthony@freebie.atkielski.com) Message-ID: <054501c1741b$67bc3090$0a00000a@atkielski.com> From: "Anthony Atkielski" To: "Giorgos Keramidas" Cc: References: <021001c17359$5fa61cd0$0a00000a@atkielski.com> <20011123112849.GA10577@hades.hell.gr> Subject: Re: Error on xl0 Date: Fri, 23 Nov 2001 13:35:58 +0100 Organization: Anthony's Home Page (development site) MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Giorgos writes: > What internal parameter? XL_MIN_FRAMELEN > Perhaps it can be tuned without manually > changing the sources every time you update. My impression from what I read on the Web was that this is hardcoded in source. > If it is not tunable and you think that it > would be helpful if it was, then you could > probably ask that it is made configurable > without a kernel rebuild, by submitting a > problem report. I don't know enough about what it does. Apparently the default buffer for a NIC somewhere can occasionally empty before the NIC gets time on the PCI bus again, if someone else is holding the bus and if the buffer is too small. This parameter sets the low threshold for the buffer, and the default is 60. By raising it to 300, supposedly I can avoid tx underrun diagnostic warning messages under load. > But all this is probably wrong, since you did > not mention what your local changes were :) I changed the #define for XL_MIN_FRAMELEN from 60 to 300, in module /sys/pci/if_xlreg.h. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message