[
https://issues.apache.org/jira/browse/SPARK-22229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16211038#comment-16211038
]
Yuval Degani commented on SPARK-22229:
--------------------------------------
[~rvesse], thanks for taking the time to review.
Regarding performance testing - we use a suite of common benchmarks in our day
to day work (HiBench, TPC-DS, etc...), as well as several customer applications.
We see anywhere between 5% to 120% speedups in runtime, depending on the type
and size of the workload.
In terms of scale, we test multiple variations in the range of 2 to 128
physical machines, and with different link speeds (10-100Gbps).
Regarding compression, we share the same experience with setting
{{spark.shuffle.compress=false}}. It causes TCP/IP to perform better in most
cases, and since the shuffle size is significantly larger, RDMA shows even a
bigger advantage over TCP/IP in that case.
For example, in TeraSort, when comparing TCP/IP to RDMA with
{{spark.shuffle.compress=false}}, we see about %45 speedup in the total
runtime. Running the same test with {{spark.shuffle.compress=true}}, yields
around %20 speedup for RDMA, as the shuffle size reduces significantly.
Regarding licensing of RDMA dependencies, I'll try to do some proper drill down
into the issues raised.
In general, {{librdmacm}} is part of the linux source code, and is not
statically linked with {{libdisni}}. I'm not a licensing expert in any way, but
I presume that other Apache projects depend on linux libraries at different
capacities.
There's at least one Apache project that I'm aware of that depends on
{{librdmacm}} - [Apache Qpid|http://qpid.apache.org/] - so I think this
constitutes a precedent for having a dependency on {{librdmacm}}.
> 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]