iperf is testing raw performance between two clients. It is not interacting with your files, mount, or Kodi. The performance of the network in Kodi should have improved though.
I don’t know why it did that but you will probably find a working solution in this post or following that thread a bit farther down…