This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [remote protocol] support for disabling packet acknowledgement


> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]