0

In experimenting with transferring files over networks in Java, I've found that buffers > 64k give best performance. However from what I've seen googling around (such as here), most people recommend smaller buffers of 8-32k because it can fit in the CPU cache. Is that factor important when transferring large volumes of data? Would it be better to sacrifice better network throughput and go with the smaller buffer? (this includes Android devices too, perhaps any low power device)

4

0 回答 0