I think (but i'm not sure), that tot_net_bw [0] is not being applied.
Also, since new_bw it's used in the non-pid part as the final value to write in the file, i thought tot_net_bw it just the sum of all the final relays' bandwidth that are going to be written in the file.
In previous experiments, i capped to 0.05 * sum final bandwidths, and the result makes sense, see the attchemnt.
Since we're using observed bandwidths, we must limit the maximum node bandwidth.
5% is ok, but 1% might be better, because the largest relay is only 0.5%.
sbws needs to cap, so that relays can't gain too much bandwidth by changing their observed bandwidths.
This is a security requirement. If torflow doesn't do it, that's a bug in torflow.
But from the graph, there doesn't seem to be a cap on torflow's bandwidths.
Also, since new_bw it's used in the non-pid part as the final value to write in the file, i thought tot_net_bw it just the sum of all the final relays' bandwidth that are going to be written in the file.
In previous experiments, i capped to 0.05 * sum final bandwidths, and the result makes sense, see the attchemnt.