From owner-freebsd-virtualization@FreeBSD.ORG Sat Nov 22 04:32:02 2008 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A1CB81065678 for ; Sat, 22 Nov 2008 04:32:02 +0000 (UTC) (envelope-from jason.fines@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.244]) by mx1.freebsd.org (Postfix) with ESMTP id 5658E8FC0C for ; Sat, 22 Nov 2008 04:32:02 +0000 (UTC) (envelope-from jason.fines@gmail.com) Received: by an-out-0708.google.com with SMTP id b6so557125ana.13 for ; Fri, 21 Nov 2008 20:32:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=D4vLJnkJzRSXaB7FHykjJfuwFUtAKrYno2JmPJHsZgA=; b=TMbiarmtdgstHhO8TyocWc4QsgIv0bYgfFBitSJkDTCR2eIASpzbfDLqcmyACnBQJv 5SHoSioM58jcu9HJfU+LMMYkmAoBK4QA5MuuFWha1Fs4S7aiOuqLN5vpvMC1rGlnYzPt 8sIUjdxzMJAXOaKCxY0Q87t/xppJy1eYlfI6E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=Ypp6TT/eOaKV5PaU3vgT7Sc5gTiagR5t1jm48+pS/oZTxjJ2AdF16QEuWwG7eUdcO5 Y2jHmy8BUUxq09TyqZuR/BsVtIPA4y2ncOJUMVBVQDuDWVeQ2k/wYCPj/PSPhBv4Jl5e CjptXdmJBNC6A2A7eZa+299K3NzMoR0VHJc7Q= Received: by 10.100.41.9 with SMTP id o9mr588760ano.39.1227327829521; Fri, 21 Nov 2008 20:23:49 -0800 (PST) Received: by 10.100.6.18 with HTTP; Fri, 21 Nov 2008 20:23:49 -0800 (PST) Message-ID: <5e6025b70811212023p5ed662a9id42ad8665df2043f@mail.gmail.com> Date: Fri, 21 Nov 2008 23:23:49 -0500 From: "Jason Fines" To: freebsd-virtualization@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Question About TCP Reassembly Inside VImages X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Nov 2008 04:32:02 -0000 Hello all, I've got a question about setting the sysctl variable net.inet.tcp.reass.maxsegments to a non-zero value inside my vimages. I'm currently running the FreeBSD 7 with the VIMAGE package available at http://imunes.tel.fer.hr/virtnet/vimage_7-20081015.tgz. My problem is with TCP reassembly support inside of the vimages, namely with the tcp.reass.maxsegments sysctl variable. I've tracked down where in the code the variable is set to line 122 in tcp_reass_init() of netinet/tcp_reass.c: "V_tcp_reass_maxseg = nmbclusters / 16;". The line clearly reads that maxsegments should be set to "nmbclusters /16", in the main OS (not in any vimage) the value is correctly set to 1/16 of what my nmbclusters sysctl variable is set to. However, inside all my vimages nmbclusters is set correctly, while reass.maxsegments is incorrectly set to zero!!! Is it possible that nmbclusters when read on line 122 of netinet/tcp_reass.c is zero? Has anyone else experienced this problem? Is TCP reassembly not supported/tested inside vimages? Any help in this area would be greatly appreciated. Thanks, Jason P.S. This technology is phenomenal, and thanks to everyone who is involved developing it.