Hacker GitHub

← All repos

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

Mentions per year 56 mentions · busiest year 2014 (18)
20082026
  1. 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…
  2. …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
  3. A hardware guy might appreciate https://github.com/snabbco/snabb https://blogs.igalia.com/dpino/2017/11/13/snabb-network-tool...
  4. I'm reminded of this using LuaJIT: https://github.com/snabbco/snabb
    comment by abecedarius · 2022-08-25 · in The fall of datacenter software
  5. …it seems that Snabb uses pflua at its core - which claims to be faster than BPF ( https://github.com/snabbco/snabb/blob/b9da7caa1928256a3b4908... )
  6. ▲ 133
    Snabb: 100 Gbit/s pure software switching using Lua (2019)
    story by pdmccormick · 2020-06-09 · 38 comments
  7. > 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…
  8. ▲ 2
    Snabb a simple and fast open source packet networking toolkit
    story by oneowl · 2019-05-03 · 0 comments
  9. ▲ 2
    Snabb: Simple and fast packet networking
    story by acqq · 2018-05-18 · 0 comments
  10. …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
  11. 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)
  12. 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
  13. It's time to move to userspace network drivers like https://github.com/snabbco/snabb/
  14. ▲ 3
    Snabb: simple and fast packet networking toolkit
    story by BuuQu9hu · 2017-01-13 · 0 comments
  15. …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
  16. …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…
  17. ▲ 2
    Snabb: Simple and fast packet networking
    story by adulau · 2016-10-24 · 0 comments
  18. …[2] http://www.mellanox.com/related-docs/user_manuals/Ethernet_A... [3] https://github.com/snabbco/snabb/blob/mellanox/src/apps/mell...
  19. …re-usable modules written in P4 that can be shared. 0. https://github.com/esbullington/snabbp4 1. https://github.com/snabbco/snabb
  20. …lua code. lua-jit would be an optimizing compiler doing it's magic no ? get the code from here : https://github.com/snabbco/snabb
    comment by signa11 · 2016-05-02 · in Hello Lua
  21. …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
  22. ▲ 48
    Packet copies: Expensive or cheap?
    story by luu · 2015-11-01 · 12 comments
  23. ▲ 1
    Packet copies: Expensive or cheap?
    story by luu · 2015-10-29 · 0 comments
  24. ▲ 1
    Snabb Switch
    story by englishm · 2015-08-31 · 0 comments
  25. > https://github.com/snabbco/snabbswitch fixed
    comment by losername · 2015-07-24 · in Tracing JITs and modern CPUs
  26. …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
  27. 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
  28. …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
  29. …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
  30. Check out snabb switch: http://www.snabb.co/ https://github.com/SnabbCo/snabbswitch/wiki
  31. …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.
  32. …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
  33. 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…
  34. You should have a look over here :) https://github.com/SnabbCo/snabbswitch/wiki
  35. …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
  36. …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:…
  37. 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…
  38. ▲ 137
    Snabb Switch – A toolkit for solving novel problems in networking
    story by justincormack · 2014-07-09 · 62 comments
  39. ▲ 66
    Snabb Switch: Open source packet processing for ISPs
    story by luu · 2014-05-01 · 0 comments
  40. …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
  41. …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
  42. …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
  43. …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
  44. …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
  45. …is less than ideal (we use a UDP-based protocol with full public-key encryption per packet ). [0] https://github.com/SnabbCo/snabbswitch
  46. 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…
  47. …software defined, layer 2 network appliance. https://cast.switch.ch/vod/clips/26uo9i576i/ https://github.com/SnabbCo/snabbswitch/wiki
  48. Have you looked into Snabb Switch? ( https://github.com/SnabbCo/snabbswitch/wiki )
    comment by daurnimator · 2013-10-20 · in From China, With Love
  49. …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
  50. …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