Skip to content
This repository has been archived by the owner on Oct 1, 2022. It is now read-only.

Commit

Permalink
Update eviction strategies for zeroflte and mako
Browse files Browse the repository at this point in the history
  • Loading branch information
mlq committed Oct 31, 2016
1 parent f9fc0a8 commit 0e78d9e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
6 changes: 3 additions & 3 deletions libflush/libflush/eviction/strategies/mako.h
Expand Up @@ -2,8 +2,8 @@

/* Nexus 4 */
#define NUMBER_OF_SETS 2048
#define LINE_LENGTH_LOG2 6
#define LINE_LENGTH 64
#define ES_EVICTION_COUNTER 19
#define LINE_LENGTH_LOG2 7
#define LINE_LENGTH 128
#define ES_EVICTION_COUNTER 12
#define ES_NUMBER_OF_ACCESSES_IN_LOOP 1
#define ES_DIFFERENT_ADDRESSES_IN_LOOP 2
16 changes: 13 additions & 3 deletions libflush/libflush/eviction/strategies/zeroflte.h
@@ -1,9 +1,19 @@
/* See LICENSE file for license and copyright information */

/* Samsung S6 (A53) */
#if 1
#define NUMBER_OF_SETS 512
#define LINE_LENGTH_LOG2 6
#define LINE_LENGTH 64
#define ES_EVICTION_COUNTER 21
#define ES_NUMBER_OF_ACCESSES_IN_LOOP 2
#define ES_DIFFERENT_ADDRESSES_IN_LOOP 5
#else
/* Samsung S6 (A57) */
#define NUMBER_OF_SETS 2048
#define LINE_LENGTH_LOG2 6
#define LINE_LENGTH 64
#define ES_EVICTION_COUNTER 3
#define ES_NUMBER_OF_ACCESSES_IN_LOOP 8
#define ES_DIFFERENT_ADDRESSES_IN_LOOP 8
#define ES_EVICTION_COUNTER 25
#define ES_NUMBER_OF_ACCESSES_IN_LOOP 10
#define ES_DIFFERENT_ADDRESSES_IN_LOOP 10
#endif

0 comments on commit 0e78d9e

Please sign in to comment.