[ https://issues.apache.org/jira/browse/MESOS-3112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bernd Mathiske updated MESOS-3112: ---------------------------------- Priority: Major (was: Minor) > Fetcher should perform cache eviction based on cache file usage patterns. > ------------------------------------------------------------------------- > > Key: MESOS-3112 > URL: https://issues.apache.org/jira/browse/MESOS-3112 > Project: Mesos > Issue Type: Improvement > Components: fetcher > Reporter: Bernd Mathiske > Assignee: Jan Schlicht > Labels: mesosphere, performance > > Currently, the fetcher uses a trivial strategy to select eviction victims: it > picks the first cache file it finds in linear iteration. This means that > potentially a file that has just been used gets evicted the next moment. This > performance loss can be avoided by even the simplest enhancement of the > selection procedure. > Proposed approach: determine an effective yet relatively uncomplex and quick > algorithm and implement it in `FetcherProcess::Cache::selectVictims(const > Bytes& requiredSpace)`. Suggestion: approximate MRU-retention somehow. > Unit-test what actually happens! -- This message was sent by Atlassian JIRA (v6.3.4#6332)