From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ie0-x231.google.com (mail-ie0-x231.google.com [IPv6:2607:f8b0:4001:c03::231]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority" (verified OK)) by huchra.bufferbloat.net (Postfix) with ESMTPS id 9F4FF2021A8 for ; Mon, 4 Feb 2013 09:48:22 -0800 (PST) Received: by mail-ie0-f177.google.com with SMTP id 16so5862499iea.8 for ; Mon, 04 Feb 2013 09:48:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to:cc :content-type; bh=EoESQNXpOODCdeKw3EwihZ+ij1BzYryUB8ct/3d3VEE=; b=lq01ZRKfDsZRaLVuW9jRRdpRKU1RhbC03jz3zxyoZut9QWVR4UXjuGe5ZeTcGgc7NN xJQ4fkXmkoUmSfuEP5z5d5Oa9J0pLEs/ZL/6gpAHiCfMg+cw0yCZskm5PxN7oTXeKB00 ESyt+TM3ZecytuXit/7s4ZSQFICxwYAv/jlO0ZDojCOvX4Zl8d0BmnkpXJnQr0lzMQ1o /PKLFSSAcql72BBVexQjAYuoA7wPbWcx+GsSpfdXdh38OZsoW3iIB2lkSoJUqjnGosZ0 xzjnRJDEfWHx7brs8gSYwApw6NSdkZdj+FiUjxNfKj4+/CNz0mUnj7UvqHmy2DFuunMe 5D3g== MIME-Version: 1.0 X-Received: by 10.50.189.137 with SMTP id gi9mr7551228igc.86.1360000101760; Mon, 04 Feb 2013 09:48:21 -0800 (PST) Received: by 10.64.135.39 with HTTP; Mon, 4 Feb 2013 09:48:21 -0800 (PST) Date: Mon, 4 Feb 2013 09:48:21 -0800 Message-ID: From: Dave Taht To: dpreed@reed.com Content-Type: multipart/alternative; boundary=14dae9340dd3f5c04004d4e9b2ee Cc: cerowrt-devel@lists.bufferbloat.net Subject: [Cerowrt-devel] packet capture hardware X-BeenThere: cerowrt-devel@lists.bufferbloat.net X-Mailman-Version: 2.1.13 Precedence: list List-Id: Development issues regarding the cerowrt test router project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Feb 2013 17:48:22 -0000 --14dae9340dd3f5c04004d4e9b2ee Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Changing the subject line to reflect this line of discourse. On Mon, Feb 4, 2013 at 8:41 AM, wrote: > I hadn't researched the HPC FMC requirement for 10 GigE one yet. > > > > The 1 GigE one is expensive, but not because of parts cost. This is the > usual huge markup that goes with stuff sold to "Design Engineers" in > companies - because they can charge, they do. > Well, it is also a function of volume. as a counter example, we can probably leverage an upcoming manufacturing run of one of atheros's newer chipsets, designed close to a cerowrt-able, debloatable spec, for about 30 bucks in 10k qtys. This still sort of implies a change in cerowrt's focus from "fixing hardware you can get off the shelf" to *making something* arduino-raspberri pi like, but has a great deal of appeal for me. (inspiration: meraki) I am sufficiently annoyed at the entire industry at this point. I am insufficiently wealthy. Anyway, that chipset probably isn't fast enough to do packet captures at line rate, so to continue on the thread of "designing a good box for packet captures" but sort of half retaining the cerowrt concept and wandering around others, in this email.... I think there is a real market need for something in the SFP form factor that can do high rate packet captures and other sorts of analysis. I imagine a SFP in, and Esata out going into a router would be a useful diagnostic tool (and also something the NSA would love, which I have ambiguous feelings about) It could also be priced appropriately and maybe make some money. I think there is also a market need for something that can be an analysis box/home router that can also do captures at typical rates in the home (20-30Mbit), but that's still just above what a wndr3800 can do when last I tried. (it's mostly bound by the usb interface actually) The dreamplug hw can do that, as best as I recall (getting one shortly) > > The zedboard PMOD interface seems to be more marketing appropriate for > "cheap" stuff. There is a PMOD for 100baseT, so you could throw a few of > those on your system very cheaply. Since the interface to PMODs is 8-bi= t > parallel, all you might need is the magnetics and PHY for GigE, and you > could make a soft GigE controller in the programmable logic part of the > Zynq-7020. > I'd certainly like to make an eth controller capable of handling TSO/UFO and breaking them up with fq/codel at the lowest possible level. On the other hand I'm pretty sure a dual core a9 box is fast enough to drive gigE with minimal buffering (but haven't played with the zedboard enough to know. I do know the driver isn't bql'd. It's on my todo list) One of the things I'm vague about is the path to making silicon, starting with a FPGA design like this. Say we solve the universe: * Build a better wifi interface (and other forms of wireless interface) * Do gigE switching/routing/rate limiting with fq/codel in hw * Has adsl and/or cable modem functionality * Earthquake detector (just throwing that in there! :) ) What's the path to cost reducing that to, say, 15 bucks a chip in 3 years? > I'd have to check that the signalling rates would be sustainable across > the PMOD connector. > 100Mbit is enough for the "home gateway" scenario. > > > To make an FMC board, populate it with whatever GigE chip you like, etc. > is trivial. It should cost no more to fabricate than one of these little > single chip GigE PCIe cards you can buy. What chip would you like to > use? I (or others) could design the board and BOM, kit it up for > manufacturing (by, say, Sunstone or other places that do PC boards and > kitted assembly in small runs). > I like the idea of a soft chip on the fpga myself, actually. I'd like to get smarter logic inside the tx ring. I don't care for any of the current generation of ethernet chips very much. The ar71xx in cero has the advantage of being rather simple, the e1000e is a very common chip, too. The realtek is terrible with tons of errata. So to just use a phy... well, broadcom's common phys need a nda to look at, so do marvel's. It would be interesting to pursue making a switch/router actually out of a sufficient number of phys, if there is sufficient I/Os available on the fpga. Something like the vyatta... and with a soft eth design it could scale up to 10GigE or higher. > > Trivial stuff - maybe one could even convince Digilent and/or Avnet to do > the design/mfring. > I would like to think that the latency advantage of making a debloated box would convince some people, like wall street, and large scale buyers to get involved. That said, I look at the hits on things like the water videos at modena and the uphill battle with multiple manufacturers thus far and get discouraged... > > > Wouldn't it be a lot better to have a pluggable and completely flexible > highly scalable monitoring unit that could go down the wire level as > needed, with the base cost being the $300 that a Zedboard goes from? > It looks like the fpga chip itself is 220 presently. I am not sure how rapidly that will drop with time or volume. ooh, I see they have a milspec version (my hobby is space stuff) > > > And it would be completely "open hardware" and :"open source". > I would so totally dig that. The number of VCs in my rolodex is rather small. I agree with you that the zedboard is "the raspberri pi of high speed digital logic" and that a zillion things can/will be done with it. However it's at a painful price point presently for most "normal" people. This is an advantage, actually, given some of the target markets... (I kind of hate it when I wear my business hat rather than my engineering one) I think the scope of designing a full fledged standalone zedboard-like board, one that fits into the home router role, or a packet capture role, or a SFP slot, is rather large, and would need a payoff at the end... Even something on the scale of the netfpga project over at stanford (which only saw about 2000 manufactured and huge uni support), will take time and money. It would be very fun, and potentially profitable at the end, but as a hobby project... the learning curve is steep, the skills required very diverse. (yes, fun, yes needs a community to form around it) (And cero as it stands eats way too much of my time and I really would like to get someone else(s) building it so I can focus on more nagging issues up the stack) As for designing an add-on 100Mbit board to the zedboard, much easier. I'm not huge on the PMOD connectors (fragile. Worse, the SD card sticks out the side, and I already broke one zedboard's SD connector off), and a big unknown is how fast they can be driven.... > > -----Original Message----- > From: "Dave Taht" > Sent: Sunday, February 3, 2013 8:47pm > To: dpreed@reed.com > Cc: "Mark Constable" , > cerowrt-devel@lists.bufferbloat.net > Subject: Re: [Cerowrt-devel] stanford talk/deluged in hardware/yurtlab > > Darn I wish I'd made it to that show today. > > On Sun, Feb 3, 2013 at 5:11 PM, wrote: > >> http://www.prweb.com/releases/2012/2/prweb9154394.htm (10 GigE FMC card) >> >> >> > > impressive. Seems to require a hpc (high pin count) board, which zed isn'= t. > > >> >> http://www.xilinx.com/products/boards-and-kits/1-2AJPAV.htm (1 GiGE FMC >> card) >> > > 625 eu. While I am painfully aware of how much it costs to step ahead of > the bleeding edge, I think the odds are pointing harder and harder at doi= ng > a non-fpga design that does what I want... > > I may go back to looking at octeons or ti's new octeon killer. > > And/or leveraging a newer atheros reference board. > > >> >> >> -----Original Message----- >> From: "Dave Taht" >> Sent: Sunday, February 3, 2013 1:39pm >> To: dpreed@reed.com >> Cc: "Mark Constable" , >> cerowrt-devel@lists.bufferbloat.net >> Subject: Re: [Cerowrt-devel] stanford talk/deluged in hardware/yurtlab >> >> >> >> On Sun, Feb 3, 2013 at 10:26 AM, wrote: >> >>> It would be trivial to do this with a Zedboard. >>> >> >> Well, need two network ports. Haven't figured out much on interfacing th= e >> thing to offboard gear (I'd have liked it if it had a pci interface). So= is >> interfacing up a second network card "trivial" on the I/Os provided? >> >> And wanted esata, or some high speed disk I/O interface for captures. >> >> I'd rather like to continue forward on the zedboard front. The prospect >> of designing an ethernet chip that actually could incorporate fq_codel e= tc >> is very exciting. The RGII interface is available to access directly, in >> particular. >> >> >> >> >> >>> >>> -----Original Message----- >>> From: "Dave Taht" >>> Sent: Sunday, February 3, 2013 1:17pm >>> To: "Mark Constable" >>> Cc: cerowrt-devel@lists.bufferbloat.net >>> Subject: Re: [Cerowrt-devel] stanford talk/deluged in hardware/yurtlab >>> >>> Well, I see it for 320. Then you need to add a SSD, and a decent >>> network card, and I suppose it could be made to work. Awful big, tho, i= n an >>> era where I can get 1/2TB on an 2.5 inch SSD. >>> >>> What I'd wanted was closer to a dreamplug - 160 bucks, two network >>> ports, but with an internal SSD. bonus points if it fit into a 1U rack = and >>> ate as little power as possible. >>> >>> Principal use case here is to be a "network monitor" with enough oomph >>> to run stuff like cacti/mrtg/snmp tools, as well as do captures off of = a >>> mirrored switch port. >>> >>> >>> >>> On Sun, Feb 3, 2013 at 10:10 AM, Dave Taht wrote: >>> >>>> >>>> >>>> On Sun, Feb 3, 2013 at 10:03 AM, Mark Constable wrot= e: >>>> >>>>> On 2013-02-03 09:18am, Dave Taht wrote: >>>>> > I'm grumpy, as it doesn't have an esata interface internally, >>>>> apparently. >>>>> >>>>> https://www.google.com?q=3DHP+N40L+MicroServer >>>>> >>>>> I know this is no where near an embedded device but I just got one of >>>>> these >>>>> on sale (new model out) for $220 and I think it's the most useful >>>>> all-round >>>>> cheap server box I've ever seen. Some people have it running 16 GB ra= m >>>>> and >>>>> I've got mine booting off an SSD via external eSATA. Very well built >>>>> with 2 >>>>> x half height PCI slots (4 x eth port card?). Only missing USB3 ports >>>>> and >>>>> hot-swap drive space. And, very quiet with just an SSD. >>>>> >>>> >>>> I'd be very interested to know how fast it could do packet header >>>> captures. >>>> >>>> Line rate (gigE) would be good. >>>> >>>> Does it do BQL? (what is the onboard ethernet chips) >>>> >>>> >>>> >>>> >>>> >>>>> _______________________________________________ >>>>> Cerowrt-devel mailing list >>>>> Cerowrt-devel@lists.bufferbloat.net >>>>> https://lists.bufferbloat.net/listinfo/cerowrt-devel >>>>> >>>> >>>> >>>> >>>> -- >>>> Dave T=E4ht >>>> >>>> Fixing bufferbloat with cerowrt: >>>> http://www.teklibre.com/cerowrt/subscribe.html >>>> >>> >>> >>> >>> -- >>> Dave T=E4ht >>> >>> Fixing bufferbloat with cerowrt: >>> http://www.teklibre.com/cerowrt/subscribe.html >>> >> >> >> >> -- >> Dave T=E4ht >> >> Fixing bufferbloat with cerowrt: >> http://www.teklibre.com/cerowrt/subscribe.html >> > > > > -- > Dave T=E4ht > > Fixing bufferbloat with cerowrt: > http://www.teklibre.com/cerowrt/subscribe.html > --=20 Dave T=E4ht Fixing bufferbloat with cerowrt: http://www.teklibre.com/cerowrt/subscribe.html --14dae9340dd3f5c04004d4e9b2ee Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Changing the subject line to reflect this line of discourse.

On Mon, Feb 4, 2013 at 8:41 AM, <= dpreed@reed.com>= ; wrote:

I hadn't researched the HPC FMC requirement for 10 G= igE one yet.

=A0

The 1 GigE one is expensive, but not becaus= e of parts cost.=A0 This is the usual huge markup that goes with stuff sold= to "Design Engineers" in companies - because they can charge, th= ey do.


Well, it is also a function of volume. as a co= unter example, we can probably leverage an upcoming manufacturing run of on= e of atheros's newer chipsets, designed close to a cerowrt-able, debloa= table spec, for about 30 bucks in 10k qtys. This still sort of implies a ch= ange in cerowrt's focus from "fixing hardware you can get off the = shelf" to *making something* arduino-raspberri pi like, but has a grea= t deal of appeal for me. (inspiration: meraki) I am sufficiently annoyed at= the entire industry at this point. I am insufficiently wealthy.

Anyway, that chipset probably isn't fast enough to do packet captur= es at line rate, so to continue on the thread of "designing a good box= for packet captures" but sort of half retaining the cerowrt concept a= nd wandering around others, in this email....

I think there is a real market need for something in the SFP form facto= r that can do high rate packet captures and other sorts of analysis. I imag= ine a SFP in, and Esata out going into a router would be a useful diagnosti= c tool (and also something the NSA would love, which I have ambiguous feeli= ngs about)

It could also be priced appropriately and maybe make some money.
=A0=
I think there is also a market need for something that can be an analys= is box/home router that can also do captures at typical rates in the home (= 20-30Mbit), but that's still just above what a wndr3800 can do when las= t I tried. (it's mostly bound by the usb interface actually)

