Should also probably include some recommendations for less expensive routers that can use OpenWrt along with this? Mine cost me $300... I don't regret it because I have found at least that much utility in it, from this and from finally being able to intercept my smart TV's hardcoded DNS requests and blocking the ads, but I'm pretty sure that there are better deals to be had that don't involve paying $300 for one of the radios to not work due to bad driver support.
technology
On the road to fully automated luxury gay space communism.
Spreading Linux propaganda since 2020
- Ways to run Microsoft/Adobe and more on Linux
- The Ultimate FOSS Guide For Android
- Great libre software on Windows
- Hey you, the lib still using Chrome. Read this post!
Rules:
- 1. Obviously abide by the sitewide code of conduct. Bigotry will be met with an immediate ban
- 2. This community is about technology. Offtopic is permitted as long as it is kept in the comment sections
- 3. Although this is not /c/libre, FOSS related posting is tolerated, and even welcome in the case of effort posts
- 4. We believe technology should be liberating. As such, avoid promoting proprietary and/or bourgeois technology
- 5. Explanatory posts to correct the potential mistakes a comrade made in a post of their own are allowed, as long as they remain respectful
- 6. No crypto (Bitcoin, NFT, etc.) speculation, unless it is purely informative and not too cringe
- 7. Absolutely no tech bro shit. If you have a good opinion of Silicon Valley billionaires please manifest yourself so we can ban you.
I have a cudy (which came with an openwrt derived firmware) that cost about 30 € and has enough CPU to do this SQM traffic shaping (at 100 Mbit/s), but I had to buy a modem separately. I could have (ab)used my ISPs router as a quasi-modem, but the firmware had a bug that prevented IPv6 from working correctly when daisy-chaining routers, which would have actually been fixed by an update if my ISP had allowed me to actually update the firmware myself. So another 40 € for a modem.
If you want to buy an OpenWrt-capable router, my advice is to go to Amazon (or whatever) and check for OpenWrt compatibility in the reviews and then double-check on openwrt.org. Models that are available change all the time, and differ by region, so I cannot recommend any specific product.
Dynalink DL-WRX36 is a good bargain right now. ~$80, WiFi 6 support, good specs, especially for the money, solid WiFi range. It's not the easiest(nor hardest) to install OpenWRT on, but anyone going the OpenWRT route should be prepared for some Googling, fiddling and forum reading anyway.
It’s not much of a better deal, but the netgear r7000 runs fresh tomato and does cake for what the op describes.
A cheap Mikrotik router can do this without OpenWrt. Same with some Netgear stuff.
Oof. Sorry I don't have specifics, but my understanding was that the main use case for OpenWRT was to get $300 performance and features from $30 hardware. That's at least how I used the precursor, DDWRT, back in the early 2010's.
That was before many people were using the spare CPU cycles for stuff like running a DNS resolver or adblocking on the router though.
Anyone had success doing this in OpnSense/pfSense? I tried following a guide when I first set up OpnSense, but the changes made my bufferbloat rating worse, so I reversed the changes and haven't tried since.
Btw there is this test you can use to test buffer bloat: https://www.waveform.com/tools/bufferbloat
And you probably want to test it using a wired connection first.
Traffic shaping eats up CPU, maybe your router's CPU wasn't fast enough for this? Apparently mine has a dual-core 880 MHz MIPS.
I bought a N5105 mini pc (Intel, 4 cores) from AliExpress to home-roll my own router, with the idea that I could run a few other services in containers on the same device. I think hardware-wise I'm ok, but since I built it from scratch, it's possible something isn't optimal how I configured the software. But this thing should be able to do gigabit speeds no problem. Maybe I'll try again next weekend. Thanks for the inspiration and glad you were able to resolve the buffer bloat!
Oh yeah that thing should be way faster.
Just to illustrate: When a download clogs up my pipes, it adds ~50 ms of latency to every packet (which, because of multiple rounds of back-and-forth, can actually end up as seconds when loading a website). When limiting my bandwidth to ~85% speed, that extra latency is between 0 and 1 ms.