Project

General

Profile

Actions

Emulator Issues #13581

open

GDB Stub runs very slow on windows

Added by hnery 3 months ago. Updated 3 months ago.

Status:
New
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

The GDB Stub runs very slow on my windows machine (see the link). I am able to fix it by making the change in the screenshot. What I think is happening is that the GDB stub is scheduled to run too often, causing a IO bottleneck. I changed GDB_UPDATE_CYCLES to a higher number, so it gets scheduled less often. This fixes the issue while still being able to receive commands from GDB. However, I would assume the value currently in the main branch works for some people currently, I am not sure what impacts this would have on them.

https://cdn.discordapp.com/attachments/932049007172280350/1258555518608478228/gdb_slow.mp4?ex=66a6226a&is=66a4d0ea&hm=5f1cc6ac46070a1d36a3c7c63c5fef9f9dc444b4efc4a4e9fa3a5c89736af9e1&


Files

Actions

Also available in: Atom PDF