Describe the bug
centos 7 2009 gcc 9.1 redis 6.2.6
$ make test
......
Testing solo test
[err]: Active defrag in tests/unit/memefficiency.tcl
Expected 1.52 < 1.4 (context: type eval line 109 cmd {assert {$frag < 1.4}} proc ::test)
......
To reproduce
Steps to reproduce the behavior and/or a minimal code sample.
Expected behavior
A description of what you expected to happen.
Additional information
Any additional information that is relevant to the problem.
Comment From: oranagra
@sam-mix is it consistent? which hardware architecture are you using?
can you run it with ./runtest --single unit/memefficiency --verbose and post the output?
Comment From: sam-mix
that is ok, thank you! @oranagra
[root@localhost redis-6.2.6]# ./runtest --single unit/memefficiency --verbose
Cleanup: may take some time... OK
Starting test server at port 21079
[ready]: 5401
Testing unit/memefficiency
[ready]: 5403
[ready]: 5408
[ready]: 5405
[ready]: 5412
[ready]: 5415
[ready]: 5422
[ready]: 5420
[ready]: 5417
[ready]: 5432
[ready]: 5428
[ready]: 5430
[ready]: 5441
[ready]: 5436
[ready]: 5445
[ready]: 5439
=== (memefficiency) Starting server 127.0.0.1:21111 ok
[ok]: Memory efficiency with values in range 32
[ok]: Memory efficiency with values in range 64
[ok]: Memory efficiency with values in range 128
[ok]: Memory efficiency with values in range 1024
[ok]: Memory efficiency with values in range 16384
[1/1 done]: unit/memefficiency (2 seconds)
Testing solo test
=== (defrag) Starting server 127.0.0.1:21112 ok
frag 1.52
frag 1.02
hits: 323863
misses: 2257035
max latency 7
{active-defrag-cycle 1641351646 7 7} {command 1641351641 997 997}
{1641351642 7} {1641351643 7} {1641351644 7} {1641351645 7} {1641351646 7}
AOF loading:
frag 1.15
hits: 465129
misses: 3455125
max latency 0
{while-blocked-cron 1641351652 7 7} {active-defrag-cycle 1641351652 7 7} {command 1641351652 4316 4316}
[ok]: Active defrag
frag 1.87
frag 1.01
hits: 519331
misses: 2573483
max latency 8
{active-defrag-cycle 1641351665 8 8} {command 1641351661 803 803}
{1641351661 8} {1641351662 8} {1641351663 8} {1641351664 8} {1641351665 8}
[ok]: Active defrag big keys
frag 2.00
frag 1.01
misses: 99992
hits: 100012
max latency 8
{active-defrag-cycle 1641351678 8 8} {command 1641351677 382 382}
{1641351678 8}
[ok]: Active defrag big list
=== (defrag) Starting server 127.0.0.1:21113 ok
frag 1.96
frag 1.00
hits: 664393
misses: 2967153
[ok]: Active defrag edge case
[1/1 done]: defrag (72 seconds)
The End
Execution time of different units:
2 seconds - unit/memefficiency
72 seconds - defrag
\o/ All tests passed without errors!
Cleanup: may take some time... OK