4 ms·
How does this 50ns compare to commercial hardware routers like Brocade, which have dedicated memory (TCAM) for their routing table, which should be extra fast m
by xiconfjs 9y ago
How does this 50ns compare to commercial hardware routers like Brocade, which have dedicated memory (TCAM) for their routing table, which should be extra fast memory - as e.x. Brocade claims?!
- vbernat 9y agoHardware usually scales at line rate without any issue, something Linux cannot. From a pure latency point of view, a medium-range router (using the latest Broadcom Tomahawk chipset) takes around 500ns to route a packet (note that such a chipset cannot handle a full view). It doesn't seem unlikely that Linux can do the same job in certain configuration in about 100ns (notably, no netfilter rules). However, this takes a whole core to do that. If you have 24 of them, you get 12Gbps of transfer rate. With an hardware platform, packets are pipelined, so with some relatively small buffers, you can still achieve several hundreds of Gbps of traffic (per chip), something Linux cannot do in software. I can't say about TCAM performance alone. Are there super fast or are there able to perform parallel lookup?
- yusyusyus 9y ago> I can't say about TCAM performance alone. Are there super fast or are there able to perform parallel lookup? I think this doc[0] helps to understand the parallelism/performance from a TCAM perspective. [0] https://www.renesas.com/pt-br/doc/products/memory/r10an0013eu0100-memory.pdf https://www.renesas.com/pt-br/doc/products/memory/r10an0013e...