The dreamplug hw can do that, as best as I recall (getting one shortly)=

=A0

The zedboard PMOD interface seems to be mor= e marketing appropriate for "cheap" stuff.=A0 There is a PMOD for= 100baseT, so you could throw a few of those on your system very cheaply.= =A0=A0 Since the interface to PMODs is 8-bit parallel, all you might need i= s the magnetics and PHY for GigE, and you could make a soft GigE controller= in the programmable logic part of the Zynq-7020.=A0


I'd certainly like to make an eth controll= er capable of handling TSO/UFO and breaking them up with fq/codel at the lo= west possible level. On the other hand I'm pretty sure a dual core a9 b= ox is fast enough to drive gigE with minimal buffering (but haven't pla= yed with the zedboard enough to know. I do know the driver isn't bql= 9;d. It's on my todo list)

One of the things I'm vague about is the path to making silicon, st= arting with a FPGA design like this. Say we solve the universe:

* Bu= ild a better wifi interface (and other forms of wireless interface)
* Do gigE switching/routing/rate limiting with fq/codel in hw
* Has adsl= and/or cable modem functionality
* Earthquake detector (just throwing t= hat in there! :) )

What's the path to cost reducing that to, say= , 15 bucks a chip in 3 years?
=A0

I'd have to check that the signalling rates= would be sustainable across the PMOD connector.


