← Back to context Comment by boring_twenties 3 years ago Bulk transfer applications should just use larger buffers 2 comments boring_twenties Reply josefx 3 years ago Wouldn't that still end up with sub optimal network messages unless those large buffers are an exact multiple of the MTU on the network? boring_twenties 3 years ago Hm, I'm not 100% sure about this. If your first buffer is big enough, your next write should be issued before the OS has managed to write it all.
josefx 3 years ago Wouldn't that still end up with sub optimal network messages unless those large buffers are an exact multiple of the MTU on the network? boring_twenties 3 years ago Hm, I'm not 100% sure about this. If your first buffer is big enough, your next write should be issued before the OS has managed to write it all.
boring_twenties 3 years ago Hm, I'm not 100% sure about this. If your first buffer is big enough, your next write should be issued before the OS has managed to write it all.
Wouldn't that still end up with sub optimal network messages unless those large buffers are an exact multiple of the MTU on the network?
Hm, I'm not 100% sure about this. If your first buffer is big enough, your next write should be issued before the OS has managed to write it all.