I thought it was a great idea and created a ticket for this a while ago
https://spark-project.atlassian.net/browse/SPARK-529

I don't think anyone has got around to implement it yet. If you are
interested, it might make sense to do it after the streaming code is merged
into master.

On Tue, Jan 8, 2013 at 12:00 AM, Shane Huang <notifications@github.com>wrote:

> In core/src/main/scala/spark/network/ConnectionManager.scala:
>
> > @@ -43,12 +43,12 @@ private[spark] class ConnectionManager(port: Int) extends Logging {
> >    }
> >
> >    val selector = SelectorProvider.provider.openSelector()
> > -  val handleMessageExecutor = Executors.newFixedThreadPool(4)
> > +  val handleMessageExecutor = Executors.newFixedThreadPool(20)
>
> BTW, I noticed the configurations are scattered everywhere in source code.
> Why not have a place to gather all settable system properties (something
> like mapred-site.xml/hdfs-site.xml in hadoop/conf) or at least in some
> documentation so that people don't have to look into code to know which
> arguments are tunable. Any plans for that?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/mesos/spark/pull/356/files#r2574254>.
>
>