In fact, I have never gotten 10Gbps out of any software-only path. Routers can do it, but it's hardware accelerated and won't generate packets at that speed. I did recently get 7Gbps out of normal Internet usage, though, with a consumer-grade 10Gbps NIC on an Intel system. Pretty decent, but not 10Gbps.
Much optimization is necessary to make 10Gbps a thing. It's not a focus for $35 single-board computers. Those things are just obsolete phone chipsets in a desktop form factor; don't expect much out of them.