This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [remote protocol] support for disabling packet acknowledgement
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Sandra Loosemore <sandra at codesourcery dot com>
- Cc: Paul_Koning at dell dot com, gdb at sourceware dot org, gdb-patches at sourceware dot org, pedro at codesourcery dot com
- Date: Fri, 25 Jul 2008 16:41:31 +0300
- Subject: Re: [remote protocol] support for disabling packet acknowledgement
- References: <48765B8A.6080805@codesourcery.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Thu, 10 Jul 2008 14:57:14 -0400
> From: Sandra Loosemore <sandra@codesourcery.com>
> CC: gdb@sourceware.org, gdb-patches@sourceware.org, Pedro Alves <pedro@codesourcery.com>
>
> Paul Koning wrote:
>
> > I'm not sure this is a good idea.
> >
> > For one thing, if you want to work on performance, there are much more
> > dramatic changes to the protocol that could be done that would help
> > much more. I can't believe that the cost of acks is significant
> > compared to all the other bottlenecks.
>
> You'll note the documentation says turning off acks may be desirable to reduce
> communication overhead *or* "for other reasons". In fact, it is the "other
> reasons" that motivated this patch. We are working on designing the extensions
> to the remote protocol to support nonstop mode, and we realized that we simply
> cannot do it in combination with using +/- acks on the asynchronous responses.
Then please just say so in the docs.