From owner-freebsd-net@FreeBSD.ORG Fri Sep 27 18:16:27 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id CCBD1FF0 for ; Fri, 27 Sep 2013 18:16:27 +0000 (UTC) (envelope-from rometoroam@gmail.com) Received: from mail-wi0-x22b.google.com (mail-wi0-x22b.google.com [IPv6:2a00:1450:400c:c05::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 58C5021F5 for ; Fri, 27 Sep 2013 18:16:27 +0000 (UTC) Received: by mail-wi0-f171.google.com with SMTP id hm2so1232958wib.10 for ; Fri, 27 Sep 2013 11:16:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ZuKIrs/vcwmaFTFVTR87mutaSBtPzG5ZhwbVCmsGG6I=; b=p9ilzCvoko6tHZok7hPkU2xZqULBmJ0eFeMmSP2zVWDvTmKoV1UQlIDKPBEH6TUOVj RnyBn5jBKfXFmIB374zydcwS1HN9+I0FjyeHKHPylwOorFKNjDJaD+ZeiJ/lfB9T+Vgb MwPZOhAPMUX5ArhHyha/M8ZcSj4J/kTYcOZU/6wamidhr1iGsGjhw7PXXdzisiJPv3op ScEB3FRr3rH+oRZOVTdXjIHifujJEWF8kWx8HuYZidq2ybnm9NvW+SHskX4jwrTgdQbE HBiU2niQQchTk+P4RDJOXh7Oy2rRazv/sSj8fSs0SguIKbw1TQSMl4g+dNl8lpPyDSqJ sCtA== MIME-Version: 1.0 X-Received: by 10.180.12.4 with SMTP id u4mr3690117wib.29.1380305784971; Fri, 27 Sep 2013 11:16:24 -0700 (PDT) Received: by 10.194.64.167 with HTTP; Fri, 27 Sep 2013 11:16:24 -0700 (PDT) In-Reply-To: References: Date: Fri, 27 Sep 2013 14:16:24 -0400 Message-ID: Subject: Re: netmap: traffic distribution From: chintu hetam To: hiren panchasara Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Michio Honda , Luigi Rizzo , "freebsd-net@freebsd.org" X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Sep 2013 18:16:27 -0000 As far as i know, flow director is Intel terminology it addresses both RSS and RFS. I think FreeBSD implementation is RFS. Luigi, you touched upon SW de-multiplexer, i would like to know why it's necessary. let say i have 82599 ixgbe driver (RSS enabled)configured with 5 tuple hash. My application reads from netmap queue 0-7(1-8), for testing purpose i will define tuples in such a way that i know for sure that each packet will be filtered to specific hw queue(0-7). Now is it safe to assume that in netmap mode in user space i will receive the packet as in ixgbe hw queue? Michio, reason i asked for performance values http://arxiv.org/ftp/arxiv/papers/1106/1106.0443.pdf I would like to test the accuracy of RFS with HW RSS in netmap mode.. cheers, r2r On Fri, Sep 27, 2013 at 2:59 AM, hiren panchasara < hiren.panchasara@gmail.com> wrote: > > > > On Thu, Sep 26, 2013 at 2:27 PM, chintu hetam wrote: > >> Hiren, >> >> https://www.kernel.org/doc/Documentation/networking/scaling.txt must >> read to understand nuances of each of this features. None of this >> techniques are used for mostly none other than performance reasons. >> > > Thanks for the link. > So, RFS (Receive Flow Steering) is equivalent to "flow director" mentioned > in FreeBSD's ixgbe drivers? > >> >> Michio, personally i am interested to know performance results in netmap >> mode with RFS patch you just mentioned. >> > Takuya/Luigi might have some numbers. > > Thanks, > Hiren > > > >