Re: [go-nuts] How to make UDP server performance better?

2018-08-30 Thread Matt Harden
The time spent in the syscall would include time blocked, waiting for a packet to arrive. I would look at the other parts of the profile for possible improvements. The kernel may also be dropping packets if there is not enough buffer space to receive them into; see the SO_RCVBUF socket option. Mayb

[go-nuts] How to make UDP server performance better?

2018-08-27 Thread Zhuo Meng
Hi, Gophers I'm doing benmarking for my GoNTPd . I found that my implement is only can handle about 100Kpps (kilo packets per second) per goroutine while ntpd can handle about 170 Kpps. on Intel Xeon E312 The pprof shows