Linux vmi2545633.contaboserver.net 6.1.0-32-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.129-1 (2025-03-06) x86_64
Apache/2.4.62 (Debian)
Server IP : 127.0.0.1 & Your IP : 127.0.0.1
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
doc /
redis-tools /
examples /
lru /
Delete
Unzip
Name
Size
Permission
Date
Action
README
771
B
-rw-r--r--
2024-01-09 11:51
lfu-simulation.c
5.16
KB
-rw-r--r--
2024-01-09 11:51
test-lru.rb
5.42
KB
-rw-r--r--
2024-01-09 11:51
Save
Rename
The test-lru.rb program can be used in order to check the behavior of the Redis approximated LRU algorithm against the theoretical output of true LRU algorithm. In order to use the program you need to recompile Redis setting the define REDIS_LRU_CLOCK_RESOLUTION to 1, by editing the file server.h. This allows to execute the program in a fast way since the 1 ms resolution is enough for all the objects to have a different enough time stamp during the test. The program is executed like this: ruby test-lru.rb /tmp/lru.html You can optionally specify a number of times to run, so that the program will output averages of different runs, by adding an additional argument. For instance in order to run the test 10 times use: ruby test-lru.rb /tmp/lru.html 10