From owner-freebsd-net@FreeBSD.ORG Tue Dec 23 17:26:31 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1D87C567 for ; Tue, 23 Dec 2014 17:26:31 +0000 (UTC) Received: from mail-lb0-x232.google.com (mail-lb0-x232.google.com [IPv6:2a00:1450:4010:c04::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8FDC82476 for ; Tue, 23 Dec 2014 17:26:30 +0000 (UTC) Received: by mail-lb0-f178.google.com with SMTP id f15so6431657lbj.9 for ; Tue, 23 Dec 2014 09:26:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=/JZlsMlu3VCvGgzmyFX3C2Ukn7Oceb8jqEh8vMNhJmc=; b=KKaG4y2C+PDLYAddvQWdjgN+iJKnwT9piR+qR28V0mcRQoy8GIZ0UcaJsDYO5kBob0 fr/sjFry71NDKY0o27G5UJ6sV+GFdiiwurhJjl/EMDmQ1ns7Oy3S0VmwWYR/Jf+XlMWI Iu/lhl7Jh7pG8BONqah9mJI1GAO9nFyMbo+mBnra0BgwlB9e28nD09nLBY3fV8UaODqL SaDxRLEQceQacFAuv3VqO2SOSNuSQ3ij/ccHY6bYeJg5obaczYthFlNaIWrZrjvQmdRk 3/9l4qMyVPIUQ2Q9VJieNnhYMSg0J4bFgzLedBmeV/j7X7asK3HA53xi0ZPrvhHHaRzW 9TGQ== MIME-Version: 1.0 X-Received: by 10.112.135.6 with SMTP id po6mr29482524lbb.69.1419355588516; Tue, 23 Dec 2014 09:26:28 -0800 (PST) Sender: rizzo.unipi@gmail.com Received: by 10.114.174.169 with HTTP; Tue, 23 Dec 2014 09:26:28 -0800 (PST) In-Reply-To: References: <20141223130201.83220.333300601.swift@crm.aknet.kg> Date: Tue, 23 Dec 2014 18:26:28 +0100 X-Google-Sender-Auth: qHrA4TI_hOM9NnlBjC3b6s2Nt64 Message-ID: Subject: Re: Netmap-ipfw, how to fill a table by 15K entries ? From: Luigi Rizzo To: "IT Department, AkNet ISP" Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-net@freebsd.org" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Dec 2014 17:26:31 -0000 On Tue, Dec 23, 2014 at 5:04 PM, wrote: > Dear Luigi > > Today I installed the last distribution of FreeBSD-Stable 10.1 and > took netmap-ipfw from your place by: > > git clone https://code.google.com/p/netmap-ipfw/ > (hope the latest version) > i am investigating the problem. First, the "next" branch seems to behave marginally better in terms of robustness, but it still shows entries being inserted exactly every 100 ms which looks like the effect of some timeout (tipfw/ipfw and ./kipfw communicate through a tcp socket, tcpdump shows that the ack is delayed by 100ms which slows down everything. Need to investigate which tcp sockoptions remove this delay.. cheers luigi