100Mbit is enough for the "home gateway&q= uot; scenario.
=A0

=A0

To make an FMC board, populate it with what= ever GigE chip you like, etc. is trivial.=A0 It should cost no more to fabr= icate than one of these little single chip GigE PCIe cards you can buy.=A0= =A0 What chip would you like to use?=A0=A0 I (or others) could design the b= oard and BOM, kit it up for manufacturing (by, say, Sunstone or other place= s that do PC boards and kitted assembly in small runs).


I like the idea of a soft chip on the fpga mys= elf, actually. I'd like to get smarter logic inside the tx ring. I don&= #39;t care for any of the current generation of ethernet chips very much. T= he ar71xx in cero has the advantage of being rather simple, the e1000e is a= very common chip, too. The realtek is terrible with tons of errata.

So to just use a phy... well, broadcom's common phys need a nda to = look at, so do marvel's. It would be interesting to pursue making a swi= tch/router actually out of a sufficient number of phys, if there is suffici= ent I/Os available on the fpga. Something like the vyatta...

and with a soft eth design it could scale up to 10GigE or higher.

=A0

Trivial stuff - maybe one could even convin= ce Digilent and/or Avnet to do the design/mfring.


I would like to think that the latency advantage of making a debloat= ed box would convince some people, like wall street, and large scale buyers= to get involved. That said, I look at the hits on things like the water vi= deos at modena and the uphill battle with multiple manufacturers thus far a= nd get discouraged...
=A0

