summaryrefslogtreecommitdiffstats
path: root/sys/i386
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>2016-12-02 08:24:00 +0000
committerjulian <julian@FreeBSD.org>2016-12-02 08:24:00 +0000
commit5c325f007b252a394e014fef7ff608a260222247 (patch)
treea02e87406259c28885f51f83328394438730b1bf /sys/i386
parent0465785c41747214c1e081431fe93a9daacdc6fd (diff)
downloadFreeBSD-src-5c325f007b252a394e014fef7ff608a260222247.zip
FreeBSD-src-5c325f007b252a394e014fef7ff608a260222247.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 'sys/i386')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud