From owner-freebsd-net@FreeBSD.ORG Tue Sep 30 16:45:24 2014 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E5F7989D for ; Tue, 30 Sep 2014 16:45:23 +0000 (UTC) Received: from mail-oi0-x233.google.com (mail-oi0-x233.google.com [IPv6:2607:f8b0:4003:c06::233]) (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 B4BC07FA for ; Tue, 30 Sep 2014 16:45:23 +0000 (UTC) Received: by mail-oi0-f51.google.com with SMTP id e131so4780790oig.38 for ; Tue, 30 Sep 2014 09:45:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=Fky1DaKMVUlLPzhmTsbUttmaPhuJHliuTZKr/M6/fOk=; b=cuZHa6Fy0u7Z5pHIX8GSAOebMaFtTT/HNLU6l1xZ2d12vUAtA1U755Ojb4475M4G/M H1rH7sKNlarbecZnnG14pQVUf6JnLB3jgFWkD+A2ikwsfQCwiJ0OcRFQrVR/Z68dnWDJ 9FTHM4qnWYOje5AtQ5vfvbJF3cjZZhPkEEZuIHaPOgJRdrTlek8Ktoxi98MI6kOCHXuO aMbj1QKGAqB2Iky1lOev9LCdiZQrj5qZAZ2McYbcBEws5a8ANPghZx7nO+AjUkO4N215 3zkKo31etkDQ6OuxYUMoMIlkdtDuYTBy4HxYYyg4OwW7ZD2m80LUtYptO/008+D5L2aB 0zVw== MIME-Version: 1.0 X-Received: by 10.60.124.115 with SMTP id mh19mr49306834oeb.40.1412095522937; Tue, 30 Sep 2014 09:45:22 -0700 (PDT) Received: by 10.202.115.4 with HTTP; Tue, 30 Sep 2014 09:45:22 -0700 (PDT) Date: Tue, 30 Sep 2014 13:45:22 -0300 Message-ID: Subject: Will netmap-ipfw fwd? From: Eduardo Meyer To: "freebsd-net@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 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, 30 Sep 2014 16:45:24 -0000 I have a problem, where I need to fwd a high rate of pps, and I dont have enough CPU. It's around 900Kpps, so I would like to know if ipfw userland version with netmap support will do fwd? Here are my current rules: 00100 fwd 10.1.2.1 tag tcp from table(100) to any dst-port 80,1024-65535 in { via lagg0 or via vlan1010 } 00200 prob 0.500000 fwd 10.1.2.2 tcp from any 80,1024-65535 to table(100) in { via igb6 or via igb7 } 00300 fwd 10.1.2.3 tcp from any 80,1024-65535 to table(100) in { via igb6 or via igb7 } With those rules, my CPU interrupt rate raises from 30% to 80%. If netmap/ipfw has the ability to fwd should I expect a better interrupt rate and lower load? Sorry to ask before actually trying but this is a production environment and I don't have enough room to test, I would like to read opinions before finding out a nightly window to do the changes and tests. Thank you. -- =========== Eduardo Meyer pessoal: dudu.meyer@gmail.com profissional: ddm.farmaciap@saude.gov.br