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

Timothee Maret commented on SLING-5990:
---------------------------------------

Done 1. in {{r1757389}}. With the patch, the performance is virtually 
equivalent to using a regular {{FileOutputStream}} (env. 10x faster). 

> [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)

Reply via email to