=A0

Wouldn't it be a lot better to have a p= luggable and completely flexible highly scalable monitoring unit that could= go down the wire level as needed, with the base cost being the $300 that a= Zedboard goes from?


It looks like the fpga chip itself is 220 pres= ently. I am not sure how rapidly that will drop with time or volume.
ooh, I see they have a milspec version (my hobby is space stuff)
=A0

=A0

And it would be completely "open hardw= are" and :"open source".


I w= ould so totally dig that. The number of VCs in my rolodex is rather small. =

I agree with you that the zedboard is "the raspberri pi of high sp= eed digital logic" and that a zillion things can/will be done with it.= However it's at a painful price point presently for most "normal&= quot; people. This is an advantage, actually, given some of the target mark= ets...

(I kind of hate it when I wear my business hat rather than my engineeri= ng one)

I think the scope of designing a full fledged standalone zed= board-like board,
one that fits into the home router role, or a packet = capture role, or a SFP slot,
is rather large, and would need a payoff at the end...

Even somethin= g on the scale of the netfpga project over at stanford (which only saw abou= t 2000 manufactured and huge uni support), will take time and money. It wou= ld be very fun, and potentially profitable at the end, but as a hobby proje= ct... the learning curve is steep, the skills required very diverse. (yes, = fun, yes needs a community to form around it)

