You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2015/01/05 13:08:35 UTC
[jira] [Commented] (SPARK-5073) "spark.storage.memoryMapThreshold"
have two default value
[ https://issues.apache.org/jira/browse/SPARK-5073?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14264535#comment-14264535 ]
Sean Owen commented on SPARK-5073:
----------------------------------
The documentation suggests that 8192 is the intended default, and that's consistent with the javadoc that says this should be a limit near the OS page size, which is indeed I think 4KB on modern OSes (?). So open a PR to fix the default in {{TransportConf}}?
> "spark.storage.memoryMapThreshold" have two default value
> ---------------------------------------------------------
>
> Key: SPARK-5073
> URL: https://issues.apache.org/jira/browse/SPARK-5073
> Project: Spark
> Issue Type: Bug
> Components: Spark Core
> Affects Versions: 1.2.0
> Reporter: Yuan Jianhui
> Priority: Minor
>
> In org.apache.spark.storage.DiskStore:
> val minMemoryMapBytes = blockManager.conf.getLong("spark.storage.memoryMapThreshold", 2 * 4096L)
> In org.apache.spark.network.util.TransportConf:
> public int memoryMapBytes() {
> return conf.getInt("spark.storage.memoryMapThreshold", 2 * 1024 * 1024);
> }
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org