DIY router with BSD based OS question

TMR

New Member
Credits
24
I am currently thinking of making my own router out of some old harddware. With this idea in mind I have been reading up on different OS alterantives to use. I have been considering everything fram ubuntu server, pure FreeBSD and sollutions that are more user friendly with a web-based gui.

I came across this article.

And I was wondering if someone here could explain to me what they mean under disadvanges on OPNSense. I find i it difficult to belive that BSD would have these limits.
I am not surprised about the poor wifi,
but limitations on maximum throughput per connection, and single connections will not utilize multi-core CPU. surprises me more.
1612894164426.png
 


KGIII

Super Moderator
Staff member
Gold Supporter
Credits
13,294
Someone correct me if I'm wrong.

I believe that's by design and has to do with the way that BSD schedules tasks. If the throughput wasn't limited, it'd be possible for that thread to overwhelm the system and degrade the systems performance overall. In BSD world, that's not allowed - due to an emphasis on rock-solid stability.

Note that this is per connection. That's one IP address sending one bit of data, like the HTTP requests. Other connections would have their own thread. Those many threads can be across multiple cores but no individual thread can be across multiple cores.

So, unless you're hammering down on one IP address with the full weight of your connection, and that connection is big enough to fill your pipes, it's not going to be something you actually notice.

I think... I'm pretty sure, but not 100% positive.

It may sound counterintuitive, but throttling connections is Server Management 101 type of stuff. It keeps the server from being overwhelmed as easily, making it harder to do things like cause the server to lag by sending lots of packets at it at once (such as causing a denial of service attack). It's mostly about *inbound* traffic and not so much about outbound, though that's really oversimplifying.
 

TMR

New Member
Credits
24
Thank you for the reply, I think im a bit wiser now. To give a practical example, a high load ssh file transfer is where I just might notice something, and only if it overwhelms the single core that is beeing loaded.
And for normal internet load from the family is not very likely going make the connection feel slow.
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Members online


Top