2

By default for Windows at least, Nagling is on. There are potential performance gains due to turning it off. What's the downside of turning it off?

Frank Schwieterman
  • 24,142
  • 15
  • 92
  • 130

1 Answers1

2

Suppose you do a write and send exactly one byte. And suppose tcphdr + iphdr are 40 bytes. This means you're there's more overhead than data.

There's no real "risk". If your application does many small writes you'll experience a lot more packets and a drop in efficiency (it shouldn't translate into a drop in performance).

cnicutar
  • 178,505
  • 25
  • 365
  • 392
  • can you explain the different in efficiency and performance here and how will it effect, thanks – shabby May 22 '14 at 11:46