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

Tsz-wo Sze updated HDDS-14752:
------------------------------
        Parent: HDDS-10338
    Issue Type: Sub-task  (was: Bug)

> Performance degradation in stream GET due to delayed semaphore/permit release 
> at block EOF
> ------------------------------------------------------------------------------------------
>
>                 Key: HDDS-14752
>                 URL: https://issues.apache.org/jira/browse/HDDS-14752
>             Project: Apache Ozone
>          Issue Type: Sub-task
>          Components: Ozone Client
>    Affects Versions: 2.2.0
>            Reporter: Sergey Soldatov
>            Assignee: Sergey Soldatov
>            Priority: Major
>             Fix For: 2.2.0
>
>
> Stream GET/read workloads slow down because we hold the stream-read permit 
> for too long. When a block hits EOF, the permit (released by 
> {{{}completeStreamRead{}}}) isn’t freed right away. That means other readers 
> get stuck waiting even though the block is already done, so queues build up, 
> throughput drops, and latency gets worse. In my tests I see performance 
> degradation 2-3x times for the regular client and over 10x on s3gateway for 
> files with size over several gb. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to