From owner-freebsd-hackers@FreeBSD.ORG Tue Sep 26 11:31:19 2006 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F062716A4E5 for ; Tue, 26 Sep 2006 11:31:19 +0000 (UTC) (envelope-from borjamar@sarenet.es) Received: from smtp2.sarenet.es (smtp2.sarenet.es [194.30.0.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A47143D46 for ; Tue, 26 Sep 2006 11:31:09 +0000 (GMT) (envelope-from borjamar@sarenet.es) Received: from [127.0.0.1] (matahari.sarenet.es [192.148.167.18]) by smtp2.sarenet.es (Postfix) with ESMTP id 3E76B15E13; Tue, 26 Sep 2006 13:31:02 +0200 (CEST) In-Reply-To: <45180525.3060309@savvis.net> References: <7591D6A9-27EE-4ADE-AF09-84F8636ADD98@sarenet.es> <45180525.3060309@savvis.net> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <51C6D29F-F6AC-4C92-A633-4AD913BBA5B5@sarenet.es> Content-Transfer-Encoding: 7bit From: Borja Marcos Date: Tue, 26 Sep 2006 13:31:00 +0200 To: Maksim Yevmenkin X-Mailer: Apple Mail (2.752.2) Cc: hackers@freebsd.org Subject: Re: network stack problem in sparc64? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Sep 2006 11:31:20 -0000 On 25 Sep 2006, at 18:34, Maksim Yevmenkin wrote: > Borja Marcos wrote: >> earendil# sysctl net.inet.tcp|fgrep space >> net.inet.tcp.sendspace: 0 >> net.inet.tcp.recvspace: 0 >> earendil# sysctl net.inet.udp > > hmmm... how about this (untested) patch? > > -u_long tcp_sendspace = 1024*32; > +int tcp_sendspace = 1024*32; So it's just an integer size problem? I'm just compiling a kernel with the changes. I've had to change tcp_var.h and udp_var.h. I will try and report the results :) Are there many users of FreeBSD/sparc64? Changing the window size is not so esoteric, I guess someone might have tried it before... Borja.