From owner-freebsd-stable@FreeBSD.ORG Mon Feb 7 19:47:22 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BAA0616A4CE for ; Mon, 7 Feb 2005 19:47:22 +0000 (GMT) Received: from smtp813.mail.sc5.yahoo.com (smtp813.mail.sc5.yahoo.com [66.163.170.83]) by mx1.FreeBSD.org (Postfix) with SMTP id 6E62C43D3F for ; Mon, 7 Feb 2005 19:47:22 +0000 (GMT) (envelope-from noackjr@alumni.rice.edu) Received: from unknown (HELO optimator.noacks.org) (noacks@swbell.net@70.240.249.100 with login) by smtp813.mail.sc5.yahoo.com with SMTP; 7 Feb 2005 19:47:22 -0000 Received: from localhost (localhost [127.0.0.1]) by optimator.noacks.org (Postfix) with ESMTP id 0EB55617C; Mon, 7 Feb 2005 13:47:21 -0600 (CST) Received: from optimator.noacks.org ([127.0.0.1]) by localhost (optimator.noacks.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 49090-08; Mon, 7 Feb 2005 13:47:19 -0600 (CST) Received: from [127.0.0.1] (optimator [192.168.1.11]) by optimator.noacks.org (Postfix) with ESMTP id 7FF216161; Mon, 7 Feb 2005 13:47:19 -0600 (CST) Message-ID: <4207C5C7.80707@alumni.rice.edu> Date: Mon, 07 Feb 2005 13:47:19 -0600 From: Jon Noack User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: =?ISO-8859-15?Q?=22Jos=E9_M=2E_Fandi=F1o=22?= References: <42073FD8.5CCA7EC5@fadesa.es> <20050207102140.GA56842@xor.obsecurity.org> <42074353.9E3EECBE@fadesa.es> In-Reply-To: <42074353.9E3EECBE@fadesa.es> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: amavisd-new at noacks.org cc: freebsd-stable@freebsd.org Subject: Re: 50% of packets lost only on local interfaces X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: noackjr@alumni.rice.edu List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Feb 2005 19:47:22 -0000 José M. Fandiño wrote: > Kris Kennaway wrote: >> On Mon, Feb 07, 2005 at 11:15:52AM +0100, Jos? M. Fandi?o wrote: >>> "Jos? M. Fandi?o" wrote: >>>> Chris wrote: >>>>> Have tested on 3 boxes. >>>> >>>> yes, it's the intended operation and If I don't see it I don't >>>> believe it but it happens. I ever thought it would be possible. >>> >>> Finally, I found the culprit: >>> >>> CFLAGS="" \ 100% of the transmited traffic is received >>> COPTFLAGS="" / >>> >>> CFLAGS= -pipe \ 50% of the transmited traffic is received >>> COPTFLAGS= -pipe / >> >> That would be exceedingly strange, because the above two options >> are supposed to produce *no differences at all* with the code >> generation. >> >> I'd believe that -O and no -O could behave differently, although I >> don't know why you'd want to compile without -O. > > because by the time I was compiling the system I was no interested > in compiler optimizations. Now I prefer a lightly optimized kernel > than a system with 50% of packet lost in local interfaces ;-) -O is the default for -STABLE; anything else might very well cause problems. In fact, check out the CFLAGS section of /usr/share/examples/etc/make.conf: "Note that optimization settings other than -O and -O2 are not recommended or supported for compiling the world or the kernel - please revert any nonstandard optimization settings to "-O" before submitting bug reports without patches to the developers." Jon