-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
Type of issue: other enhancement
Impact: no functional change
Development Phase: proposal
Other information
If the current behavior is a bug, please provide the steps to reproduce the problem:
What is the current behavior?
The remote bitbang server runs slowly. By setting TCP_NODELAY, debugging can speed up by 2x.
The problem is that the server sends char by char to OpenOCD, which will be cached by Nagle algorithm instead of sending them immediately. This can incur large latency between OpenOCD and the server. I have observed a 2x speedup in a similar remote bitbang implementation for my CPU design.
What is the expected behavior?
Please tell us about your environment:
What is the use case for changing the behavior?
Speedup debugging in simulation environment.