You presumably mean 500kSPS, rather than 500Msps here?
Hello Josh, Thanks for responding.
I just tried your suggestion.
With a single USRP channel at 4MS/s and writing to four files at
500 MS/s (each of these 4 files is writing the same thing), I
occasionally still see some overruns though it takes a lot
longer for them to show up than with 4 channels at 1MS/s and
they don't always show up eachtime i run the script. The 4
channels at 1MS/s and writing to file at 500 MS/s causes
overruns every time I run the script.