You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Timothee Maret (JIRA)" <ji...@apache.org> on 2016/08/23 15:44:20 UTC

[jira] [Resolved] (SLING-5990) [SCD] FileBackedMemoryOutputStream is 10x slower than file buffering for large files

     [ https://issues.apache.org/jira/browse/SLING-5990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timothee Maret resolved SLING-5990.
-----------------------------------
    Resolution: Done

> [SCD] FileBackedMemoryOutputStream is 10x slower than file buffering for large files
> ------------------------------------------------------------------------------------
>
>                 Key: SLING-5990
>                 URL: https://issues.apache.org/jira/browse/SLING-5990
>             Project: Sling
>          Issue Type: Bug
>          Components: Distribution
>    Affects Versions: Content Distribution 0.2.0
>            Reporter: Timothee Maret
>            Assignee: Timothee Maret
>             Fix For: Content Distribution 0.2.0
>
>
> When doing performance test SDC agents and the following configuration, the distribution is ~10x slower than when using a regular file buffering method.
> The parameters are the following
> * fileThreashol = 1
> * memoryUnit = MB
> * useOffHeapMemory = false
> * tempDirectory = null
> * fileName = distrpck-create-
> * fileExtension = .default
> The size of the binary is 80MB. 
> With the setup, it takes 12-14sec to replicate
> With a simple FileOutputStream mechanism, it takes around 1.4 sec to replicate



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)