As mentioned earlier, I’d look at details of the PCIe bus/speed, after that I’d look at temperature throttling.
Compare PCI details from
nvidia-smi -q
Compare output of
nvidia-smi dmon -s pucte while running the code on 1080 vs 2080