50 Gb Test File -
def create_test_file(size_gb, filename): size_bytes = size_gb * 1024 * 1024 * 1024 with open(filename, 'wb') as f: f.write(bytearray(size_bytes))
def create_test_file(size_gb, filename): size_bytes = size_gb * 1024 * 1024 * 1024 with open(filename, 'wb') as f: f.write(bytearray(size_bytes))