[ 
https://issues.apache.org/jira/browse/SPARK-22229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16209396#comment-16209396
 ] 

Rob Vesse commented on SPARK-22229:
-----------------------------------

I'd be interested to know more about what performance testing you carried out?

In our experience of running Spark over various high-performance interconnects 
you can get fairly good performance boost by simply setting 
{{spark.shuffle.compress=false}} and relying on TCP/IP performance over the 
interconnect.  It is pretty difficult to write a Spark job that saturates the 
available bandwidth of such an interconnect so disabling compression means you 
don't waste CPU cycles compressing data and instead simply pump it across the 
network ASAP.

I also wonder if you could comment on the choice of the underlying RDMA 
libraries and their licensing?

It looks like {{libdisni}} is ASLv2 which is fine but some of its dependencies 
appear to be at least in parts GPL (e.g. {{librdmacm}}) which would mean they 
could not be depended on by an Apache project even as optional dependencies due 
to foundation level policies around dependency licensing. Due to the nature of 
licensing of most of the libraries in this space it may be legally impossible 
for RDMA support to make it into spark proper. It which case you would likely 
have to stick with the external plug-in approach as you do currently.

> SPIP: RDMA Accelerated Shuffle Engine
> -------------------------------------
>
>                 Key: SPARK-22229
>                 URL: https://issues.apache.org/jira/browse/SPARK-22229
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>    Affects Versions: 2.3.0
>            Reporter: Yuval Degani
>         Attachments: 
> SPARK-22229_SPIP_RDMA_Accelerated_Shuffle_Engine_Rev_1.0.pdf
>
>
> An RDMA-accelerated shuffle engine can provide enormous performance benefits 
> to shuffle-intensive Spark jobs, as demonstrated in the “SparkRDMA” plugin 
> open-source project ([https://github.com/Mellanox/SparkRDMA]).
> Using RDMA for shuffle improves CPU utilization significantly and reduces I/O 
> processing overhead by bypassing the kernel and networking stack as well as 
> avoiding memory copies entirely. Those valuable CPU cycles are then consumed 
> directly by the actual Spark workloads, and help reducing the job runtime 
> significantly. 
> This performance gain is demonstrated with both industry standard HiBench 
> TeraSort (shows 1.5x speedup in sorting) as well as shuffle intensive 
> customer applications. 
> SparkRDMA will be presented at Spark Summit 2017 in Dublin 
> ([https://spark-summit.org/eu-2017/events/accelerating-shuffle-a-tailor-made-rdma-solution-for-apache-spark/]).
> Please see attached proposal document for more information.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to