(And cero as it stands eats way too much of my time and I really would = like to get someone else(s) building it so I can focus on more nagging issu= es up the stack)

As for designing an add-on 100Mbit board to the zed= board, much easier. I'm not huge on the PMOD connectors (fragile. Worse= , the SD card sticks out the side, and I already broke one zedboard's S= D connector off), and a big unknown is how fast they can be driven....


=A0


-----Original Message= -----
From: "Dave Taht" <dave.taht@gmail.com>
Sent: Sunday, February 3, 2013 8:47pm
To: dpreed@reed.com
Cc: "Mark Constable"= ; <markc@renta.net<= /a>>, cerowrt-devel@lists.bufferbloat.net
Subject: Re: [Cerowrt-devel] stanford talk/deluged in hardware/yurtlab
<= br>

Darn I wish I'd made it to that show to= day.

On Sun, Feb 3, 2013 at 5:11 PM, <dpreed@reed.com= > wrote:

http://www.prwe= b.com/releases/2012/2/prweb9154394.htm (10 GigE FMC card)

=A0


impressive. Seems to require a hpc (high pin count) board, which = zed isn't.

=A0

http://ww= w.xilinx.com/products/boards-and-kits/1-2AJPAV.htm (1 GiGE FMC card)


625 eu. While I am painfully aware of how much it costs to step ah= ead of the bleeding edge, I think the odds are pointing harder and harder a= t doing a non-fpga design that does what I want...

