There's a comprehensive guide in pfsense.
Does anyone know the equivalent of "Queue Length" of pfsense in Opnsense?
Traffic shaping like depicted in the docs generally works, but there is a caveat: With at least one provider (Deutsche Glasfaser), the IPv4 connection gets completely dropped if traffic shaping is enabled and the connection limits are reached.
I never tried anything besides FQ_CODEL, because bufferbloat was my main concern. Alas, I had to stop trying, because the affected devices are remote and I lose contact each time this happens. Thus I ceased my experiments w/r to this.I also have no idea what is happening there, because the same settings work fine with other providers.
For FQ_C bad performance or problems during slow/new start are usually caused by two reasons ECN & limit.