Re: [PATCH 12/12] gdb: use two displaced step buffers on amd64/Linux

Simon Marchi
2020-11-25T20:56:17Z

On 2020-11-25 3:07 p.m., Simon Marchi wrote:
> We still have to figure out why the performance regresses compared to
> master. One thing is that we still do an extra resume attempt each
> time. We do one resume where the disp step prepare succeeds and one
> more where it fails. That's twice as much work as before, where we did
> one successful prepare and then skipped the next ones. I'll make an
> experimental change such that the arch can say "the prepare worked, but
> now I'm out of buffer", just to see how that improves (or not)
> performance.

That made just a small difference. Let's call this new patch E:

#9 + A + B + C + D + E: 105,727

Simon