snabbco/snabb
View on GitHub ↗ ★ 3,032 Lua
Snabb: Simple and fast packet networking
56 mentions on Hacker News by 34 people: 10 stories, 46 comments · first 2013-01-01 · latest 2026-07-17
20082026
-
Anyone know if there’s still a community around https://github.com/snabbco/snabb ? This seems like something they would appreciate. Besides that, first use case that comes to mind is that gamedev likes Lua but iOS does not like LuaJit in…
comment by corysama · 2026-07-17 · in Show HN: Clx – Compile Lua to Native Executables Through C++20 -
…Snabb has an Intel 10g Ethernet controller driver that appears to use a ring buffer on DMA memory. https://github.com/snabbco/snabb/blob/master/src/apps/intel/...
comment by jitl · 2025-09-26 · in Fast UDP I/O for Firefox in Rust -
A hardware guy might appreciate https://github.com/snabbco/snabb https://blogs.igalia.com/dpino/2017/11/13/snabb-network-tool...
comment by corysama · 2024-03-19 · in Ravi is a dialect of Lua, with JIT and AOT compilers -
I'm reminded of this using LuaJIT: https://github.com/snabbco/snabb
comment by abecedarius · 2022-08-25 · in The fall of datacenter software -
…it seems that Snabb uses pflua at its core - which claims to be faster than BPF ( https://github.com/snabbco/snabb/blob/b9da7caa1928256a3b4908... )
comment by sandGorgon · 2020-06-10 · in Snabb: 100 Gbit/s pure software switching using Lua (2019) -
▲ 133
Snabb: 100 Gbit/s pure software switching using Lua (2019)story by pdmccormick · 2020-06-09 · 38 comments
-
> I think only Rust really allows you to write really safe and still really fast code though. Snabb ( https://github.com/snabbco/snabb/ ) is written in LuaJIT . I assume an equivalent project in Rust would be a lot more expensive in…
comment by metroholografix · 2019-09-12 · in A high-speed network driver written in C, Rust, Go, C#, Java -
▲ 2
Snabb a simple and fast open source packet networking toolkitstory by oneowl · 2019-05-03 · 0 comments
-
▲ 2
Snabb: Simple and fast packet networkingstory by acqq · 2018-05-18 · 0 comments
-
…second go on the same topic, this one here is a brand new topic: it involves Lua, Luajit and Snabb https://github.com/snabbco/snabb the latest also something I've just learned that it even exists, and it's quite interesting to me.
comment by acqq · 2018-05-17 · in Lightweight Concurrency in Lua -
I was thinking of things like https://shader.kaist.edu/mtcp/ , or https://github.com/snabbco/snabb or these kind of things: https://jvns.ca/blog/2016/06/30/why-do-we-use-the-linux-kern...
comment by pjc50 · 2018-04-02 · in What Color is Your Function? (2015) -
From what I can tell snabb might be able to do this, but it bypasses the kernel: https://github.com/snabbco/snabb
comment by 0xdeadbeefbabe · 2018-02-20 · in BPF comes to firewalls -
It's time to move to userspace network drivers like https://github.com/snabbco/snabb/
comment by stefantalpalaru · 2018-01-06 · in CPU Usage Differences After Applying Meltdown Patch at Epic Games -
▲ 3
Snabb: simple and fast packet networking toolkitstory by BuuQu9hu · 2017-01-13 · 0 comments
-
…with IP checksum in C with automatic vectorization, C with vector intrinsics, and AVX2 assembler: https://github.com/snabbco/snabb/pull/899
comment by lukego · 2016-11-07 · in A bug story: data alignment on x86 -
…and used DynASM ( https://luajit.org/dynasm.html ) to refactor it as a much smaller program ( https://github.com/snabbco/snabb/blob/master/src/lib/ipsec/a... ). I see this as highly worthwhile: we are working on making the software…
comment by lukego · 2016-10-24 · in Capturing Millions of Packets per Second in Linux without Third-Party Libraries -
▲ 2
Snabb: Simple and fast packet networkingstory by adulau · 2016-10-24 · 0 comments
-
…[2] http://www.mellanox.com/related-docs/user_manuals/Ethernet_A... [3] https://github.com/snabbco/snabb/blob/mellanox/src/apps/mell...
comment by lukego · 2016-10-24 · in Capturing Millions of Packets per Second in Linux without Third-Party Libraries -
…re-usable modules written in P4 that can be shared. 0. https://github.com/esbullington/snabbp4 1. https://github.com/snabbco/snabb
comment by neopallium · 2016-06-14 · in P4: open-source programming language for high-performance packet switching -
…userspace net stack to avoid interrupt+switch cost ala intel dpdk, an opensource example would be https://github.com/SnabbCo/snabbswitch/blob/master/README.md but tons of others in commercial spaces. ie. as per what bryan said there's…
comment by kapilvt · 2016-01-23 · in Unikernels are unfit for production -
▲ 48
Packet copies: Expensive or cheap?story by luu · 2015-11-01 · 12 comments
-
▲ 1
Packet copies: Expensive or cheap?story by luu · 2015-10-29 · 0 comments
-
▲ 1
Snabb Switchstory by englishm · 2015-08-31 · 0 comments
-
> https://github.com/snabbco/snabbswitch fixed
comment by losername · 2015-07-24 · in Tracing JITs and modern CPUs -
…of LuaJIT so restrictive guidelines are useful for us. Disclaimer: Consulting for Snabb GmbH [1]: https://github.com/snabbco/snabbswitchhttps://github.com/sna...
comment by mrottenkolber · 2015-07-24 · in Tracing JITs and modern CPUs -
That is not strictly true. Look at Snabb switch, written almost entirely in LuaJIT for example https://github.com/SnabbCo/snabbswitch - you need some kind of ffi to mmap device memory, but it is quite possible. (LuaJIT is fast of course…
comment by justincormack · 2015-05-30 · in Writing a website in Rust -
…snabbswitch, which combines a lot of really great technologies to provide superlative performance: https://github.com/SnabbCo/snabbswitch/wiki Hypervisor, Kernel, LuaJIT, Userspace. Amazing!
comment by fit2rule · 2015-01-23 · in Improving Linux networking performance -
…they are offering the full 10G of bandwidth. We could relocate our Snabb Lab to AWS if we got PFs. https://github.com/SnabbCo/snabbswitch/wiki/Snabb-Lab
comment by lukego · 2015-01-13 · in AWS C4 Instances -
Check out snabb switch: http://www.snabb.co/ https://github.com/SnabbCo/snabbswitch/wiki
comment by daurnimator · 2014-12-27 · in Robdns – A fast DNS server based on C10M principles -
…if there isn't some code present in the repo to deal with sockets and such directly). The repo: https://github.com/SnabbCo/snabbswitch Under src/apps there are some examples.
comment by metafex · 2014-10-21 · in Show HN: Luakernel – Lua + SQLite + musl libc running on x86 -
…the kernel or purely in user space. In reality pure user space is faster, just look at Snabb switch https://github.com/SnabbCo/snabbswitch/wiki
comment by darren0 · 2014-09-09 · in Weave – The Docker Network -
I can't find the list of supported NICs in the documentation, but I found https://github.com/SnabbCo/snabbswitch/blob/master/src/lib/h... which suggests that only a very small subset of Intel NICs are supported. One of those may be…
comment by voltagex_ · 2014-08-13 · in What happens if you write a TCP stack in Python? -
You should have a look over here :) https://github.com/SnabbCo/snabbswitch/wiki
comment by corysama · 2014-08-12 · in What happens if you write a TCP stack in Python? -
…used it yet, but I've read over the documentation and am itching for an opportunity to do so. 0. https://github.com/SnabbCo/snabbswitch
comment by jnbiche · 2014-08-12 · in What happens if you write a TCP stack in Python? -
…from a trace file using a negligible amount of CPU. This is practical and being used every day. https://github.com/SnabbCo/snabbswitch/tree/master/src/desig... Here is the driver hack that makes it possible:…
comment by lukego · 2014-07-09 · in Snabb Switch – A toolkit for solving novel problems in networking -
Shouldn't this link directly to GitHub instead? ( https://github.com/SnabbCo/snabbswitch ) Also, just in case the author of Snabb Switch is reading this, it would be really helpful to provide a short example program of how to use this. A…
comment by jeffreyrogers · 2014-07-09 · in Snabb Switch – A toolkit for solving novel problems in networking -
▲ 137
Snabb Switch – A toolkit for solving novel problems in networkingstory by justincormack · 2014-07-09 · 62 comments
-
▲ 66
Snabb Switch: Open source packet processing for ISPsstory by luu · 2014-05-01 · 0 comments
-
…Switch[1] is a high performance userspace driver for 10Gb ethernet switches, written in LuaJIT. [1] https://github.com/SnabbCo/snabbswitch
comment by justincormack · 2014-03-12 · in LuaJIT 2.0.3 -
…want to code it up in Lua with snabbswitch. Here is our basic trace store/replay library today: https://github.com/SnabbCo/snabbswitch/blob/master/src/lib/p...
comment by lukego · 2014-02-17 · in The C10M problem -
…to remain efficient. Or build off of a project that does that for you, like Snabb Switch[0]. [0] https://github.com/SnabbCo/snabbswitch
comment by erichocean · 2014-02-17 · in The C10M problem -
…ipspace.net/2013/11/deutsche-telekom-terastream-... [2] https://ripe67.ripe.net/archives/video/3/ [3] https://github.com/SnabbCo/snabbswitch/blob/snabbnfv-readme/...
comment by lukego · 2014-02-17 · in The C10M problem -
…I completed that used these principles here: https://news.ycombinator.com/item?id=7231407 [0] https://github.com/SnabbCo/snabbswitch
comment by erichocean · 2014-02-17 · in The C10M problem -
…is less than ideal (we use a UDP-based protocol with full public-key encryption per packet ). [0] https://github.com/SnabbCo/snabbswitch
comment by erichocean · 2014-02-11 · in If you had to start over, what technologies would you learn in 2014? -
Or, you could just avoid the OS altogether: https://github.com/SnabbCo/snabbswitch Our current engineering target is 1 million writes/sec and > 10 million reads/sec on top of an architecture similar to that, on a single box, to our fully…
comment by erichocean · 2014-02-04 · in Little’s Law, Scalability and Fault Tolerance: The OS is your bottleneck -
…software defined, layer 2 network appliance. https://cast.switch.ch/vod/clips/26uo9i576i/ https://github.com/SnabbCo/snabbswitch/wiki
comment by nly · 2014-01-22 · in AMD Debuts New 12- and 16-Core Opteron 6300 Series Processors -
Have you looked into Snabb Switch? ( https://github.com/SnabbCo/snabbswitch/wiki )
comment by daurnimator · 2013-10-20 · in From China, With Love -
…operation or crashes. However, there is already proof that device drivers can be written in Lua ( https://github.com/SnabbCo/snabbswitch ), and it's great to see more push in that direction. After all, why use C if you have a working…
comment by anttiok · 2013-10-17 · in Lua support in the NetBSD kernel -
…drivers. http://blog.lukego.com/blog/2013/01/03/snabb-switchs-luajit-... (edit: link to the code https://github.com/SnabbCo/snabbswitch/tree/master/src/apps/... ) btw. there once was a project which added a Scheme interpreter to the Linux…
comment by fafner · 2013-10-17 · in Lua support in the NetBSD kernel