You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Benjamin Mahler (JIRA)" <ji...@apache.org> on 2017/01/23 00:14:26 UTC
[jira] [Created] (MESOS-6971) Use arena allocation to improve
protobuf message passing performance.
Benjamin Mahler created MESOS-6971:
--------------------------------------
Summary: Use arena allocation to improve protobuf message passing performance.
Key: MESOS-6971
URL: https://issues.apache.org/jira/browse/MESOS-6971
Project: Mesos
Issue Type: Improvement
Components: libprocess, technical debt
Reporter: Benjamin Mahler
The protobuf message passing provided by {{ProtobufProcess}} provide const access of the message and/or its fields to the handler function.
This means that we can leverage the [arena allocator|https://developers.google.com/protocol-buffers/docs/reference/arenas] provided by protobuf to reduce the memory allocation cost during de-serialization and improve cache efficiency.
This would require using protobuf 3.x with "proto2" syntax (which appears to be the default if unspecified) to maintain our existing "proto2" requirements. The upgrade to protobuf 3.x while keeping "proto2" syntax should be tackled via a separate ticket that blocks this one.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)