You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Miklos Szegedi (JIRA)" <ji...@apache.org> on 2017/03/17 01:44:41 UTC
[jira] [Created] (YARN-6361) FSLeafQueue.fetchAppsWithDemand CPU
usage is high with big queues
Miklos Szegedi created YARN-6361:
------------------------------------
Summary: FSLeafQueue.fetchAppsWithDemand CPU usage is high with big queues
Key: YARN-6361
URL: https://issues.apache.org/jira/browse/YARN-6361
Project: Hadoop YARN
Issue Type: Bug
Reporter: Miklos Szegedi
Priority: Minor
FSLeafQueue.fetchAppsWithDemand sorts the applications by the current policy. Most of the time is spent in FairShareComparator.compare. We could improve this by doing the calculations outside the sort loop (O(n)) and we sorted by a fixed number inside instead O(n*log(n)).
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org