[ 
https://issues.apache.org/jira/browse/HDFS-16596?focusedWorklogId=775125&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-775125
 ]

ASF GitHub Bot logged work on HDFS-16596:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 26/May/22 16:02
            Start Date: 26/May/22 16:02
    Worklog Time Spent: 10m 
      Work Description: saintstack commented on code in PR #4360:
URL: https://github.com/apache/hadoop/pull/4360#discussion_r882832172


##########
hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml:
##########
@@ -3003,10 +3003,10 @@
 </property>
 
 <property>
-  <name>dfs.datanode.fsdatasetasyncdisk.max.threads.per.volume</name>
-  <value>4</value>
+  <name>dfs.datanode.fsdatasetasyncdisk.core.threads.per.volume</name>
+  <value>1</value>
   <description>
-    The maximum number of threads per volume used to process async disk
+    The number of core threads per volume used to process async disk

Review Comment:
   Suggest you leave the old config alone and introduce a new one for core 
thread count.
   





Issue Time Tracking
-------------------

    Worklog Id:     (was: 775125)
    Time Spent: 20m  (was: 10m)

> Improve the processing capability of FsDatasetAsyncDiskService
> --------------------------------------------------------------
>
>                 Key: HDFS-16596
>                 URL: https://issues.apache.org/jira/browse/HDFS-16596
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: ZanderXu
>            Assignee: ZanderXu
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> In our production environment, when DN needs to delete a large number blocks, 
> we find that many deletion tasks are backlogged in the queue of 
> threadPoolExecutor in FsDatasetAsyncDiskService. We can't improve its 
> throughput because the number of core threads is hard coded.
> So DN needs to support the number of core threads of 
> FsDatasetAsyncDiskService can be configured.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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

Reply via email to