Opnsense uses mpd5 for years. So, don't worry about CPU load
The question is, did you open this topic just to clarify a theoretical question? Or you actually have the problem of 100% CPU load while using pppoe and download large files?
That's not your PPPoE process. Mpd5 is not written in Python.
Try `ps awwux | grep python` to see what that python process is actually doing.
What exactly is the problem with high CPU usage? If the hardware in question can push 900 Mbit/s over a 1 G link and uses most of the available CPU cycles for malware detection, I'd argue it is simply doing its job. Why would you need free CPU capacity? You don't have a faster uplink, right?