17 karma · joined Feb 13, 2015 (11y ago) · 7 submissions
comment 5d ago · link · parent
I have several criticism:
1) a lot of XDP is implemented by each individual netdevice drivers. Each implementation have different features, bugs and quirks. You have to be Prepared to dig into kernel source to figure out why your app stopped working after deploy to a different system, and adjust your app accordingly.
2) XDP require lots of planning on your deployment environment. Eg, Does your app owns the specific netdevice, or it's shared? Whats the expected traffic rate, and how much ram should be allocated for xdp ring buffer.
3) the busy poll mentioned in article comes with a heavy tradeoff. I'm not sure dedicate a cpu core running at 100% for checking if there's packet is something most deployment is willing to pay.
comment 7y ago · link · parent
But I'm surprised that BBC use "Asian" to refer "East Asian". I'm under the impression that in UK, they use "Asian" to refer "South Asian".
comment 7y ago · link · parent
comment 8y ago · link · parent
here's a 50 line kernel module that uses TPROXY to do the samething without touching iptables.
looking at the nftables code, I think the only reason nftables doesn't support TPROXY is that no one wrote some of the config parsing / seralization stuff.
comment 8y ago · link · parent
but if you really need to "code" for whatever reason. The core logic is trivially simple. you need to 1) wait til the moment you want to wake up 2) generate some noise.
so just open mac terminal and type:
sleep 28800; while true; do say "wake up"; done
comment 9y ago · link · parent