autotier
Automatic Tiering Fuse Filesystem
Macros
popularityCalc.hpp File Reference

Macro defines for popularity calculation tweaking. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MINUTE   60.0
 
#define HOUR   (60.0 * MINUTE)
 
#define DAY   (24.0 * HOUR)
 
#define WEEK   (7.0 * DAY)
 
#define START_DAMPING   50000.0
 
#define DAMPING   1000000.0
 
#define MULTIPLIER   3600.0
 
#define REACH_FULL_DAMPING_AFTER   (1.0 * WEEK)
 
#define SLOPE   ((DAMPING - START_DAMPING) / REACH_FULL_DAMPING_AFTER)
 
#define AVG_USAGE   0.238
 

Detailed Description

Macro defines for popularity calculation tweaking.

Author
Josh Boudreau (jboud.nosp@m.reau.nosp@m.@45dr.nosp@m.ives.nosp@m..com)
Date
2021-09-15

This file is part of autotier.

autotier is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

autotier is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with autotier. If not, see https://www.gnu.org/licenses/.