I may go back to = looking at octeons or ti's new octeon killer.

And/or leveraging a newer atheros reference board.

=A0

=A0

-----Original Message-----
From: "Dave Taht" <dave.taht@gmail.com&g= t;
Sent: Sunday, February 3, 2013 1:39pm
To: dpreed@reed.com
Cc: "Mark Constable= " <markc@renta= .net>, cerowrt-devel@lists.bufferbloat.net
Subject: Re: [Cerowrt-devel] stanford talk/deluged in hardware/yurtlab
=


On Sun, Feb 3, 2013 at 10:26 AM, <dpreed@reed.co= m> wrote:

It would be trivial to d= o this with a Zedboard.


Well, need two network ports. Haven't figured out much on inte= rfacing the thing to offboard gear (I'd have liked it if it had a pci i= nterface). So is interfacing up a second network card "trivial" o= n the I/Os provided?

And wanted esata, or some high speed disk I/O interface for captures.
I'd rather like to continue forward on the zedboard front. The pr= ospect of designing an ethernet chip that actually could incorporate fq_cod= el etc is very exciting. The RGII interface is available to access directly= , in particular.




=A0

-----Original Message---= --
From: "Dave Taht" <dave.taht@gmail.com>
Sent: Sunday, February 3= , 2013 1:17pm
To: "Mark Constable" <markc@renta.net>
Cc: cerowrt-devel@lists.bufferbloat= .net
Subject: Re: [Cerowrt-devel] stanford talk/deluged in hardware/yurtlab
=

Well, I see it for 320. = Then you need to add a SSD, and a decent network card, and I suppose it cou= ld be made to work. Awful big, tho, in an era where I can get 1/2TB on an 2= .5 inch SSD.

What I'd wanted was closer to a dreamplug - 160 bucks, two network = ports, but with an internal SSD. bonus points if it fit into a 1U rack and = ate as little power as possible.

Principal use case here is to be a = "network monitor" with enough oomph to run stuff like cacti/mrtg/= snmp tools, as well as do captures off of a mirrored switch port.



On Sun, Feb 3, 2013 at 10:10 AM, Dave Taht <d= ave.taht@gmail.com> wrote:


On Sun, Feb 3, 2013 at 10:03 AM, Mark Constable <= markc@renta.net>= ; wrote:
On 2013-02-03 09:18am, Dave Taht wrote:
> I'm grumpy, as it= doesn't have an esata interface internally, apparently.

https://www.google.com?q=3DHP+N40L+MicroServer

I know this is= no where near an embedded device but I just got one of these
on sale (= new model out) for $220 and I think it's the most useful all-round
cheap server box I've ever seen. Some people have it running 16 GB ram= and
I've got mine booting off an SSD via external eSATA. Very well= built with 2
x half height PCI slots (4 x eth port card?). Only missin= g USB3 ports and
hot-swap drive space. And, very quiet with just an SSD.

I'd be very interested to know how fast it could do packet hea= der captures.

Line rate (gigE) would be good.

Does it do BQL= ? (what is the onboard ethernet chips)





_______________________________________= ________
Cerowrt-devel mailing list
Cerowrt-devel@lists.bufferbloat.ne= t
https://lists.bufferbloat.net/listinfo/cerowrt-devel



--
Dave T=E4ht

Fixing bufferbloat with cerowrt: http:= //www.teklibre.com/cerowrt/subscribe.html



--
Dave T=E4ht

Fixing bufferbloat with cerowrt: ht= tp://www.teklibre.com/cerowrt/subscribe.html



--
Dave T=E4ht

Fixing bufferbloat with cerowrt: ht= tp://www.teklibre.com/cerowrt/subscribe.html



--
Dave T=E4ht

Fixing bufferbloat with cerowrt: ht= tp://www.teklibre.com/cerowrt/subscribe.html



--
Dave T=E4ht

Fixing bufferbloa= t with cerowrt: http://www.teklibre.com/cerowrt/subscribe.html=20 --14dae9340dd3f5c04004d4e9b2ee--