From owner-freebsd-virtualization@FreeBSD.ORG Sat Nov 22 04:52:01 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 0BED3106564A for ; Sat, 22 Nov 2008 04:52:01 +0000 (UTC) (envelope-from jason.fines@gmail.com) Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.28]) by mx1.freebsd.org (Postfix) with ESMTP id B69C98FC0A for ; Sat, 22 Nov 2008 04:52:00 +0000 (UTC) (envelope-from jason.fines@gmail.com) Received: by yx-out-2324.google.com with SMTP id 8so549083yxb.13 for ; Fri, 21 Nov 2008 20:51:59 -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=PfRTMBp/cuuMMDy+1PpefvhHlCLFLBmlLjA0VktEh+A=; b=hWTO0yARG0YM1/amVfC565YzsUaRJ2YvbEsdbKrDWKgLLWbDa/cPCas5/ZallEsNN5 QBdl/QSIMArFDvhKwV0plYhHSscZXR9kNSpk4NZ8HdHq+M0W4lx5ZInJWijmiM+ru9nQ 5Sg2AOJ9MaZQh7SvQfGdPXuKJdqAhjlWrqBes= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=SYvBhYz9hr42FHL3SxImwvOQKPoZS6Syizt2StnwaOJ3kmIdwmhKYS+wK85/2ghmcV k6b0gqMiO/p4oxR/yM9M7GbwowIBkKOrWW7DGKrxLWCGZ7Oh6f8wAqtm+GuTyoLjCdGe 9aBSjZeDBMwG6WP3ft9IoDxWvWaY/0IFekiM4= Received: by 10.100.232.10 with SMTP id e10mr587538anh.36.1227327598047; Fri, 21 Nov 2008 20:19:58 -0800 (PST) Received: by 10.100.6.18 with HTTP; Fri, 21 Nov 2008 20:19:57 -0800 (PST) Message-ID: <5e6025b70811212019h64feb7dcrd02ab78ba1b558c3@mail.gmail.com> Date: Fri, 21 Nov 2008 23:19:57 -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:52:01 -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.