[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [dsdp-tcf-dev] Applicability of TCF agent for remote tracing
|
> You can send binary data inside TCF messages. If you define a new
> service, you can choose any data format for its messages, including
> binary byte array.
Yes, binary data will go through but will be copied/encoded. This is not
acceptable when tracing a busy high performance embedded server (e.g. a
telecom server). If it is a small device, with only a 7 bits RS232
connection, falling back to this less efficient default mode would be
appropriate.
> "zero copy" is not supported yet. Data is always placed into a channel
> buffer first. It should not be very difficult to extend channel
> implementation to support block writes with "zero copy".
Yes, we should probably extend Channels, Streams and JSON to have the
option of zero copy block writes whenever practical (e.g. TCP
available). Michael Sills-Lavoie is working on that and will likely post
a proposal (.h files) for comments. Thanks.