summaryrefslogtreecommitdiffstats
path: root/contrib/diff/src/normal.c
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>2016-12-02 08:21:25 +0000
committerjulian <julian@FreeBSD.org>2016-12-02 08:21:25 +0000
commitf5092d6951c9a069db398862021a92b0c34876a6 (patch)
tree25743260b420a8747549de2310ce6a32b7757032 /contrib/diff/src/normal.c
parent9952b598c2be606751b6447fcdd36432bcd1616b (diff)
downloadFreeBSD-src-f5092d6951c9a069db398862021a92b0c34876a6.zip
FreeBSD-src-f5092d6951c9a069db398862021a92b0c34876a6.tar.gz
MFH: r309295
bhyve: stability and performance improvement for dbgport The TCP server implementation in dbgport does not track clients, so it may try to write to a disconected socket resulting in SIGPIPE. Avoid that by setting SO_NOSIGPIPE socket option. Because dbgport emulates an I/O port to guest, the communication is done byte by byte. Reduce latency of the TCP/IP transfers by using TCP_NODELAY option. In my tests that change improves performance of kgdb commands with lots of output (e.g. info threads) by two orders of magnitude. A general note. Since we have a uart emulation in bhyve, that can be used for the console and gdb access to guests. So, bvmconsole and bvmdebug could be de-orbited now. But there are many existing deployments that still dependend on those. Discussed with: julian, jhb Sponsored by: Panzura
Diffstat (limited to 'contrib/diff/src/normal.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud