Date: Thu, 26 Sep 2013 16:58:32 +0900 From: Michio Honda <micchie@outlook.com> To: hiren panchasara <hiren.panchasara@gmail.com>, Luigi Rizzo <rizzo@iet.unipi.it> Cc: "freebsd-net@freebsd.org" <freebsd-net@freebsd.org> Subject: RE: netmap: traffic distribution Message-ID: <BAY176-W227BF61C5551E2295DC646BC280@phx.gbl> In-Reply-To: <CALCpEUHLLfvakMzDJPL=tPym1d6m13Wgbid7NOWEoMxZ1%2B6kGg@mail.gmail.com> References: <CALCpEUFhfcZO9keQ_fpmCQhg5DVA5DNrG5Neogm5TV_QiAYPRw@mail.gmail.com>, <CA%2BhQ2%2Bid6tEcmtRWu4%2BLFZDmthwto3rAdqrSyJrY-r%2BJx=vhhg@mail.gmail.com>, <CALCpEUENg%2BVq0Z0Evpw=7VEBTLq_T2eZQ9UgSpsxUn5OOjd3eQ@mail.gmail.com>, <CA%2BhQ2%2Bg4%2B2P_L8kLLL0Svky3xrvxJW7zjc07xSTgNknEqNvr0A@mail.gmail.com>, <CALCpEUHLLfvakMzDJPL=tPym1d6m13Wgbid7NOWEoMxZ1%2B6kGg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi=2C=20 The handiest way to try flexible flow distribution is using Flow Director.I= 've confirmed that the patch posted to this list two years ago works with n= etmap/ixgbe.http://freebsd.1045724.n5.nabble.com/Adding-Flow-Director-sysct= ls-to-ixgbe-4-td4769489.html Cheers=2C- Michio > Date: Wed=2C 25 Sep 2013 02:12:54 -0700 > Subject: Re: netmap: traffic distribution > From: hiren.panchasara@gmail.com > To: rizzo@iet.unipi.it > CC: freebsd-net@freebsd.org >=20 > On Wed=2C Sep 25=2C 2013 at 2:05 AM=2C Luigi Rizzo <rizzo@iet.unipi.it> w= rote: >=20 > > On Wed=2C Sep 25=2C 2013 at 10:53 AM=2C hiren panchasara > > <hiren.panchasara@gmail.com> wrote: > > > > > > > > > > > > On Wed=2C Sep 25=2C 2013 at 1:22 AM=2C Luigi Rizzo <rizzo@iet.unipi.i= t> wrote: > > >> > > >> On Wed=2C Sep 25=2C 2013 at 10:07 AM=2C hiren panchasara > > >> <hiren.panchasara@gmail.com> wrote: > > >> > > > >> > I am providing line rate traffic (via pkg-gen.c) to my 10gig ix > > >> > interface. > > >> > > > >> > Now on receiving side=2C is there a way to sub-divide the traffic = into > > >> > multiple workloads using netmap? > > >> > > > >> > For example=2C can I get two 5G flows from 10Gbps traffic? > > >> > > >> not directly. You'd need to send packets with different addresses th= at > > >> match > > >> the way the filters on the NIC (RSS or similar) are programmed. > > > > > > > > > Thanks for quick responses=2C Liugi. > > > > > > So=2C FreeBSD needs PF_RING like thing? Any other way we can do it? > > > > no=2C > > PF_RING does nothing more than netmap. > > > Okay. >=20 > > > > the partitioning of traffic into queues is done by the NIC's hardware= =2C > > through some filters that i mentioned and are NIC specific. > > They are often named RSS (receive side scaling)=2C RFS (receive flow > > steering)=2C > > Flow Director=2C and so on. Some NICs compute a hash of various header > > fields > > and use the result to direct packets to specific queues. Others have > > "exact match" filters where you can map certain mac headers to > > specific queues=2C and so on. > > >=20 > Alright. I will investigate more about RSS/RFS for ixgbe. >=20 > Thanks a bunch=2C > Hiren >=20 > > > > A software demultiplexer that sits on top of a netmap ring > > may certainly be useful=2C but i have not yet designed it. > > > > > > cheers > > luigi > > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe=2C send any mail to "freebsd-net-unsubscribe@freebsd.org" >=20 =
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BAY176-W227BF61C5551E2295DC646BC280>