spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reynold Xin (JIRA)" <>
Subject [jira] [Commented] (SPARK-3135) Avoid memory copy in TorrentBroadcast serialization
Date Sat, 18 Oct 2014 04:01:33 GMT


Reynold Xin commented on SPARK-3135:

Is the memory usage lower on the master branch vs 1.1? If yes, we can certainly backport.
This is a medium size fix.

> Avoid memory copy in TorrentBroadcast serialization
> ---------------------------------------------------
>                 Key: SPARK-3135
>                 URL:
>             Project: Spark
>          Issue Type: Sub-task
>            Reporter: Reynold Xin
>            Assignee: Reynold Xin
>              Labels: starter
>             Fix For: 1.2.0
> TorrentBroadcast.blockifyObject uses a ByteArrayOutputStream to serialize broadcast object
into a single giant byte array, and then separates it into smaller chunks.  We should implement
a new OutputStream that writes serialized bytes directly into chunks of byte arrays so we
don't need the extra memory copy.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message