this post was submitted on 25 Oct 2023
126 points (92.6% liked)
Linux
48334 readers
605 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
OpenWrt
I'm considering replacing my router with a software router and have been comparing a few options.
I was having a lot of difficulty getting 10Gbps through opnsense. Even after tuning a bunch of tunables, I was only getting 3Gbps or so, with no fancy features like IPS/IDS enabled. It was just a basic out-of-the-box config with my current home network as the "WAN" and a small lab network as a LAN. Something (NAT maybe?) seems to be single-threaded as it was hitting 100% of one core on a six-core i5-9500 (which should be more than powerful enough for this).
While researching I learnt that OpenWrt has an x86-64 build you can run on a computer. I thought it was only for regular routers.
Flashed OpenWrt to a USB stick and tried it instead of opnsense. Out of the box I got full 10Gbps speed, using less CPU power than 3Gbps used in opnsense (~15% per core across all cores). The base system is fast and light, only using 15MB of disk space and less than 100MB RAM. That makes sense given it's designed to run on routers, but in an era where a lot of software is very bloated, it's nice to see lightweight software that does its job with barely any overhead.