armhf 移植 Redis

Posted landaliming

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了armhf 移植 Redis相关的知识,希望对你有一定的参考价值。

参考博客:交叉编译 redis 5.0 (arm版) https://blog.csdn.net/oSiJieMo/article/details/94466215

1. 下载源码并交叉编译

$ wget http://download.redis.io/releases/redis-6.0.5.tar.gz
$ tar xzf redis-6.0.5.tar.gz
$ cd redis-6.0.5

$ make  MALLOC=libc  CC=arm-linux-gnueabihf-gcc

2. 测试

查看编译的二进制是否是arm平台的

$ file redis-server 
redis-server: ELF 32-bit LSB  executable, ARM, EABI5 version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=ff8ccd8af83df05960e16a0a948d6b3ffbcc64da, not stripped

拷贝 src 目录下的二进制到开发板

redis-server
redis-benchmark
redis-cli
redis-check-rdb
redis-check-aof
redis-sentinel

启动服务端

$ src/redis-server &

启动客户端

$ src/redis-cli
redis> set foo bar
OK
redis> get foo
"bar"

3. 性能分析

1. 使用 top 命令

Mem: 52660K used, 456164K free, 11536K shrd, 100K buff, 33760K cached
CPU:  0.3% usr  0.3% sys  0.0% nic 99.2% idle  0.0% io  0.0% irq  0.0% sirq
Load average: 0.69 0.65 0.63 1/52 1346
  PID  PPID USER     STAT   VSZ %VSZ CPU %CPU COMMAND
 1337  1097 root     S    28576  5.6   0  0.2 ./redis-server *:6379
 1346  1097 root     R     2940  0.5   0  0.2 top

2. 通过 /proc 文件系统

[root@tcu /mnt/usb/redis]# cat /proc/1337/status 
Name:	redis-server
Umask:	0022
State:	S (sleeping)

VmPeak:	   28660 kB
VmSize:	   28576 kB
VmLck:	       0 kB
VmPin:	       0 kB
VmHWM:	    2324 kB
VmRSS:	    2324 kB

VmData:	   25552 kB
VmStk:	     132 kB
VmExe:	     788 kB
VmLib:	    1572 kB
VmPTE:	      14 kB
VmSwap:	       0 kB

内存相关字段解释:

VmSize(KB) 任务虚拟地址空间的大小 (total_vm-reserved_vm),其中total_vm为进程的地址空间的大小,reserved_vm:进程在预留或特殊的内存间的物理页 
VmLck(KB) 任务已经锁住的物理内存的大小。锁住的物理内存不能交换到硬盘 (locked_vm) 
VmRSS(KB) 应用程序正在使用的物理内存的大小,就是用ps命令的参数rss的值 (rss) 
VmData(KB) 程序数据段的大小(所占虚拟内存的大小),存放初始化了的数据; (total_vm-shared_vm-stack_vm) 
VmStk(KB) 任务在用户态的栈的大小 (stack_vm) 
VmExe(KB) 程序所拥有的可执行虚拟内存的大小,代码段,不包括任务使用的库 (end_code-start_code) 
VmLib(KB) 被映像到任务的虚拟内存空间的库的大小 (exec_lib) 
VmPTE 该进程的所有页表的大小,单位:kb 

3. 执行 redis的benchmark

./redis-benchmark

在 am335x 上的测试结果

[root@tcu /mnt/usb/redis]# ./redis-benchmark 
====== PING_INLINE ======
  100000 requests completed in 20.03 seconds
  50 parallel clients
  3 bytes payload
  keep alive: 1
  host configuration "save": 3600 1 300 100 60 10000
  host configuration "appendonly": no
  multi-thread: no

0.00% <= 1.9 milliseconds
0.00% <= 2 milliseconds
0.82% <= 3 milliseconds
1.90% <= 4 milliseconds
4.36% <= 5 milliseconds
18.69% <= 6 milliseconds
39.40% <= 7 milliseconds
61.04% <= 8 milliseconds
81.03% <= 9 milliseconds
93.67% <= 10 milliseconds
96.77% <= 11 milliseconds
98.02% <= 12 milliseconds
98.77% <= 13 milliseconds
99.22% <= 14 milliseconds
99.49% <= 15 milliseconds
99.69% <= 16 milliseconds
99.88% <= 17 milliseconds
99.98% <= 18 milliseconds
100.00% <= 19 milliseconds
100.00% <= 20 milliseconds
4992.51 requests per second

====== PING_BULK ======
  100000 requests completed in 20.48 seconds
  50 parallel clients
  3 bytes payload
  keep alive: 1
  host configuration "save": 3600 1 300 100 60 10000
  host configuration "appendonly": no
  multi-thread: no

0.00% <= 1 milliseconds
0.00% <= 2 milliseconds
0.48% <= 3 milliseconds
4.93% <= 4 milliseconds
11.56% <= 5 milliseconds
31.38% <= 6 milliseconds
51.71% <= 7 milliseconds
71.92% <= 8 milliseconds
89.02% <= 9 milliseconds
97.84% <= 10 milliseconds
99.83% <= 11 milliseconds
99.93% <= 12 milliseconds
99.93% <= 13 milliseconds
99.95% <= 14 milliseconds
99.98% <= 15 milliseconds
99.99% <= 16 milliseconds
99.99% <= 17 milliseconds
100.00% <= 17 milliseconds
4882.57 requests per second

1352:M 18 Jul 2020 15:59:33.191 * 10000 changes in 60 seconds. Saving...
1352:M 18 Jul 2020 15:59:33.196 * Background saving started by pid 1360
1360:C 18 Jul 2020 15:59:33.523 * DB saved on disk
1360:C 18 Jul 2020 15:59:33.525 * RDB: 0 MB of memory used by copy-on-write
1352:M 18 Jul 2020 15:59:33.606 * Background saving terminated with success
====== SET ======
  100000 requests completed in 22.06 seconds
  50 parallel clients
  3 bytes payload
  keep alive: 1
  host configuration "save": 3600 1 300 100 60 10000
  host configuration "appendonly": no
  multi-thread: no

0.00% <= 2 milliseconds
1.22% <= 3 milliseconds
5.88% <= 4 milliseconds
10.77% <= 5 milliseconds
20.88% <= 6 milliseconds
34.68% <= 7 milliseconds
45.76% <= 8 milliseconds
52.62% <= 9 milliseconds
56.74% <= 10 milliseconds
61.73% <= 11 milliseconds
70.71% <= 12 milliseconds
82.19% <= 13 milliseconds
92.16% <= 14 milliseconds
97.26% <= 15 milliseconds
98.96% <= 16 milliseconds
99.55% <= 17 milliseconds
99.82% <= 18 milliseconds
99.91% <= 19 milliseconds
99.95% <= 20 milliseconds
99.96% <= 21 milliseconds
99.96% <= 22 milliseconds
99.96% <= 23 milliseconds
99.96% <= 24 milliseconds
99.96% <= 25 milliseconds
99.96% <= 26 milliseconds
99.97% <= 27 milliseconds
99.97% <= 28 milliseconds
99.97% <= 29 milliseconds
99.97% <= 30 milliseconds
99.98% <= 31 milliseconds
99.99% <= 32 milliseconds
99.99% <= 33 milliseconds
100.00% <= 34 milliseconds
100.00% <= 34 milliseconds
4534.12 requests per second

====== GET ======
  100000 requests completed in 20.38 seconds
  50 parallel clients
  3 bytes payload
  keep alive: 1
  host configuration "save": 3600 1 300 100 60 10000
  host configuration "appendonly": no
  multi-thread: no

0.00% <= 2 milliseconds
1.36% <= 3 milliseconds
2.74% <= 4 milliseconds
4.52% <= 5 milliseconds
14.11% <= 6 milliseconds
32.84% <= 7 milliseconds
54.53% <= 8 milliseconds
74.90% <= 9 milliseconds
90.07% <= 10 milliseconds
95.39% <= 11 milliseconds
97.52% <= 12 milliseconds
98.58% <= 13 milliseconds
99.05% <= 14 milliseconds
99.27% <= 15 milliseconds
99.48% <= 16 milliseconds
99.68% <= 17 milliseconds
99.89% <= 18 milliseconds
99.99% <= 19 milliseconds
100.00% <= 19 milliseconds
4907.25 requests per second

1352:M 18 Jul 2020 16:00:34.027 * 10000 changes in 60 seconds. Saving...
1352:M 18 Jul 2020 16:00:34.028 * Background saving started by pid 1361
1361:C 18 Jul 2020 16:00:34.200 * DB saved on disk
1361:C 18 Jul 2020 16:00:34.206 * RDB: 0 MB of memory used by copy-on-write
1352:M 18 Jul 2020 16:00:34.239 * Background saving terminated with success
====== INCR ======
  100000 requests completed in 21.61 seconds
  50 parallel clients
  3 bytes payload
  keep alive: 1
  host configuration "save": 3600 1 300 100 60 10000
  host configuration "appendonly": no
  multi-thread: no

0.00% <= 1 milliseconds
0.00% <= 2 milliseconds
1.92% <= 3 milliseconds
6.34% <= 4 milliseconds
11.33% <= 5 milliseconds
21.59% <= 6 milliseconds
35.23% <= 7 milliseconds
45.45% <= 8 milliseconds
52.82% <= 9 milliseconds
59.15% <= 10 milliseconds
66.63% <= 11 milliseconds
76.87% <= 12 milliseconds
87.12% <= 13 milliseconds
94.32% <= 14 milliseconds
97.53% <= 15 milliseconds
98.84% <= 16 milliseconds
99.43% <= 17 milliseconds
99.76% <= 18 milliseconds
99.93% <= 19 milliseconds
99.96% <= 20 milliseconds
99.97% <= 21 milliseconds
99.98% <= 22 milliseconds
99.98% <= 25 milliseconds
99.99% <= 26 milliseconds
100.00% <= 26 milliseconds
4628.34 requests per second

====== LPUSH ======
  100000 requests completed in 23.44 seconds
  50 parallel clients
  3 bytes payload
  keep alive: 1
  host configuration "save": 3600 1 300 100 60 10000
  host configuration "appendonly": no
  multi-thread: no

0.00% <= 1 milliseconds
0.00% <= 2 milliseconds
0.22% <= 3 milliseconds
3.04% <= 4 milliseconds
6.81% <= 5 milliseconds
12.07% <= 6 milliseconds
21.84% <= 7 milliseconds
34.30% <= 8 milliseconds
47.40% <= 9 milliseconds
57.07% <= 10 milliseconds
61.84% <= 11 milliseconds
65.63% <= 12 milliseconds
69.21% <= 13 milliseconds
74.89% <= 14 milliseconds
84.64% <= 15 milliseconds
94.02% <= 16 milliseconds
98.48% <= 17 milliseconds
99.43% <= 18 milliseconds
99.75% <= 19 milliseconds
99.91% <= 20 milliseconds
99.97% <= 21 milliseconds
100.00% <= 22 milliseconds
4265.30 requests per second

====== RPUSH ======
  100000 requests completed in 22.84 seconds
  50 parallel clients
  3 bytes payload
  keep alive: 1
  host configuration "save": 3600 1 300 100 60 10000
  host configuration "appendonly": no
  multi-thread: no

0.00% <= 1 milliseconds
0.00% <= 2 milliseconds
0.74% <= 3 milliseconds
3.95% <= 4 milliseconds
8.01% <= 5 milliseconds
14.34% <= 6 milliseconds
26.24% <= 7 milliseconds
39.39% <= 8 milliseconds
51.51% <= 9 milliseconds
58.54% <= 10 milliseconds
62.21% <= 11 milliseconds
66.05% <= 12 milliseconds
71.74% <= 13 milliseconds
79.85% <= 14 milliseconds
89.78% <= 15 milliseconds
96.64% <= 16 milliseconds
98.86% <= 17 milliseconds
99.48% <= 18 milliseconds
99.74% <= 19 milliseconds
99.94% <= 20 milliseconds
100.00% <= 21 milliseconds
100.00% <= 21 milliseconds
4377.90 requests per second

1352:M 18 Jul 2020 16:01:35.012 * 10000 changes in 60 seconds. Saving...
1352:M 18 Jul 2020 16:01:35.017 * Background saving started by pid 1362
1362:C 18 Jul 2020 16:01:35.152 * DB saved on disk
1362:C 18 Jul 2020 16:01:35.154 * RDB: 0 MB of memory used by copy-on-write
1352:M 18 Jul 2020 16:01:35.219 * Background saving terminated with success
====== LPOP ======
  100000 requests completed in 22.89 seconds
  50 parallel clients
  3 bytes payload
  keep alive: 1
  host configuration "save": 3600 1 300 100 60 10000
  host configuration "appendonly": no
  multi-thread: no

0.00% <= 2 milliseconds
0.80% <= 3 milliseconds
4.18% <= 4 milliseconds
8.34% <= 5 milliseconds
14.75% <= 6 milliseconds
27.00% <= 7 milliseconds
40.65% <= 8 milliseconds
52.21% <= 9 milliseconds
58.58% <= 10 milliseconds
61.82% <= 11 milliseconds
65.37% <= 12 milliseconds
71.16% <= 13 milliseconds
79.71% <= 14 milliseconds
89.96% <= 15 milliseconds
96.84% <= 16 milliseconds
99.13% <= 17 milliseconds
99.53% <= 18 milliseconds
99.78% <= 19 milliseconds
99.89% <= 20 milliseconds
99.93% <= 21 milliseconds
99.95% <= 22 milliseconds
99.96% <= 23 milliseconds
99.96% <= 24 milliseconds
99.97% <= 25 milliseconds
99.97% <= 26 milliseconds
99.97% <= 27 milliseconds
99.98% <= 28 milliseconds
99.98% <= 29 milliseconds
99.99% <= 30 milliseconds
99.99% <= 31 milliseconds
100.00% <= 32 milliseconds
100.00% <= 32 milliseconds
4368.91 requests per second

====== RPOP ======
  100000 requests completed in 22.35 seconds
  50 parallel clients
  3 bytes payload
  keep alive: 1
  host configuration "save": 3600 1 300 100 60 10000
  host configuration "appendonly": no
  multi-thread: no

0.00% <= 2 milliseconds
1.08% <= 3 milliseconds
5.24% <= 4 milliseconds
9.81% <= 5 milliseconds
18.08% <= 6 milliseconds
32.15% <= 7 milliseconds
45.69% <= 8 milliseconds
54.15% <= 9 milliseconds
57.61% <= 10 milliseconds
60.29% <= 11 milliseconds
65.99% <= 12 milliseconds
75.90% <= 13 milliseconds
87.60% <= 14 milliseconds
95.93% <= 15 milliseconds
98.97% <= 16 milliseconds
99.60% <= 17 milliseconds
99.78% <= 18 milliseconds
99.94% <= 19 milliseconds
100.00% <= 20 milliseconds
100.00% <= 21 milliseconds
100.00% <= 23 milliseconds
4473.47 requests per second

====== SADD ======
  100000 requests completed in 21.07 seconds
  50 parallel clients
  3 bytes payload
  keep alive: 1
  host configuration "save": 3600 1 300 100 60 10000
  host configuration "appendonly": no
  multi-thread: no

0.00% <= 2 milliseconds
2.38% <= 3 milliseconds
6.85% <= 4 milliseconds
10.99% <= 5 milliseconds
18.79% <= 6 milliseconds
30.87% <= 7 milliseconds
43.47% <= 8 milliseconds
56.52% <= 9 milliseconds
68.98% <= 10 milliseconds
80.67% <= 11 milliseconds
90.28% <= 12 milliseconds
95.53% <= 13 milliseconds
97.74% <= 14 milliseconds
98.34% <= 15 milliseconds
98.81% <= 16 milliseconds
99.40% <= 17 milliseconds
99.85% <= 18 milliseconds
99.99% <= 19 milliseconds
100.00% <= 20 milliseconds
100.00% <= 20 milliseconds
4746.31 requests per second

1352:M 18 Jul 2020 16:02:36.082 * 10000 changes in 60 seconds. Saving...
1352:M 18 Jul 2020 16:02:36.084 * Background saving started by pid 1364
1364:C 18 Jul 2020 16:02:36.116 * DB saved on disk
1364:C 18 Jul 2020 16:02:36.118 * RDB: 0 MB of memory used by copy-on-write
1352:M 18 Jul 2020 16:02:36.186 * Background saving terminated with success
====== HSET ======
  100000 requests completed in 22.80 seconds
  50 parallel clients
  3 bytes payload
  keep alive: 1
  host configuration "save": 3600 1 300 100 60 10000
  host configuration "appendonly": no
  multi-thread: no

0.00% <= 1 milliseconds
0.00% <= 2 milliseconds
0.86% <= 3 milliseconds
4.04% <= 4 milliseconds
8.14% <= 5 milliseconds
14.51% <= 6 milliseconds
26.20% <= 7 milliseconds
39.47% <= 8 milliseconds
51.75% <= 9 milliseconds
58.42% <= 10 milliseconds
62.20% <= 11 milliseconds
65.93% <= 12 milliseconds
71.68% <= 13 milliseconds
80.16% <= 14 milliseconds
90.26% <= 15 milliseconds
97.08% <= 16 milliseconds
99.05% <= 17 milliseconds
99.45% <= 18 milliseconds
99.70% <= 19 milliseconds
99.87% <= 20 milliseconds
99.93% <= 21 milliseconds
99.97% <= 22 milliseconds
99.98% <= 23 milliseconds
99.99% <= 25 milliseconds
99.99% <= 26 milliseconds
100.00% <= 27 milliseconds
100.00% <= 28 milliseconds
4385.20 requests per second

====== SPOP ======
  100000 requests completed in 19.81 seconds
  50 parallel clients
  3 bytes payload
  keep alive: 1
  host configuration "save": 3600 1 300 100 60 10000
  host configuration "appendonly": no
  multi-thread: no

0.00% <= 1 milliseconds
0.00% <= 2 milliseconds
0.68% <= 3 milliseconds
2.12% <= 4 milliseconds
5.84% <= 5 milliseconds
22.26% <= 6 milliseconds
43.32% <= 7 milliseconds
63.44% <= 8 milliseconds
81.97% <= 9 milliseconds
93.08% <= 10 milliseconds
96.03% <= 11 milliseconds
97.29% <= 12 milliseconds
98.21% <= 13 milliseconds
98.98% <= 14 milliseconds
99.50% <= 15 milliseconds
99.78% <= 16 milliseconds
99.93% <= 17 milliseconds
99.99% <= 18 milliseconds
100.00% <= 18 milliseconds
5047.19 requests per second

====== LPUSH (needed to benchmark LRANGE) ======
  100000 requests completed in 23.40 seconds
  50 parallel clients
  3 bytes payload
  keep alive: 1
  host configuration "save": 3600 1 300 100 60 10000
  host configuration "appendonly": no
  multi-thread: no

0.00% <= 1 milliseconds
0.00% <= 2 milliseconds
0.26% <= 3 milliseconds
3.08% <= 4 milliseconds
6.89% <= 5 milliseconds
12.23% <= 6 milliseconds
22.12% <= 7 milliseconds
34.57% <= 8 milliseconds
47.36% <= 9 milliseconds
57.03% <= 10 milliseconds
61.68% <= 11 milliseconds
65.67% <= 12 milliseconds
69.06% <= 13 milliseconds
74.78% <= 14 milliseconds
84.57% <= 15 milliseconds
94.03% <= 16 milliseconds
98.46% <= 17 milliseconds
99.40% <= 18 milliseconds
99.68% <= 19 milliseconds
99.89% <= 20 milliseconds
99.98% <= 21 milliseconds
100.00% <= 22 milliseconds
100.00% <= 22 milliseconds
4273.14 requests per second

1352:M 18 Jul 2020 16:03:37.060 * 10000 changes in 60 seconds. Saving...
1352:M 18 Jul 2020 16:03:37.061 * Background saving started by pid 1365
1365:C 18 Jul 2020 16:03:37.113 * DB saved on disk
1365:C 18 Jul 2020 16:03:37.115 * RDB: 0 MB of memory used by copy-on-write
1352:M 18 Jul 2020 16:03:37.162 * Background saving terminated with success
====== LRANGE_100 (first 100 elements) ======
  100000 requests completed in 51.49 seconds
  50 parallel clients
  3 bytes payload
  keep alive: 1
  host configuration "save": 3600 1 300 100 60 10000
  host configuration "appendonly": no
  multi-thread: no

0.00% <= 4 milliseconds
0.04% <= 5 milliseconds
2.28% <= 6 milliseconds
6.40% <= 7 milliseconds
10.03% <= 8 milliseconds
12.82% <= 9 milliseconds
16.12% <= 10 milliseconds
====== LRANGE_300 (first 300 elements) ======
  100000 requests completed in 117.81 seconds
  50 parallel clients
  3 bytes payload
  keep alive: 1
  host configuration "save": 3600 1 300 100 60 10000
  host configuration "appendonly": no
  multi-thread: no

0.00% <= 6 milliseconds
0.01% <= 7 milliseconds
0.03% <= 8 milliseconds
0.04% <= 9 milliseconds
0.04% <= 10 milliseconds
0.08% <= 11 milliseconds
0.10% <= 12 milliseconds
0.18% <= 13 milliseconds
0.27% <= 14 milliseconds
0.32% <= 15 milliseconds
0.35% <= 16 milliseconds
0.47% <= 17 milliseconds
0.69% <= 18 milliseconds
1.06% <= 19 milliseconds
1.71% <= 20 milliseconds
2.64% <= 21 milliseconds
3.69% <= 22 milliseconds
4.82% <= 23 milliseconds
6.18% <= 24 milliseconds
8.31% <= 25 milliseconds
10.71% <= 26 milliseconds
13.85% <= 27 milliseconds
18.45% <= 28 milliseconds
25.97% <= 29 milliseconds
42.75% <= 30 milliseconds
75.47% <= 31 milliseconds
82.77% <= 32 milliseconds
85.01% <= 33 milliseconds
86.93% <= 34 milliseconds
88.95% <= 35 milliseconds
90.76% <= 36 milliseconds
92.21% <= 37 milliseconds
93.45% <= 38 milliseconds
94.54% <= 39 milliseconds
95.45% <= 40 milliseconds
96.22% <= 41 milliseconds
96.81% <= 42 milliseconds
97.36% <= 43 milliseconds
97.89% <= 44 milliseconds
98.38% <= 45 milliseconds
98.77% <= 46 milliseconds
99.08% <= 47 milliseconds
99.34% <= 48 milliseconds
99.53% <= 49 milliseconds
99.70% <= 50 milliseconds
99.84% <= 51 milliseconds
99.88% <= 52 milliseconds
99.91% <= 53 milliseconds
99.92% <= 54 milliseconds
99.94% <= 55 milliseconds
99.96% <= 56 milliseconds
99.97% <= 57 milliseconds
99.98% <= 58 milliseconds
99.99% <= 59 milliseconds
99.99% <= 61 milliseconds
99.99% <= 62 milliseconds
100.00% <= 63 milliseconds
100.00% <= 64 milliseconds
100.00% <= 65 milliseconds
100.00% <= 66 milliseconds
848.82 requests per second

====== LRANGE_500 (first 450 elements) ======
  100000 requests completed in 165.04 seconds
  50 parallel clients
  3 bytes payload
  keep alive: 1
  host configuration "save": 3600 1 300 100 60 10000
  host configuration "appendonly": no
  multi-thread: no

0.00% <= 8 milliseconds
0.00% <= 9 milliseconds
0.01% <= 11 milliseconds
0.01% <= 12 milliseconds
0.02% <= 13 milliseconds
0.02% <= 14 milliseconds
0.02% <= 15 milliseconds
0.03% <= 16 milliseconds
0.03% <= 17 milliseconds
0.03% <= 18 milliseconds
0.04% <= 19 milliseconds
0.05% <= 20 milliseconds
0.07% <= 21 milliseconds
0.09% <= 22 milliseconds
0.15% <= 23 milliseconds
0.22% <= 24 milliseconds
0.28% <= 25 milliseconds
0.35% <= 26 milliseconds
0.46% <= 27 milliseconds
0.58% <= 28 milliseconds
0.75% <= 29 milliseconds
0.96% <= 30 milliseconds
1.25% <= 31 milliseconds
1.56% <= 32 milliseconds
1.98% <= 33 milliseconds
2.52% <= 34 milliseconds
3.23% <= 35 milliseconds
4.12% <= 36 milliseconds
5.24% <= 37 milliseconds
6.63% <= 38 milliseconds
8.53% <= 39 milliseconds
12.55% <= 40 milliseconds
31.95% <= 41 milliseconds
69.63% <= 42 milliseconds
88.27% <= 43 milliseconds
91.89% <= 44 milliseconds
93.08% <= 45 milliseconds
94.01% <= 46 milliseconds
94.84% <= 47 milliseconds
95.57% <= 48 milliseconds
96.23% <= 49 milliseconds
96.80% <= 50 milliseconds
97.31% <= 51 milliseconds
97.73% <= 52 milliseconds
98.11% <= 53 milliseconds
98.42% <= 54 milliseconds
98.68% <= 55 milliseconds
98.91% <= 56 milliseconds
99.11% <= 57 milliseconds
99.27% <= 58 milliseconds
99.41% <= 59 milliseconds
99.51% <= 60 milliseconds
99.59% <= 61 milliseconds
99.66% <= 62 milliseconds
99.72% <= 63 milliseconds
99.78% <= 64 milliseconds
99.83% <= 65 milliseconds
99.86% <= 66 milliseconds
99.89% <= 67 milliseconds
99.92% <= 68 milliseconds
99.94% <= 69 milliseconds
99.96% <= 70 milliseconds
99.97% <= 71 milliseconds
99.98% <= 72 milliseconds
99.99% <= 73 milliseconds
99.99% <= 74 milliseconds
99.99% <= 75 milliseconds
99.99% <= 76 milliseconds
99.99% <= 79 milliseconds
99.99% <= 80 milliseconds
99.99% <= 81 milliseconds
100.00% <= 82 milliseconds
100.00% <= 83 milliseconds
100.00% <= 84 milliseconds
100.00% <= 85 milliseconds
100.00% <= 86 milliseconds
100.00% <= 87 milliseconds
605.92 requests per second

====== LRANGE_600 (first 600 elements) ======
  100000 requests completed in 215.32 seconds
  50 parallel clients
  3 bytes payload
  keep alive: 1
  host configuration "save": 3600 1 300 100 60 10000
  host configuration "appendonly": no
  multi-thread: no

0.00% <= 13 milliseconds
0.00% <= 15 milliseconds
0.00% <= 17 milliseconds
0.00% <= 19 milliseconds
0.00% <= 20 milliseconds
0.01% <= 23 milliseconds
0.01% <= 25 milliseconds
0.01% <= 26 milliseconds
0.02% <= 27 milliseconds
0.03% <= 29 milliseconds
0.03% <= 30 milliseconds
0.05% <= 31 milliseconds
0.06% <= 32 milliseconds
0.08% <= 33 milliseconds
0.09% <= 34 milliseconds
0.11% <= 35 milliseconds
0.14% <= 36 milliseconds
0.17% <= 37 milliseconds
0.21% <= 38 milliseconds
0.28% <= 39 milliseconds
0.39% <= 40 milliseconds
0.56% <= 41 milliseconds
0.78% <= 42 milliseconds
1.09% <= 43 milliseconds
1.56% <= 44 milliseconds
2.33% <= 45 milliseconds
3.25% <= 46 milliseconds
4.51% <= 47 milliseconds
6.05% <= 48 milliseconds
8.15% <= 49 milliseconds
11.54% <= 50 milliseconds
16.67% <= -4294916 milliseconds
16.67% <= 50 milliseconds
17.23% <= 51 milliseconds
25.47% <= 52 milliseconds
31.92% <= -4294914 milliseconds
31.92% <= 52 milliseconds
36.03% <= 53 milliseconds
40.31% <= -4294913 milliseconds
40.31% <= 53 milliseconds
43.86% <= -4294913 milliseconds
43.86% <= 53 milliseconds
46.61% <= -4294913 milliseconds
46.61% <= 53 milliseconds
49.67% <= 54 milliseconds
49.75% <= -4294913 milliseconds
49.75% <= 54 milliseconds
53.10% <= -4294913 milliseconds
53.10% <= 54 milliseconds
53.23% <= -4294913 milliseconds
53.23% <= 54 milliseconds
54.96% <= -4294912 milliseconds
54.97% <= 54 milliseconds
55.99% <= -4294912 milliseconds
55.99% <= 54 milliseconds
59.00% <= -4294912 milliseconds
59.00% <= 54 milliseconds
60.09% <= -4294912 milliseconds
60.09% <= 54 milliseconds
62.40% <= -4294912 milliseconds
62.40% <= 54 milliseconds
63.43% <= -4294912 milliseconds
63.43% <= 54 milliseconds
64.61% <= -4294912 milliseconds
64.61% <= 54 milliseconds
65.16% <= -4294912 milliseconds
65.16% <= 54 milliseconds
65.55% <= 55 milliseconds
65.95% <= -4294912 milliseconds
65.96% <= 55 milliseconds
70.94% <= -4294911 milliseconds
70.94% <= 55 milliseconds
71.86% <= -4294911 milliseconds
71.86% <= 55 milliseconds
71.90% <= -4294911 milliseconds
71.90% <= 55 milliseconds
72.12% <= -4294911 milliseconds
72.12% <= 55 milliseconds
75.95% <= -4294911 milliseconds
75.95% <= 55 milliseconds
76.47% <= -4294911 milliseconds
76.47% <= 55 milliseconds
77.00% <= -4294911 milliseconds
77.00% <= 55 milliseconds
77.19% <= -4294911 milliseconds
77.19% <= 55 milliseconds
78.36% <= 56 milliseconds
85.10% <= 57 milliseconds
85.35% <= -4294910 milliseconds
85.35% <= 57 milliseconds
87.84% <= 58 milliseconds
89.51% <= 59 milliseconds
91.02% <= 60 milliseconds
92.35% <= 61 milliseconds
93.55% <= 62 milliseconds
94.54% <= 63 milliseconds
95.38% <= 64 milliseconds
96.10% <= 65 milliseconds
96.76% <= 66 milliseconds
97.38% <= 67 milliseconds
97.95% <= 68 milliseconds
98.40% <= 69 milliseconds
98.79% <= 70 milliseconds
99.13% <= 71 milliseconds
99.36% <= 72 milliseconds
99.53% <= 73 milliseconds
99.66% <= 74 milliseconds
99.75% <= 75 milliseconds
99.82% <= 76 milliseconds
99.86% <= 77 milliseconds
99.88% <= 78 milliseconds
99.90% <= 79 milliseconds
99.92% <= 80 milliseconds
99.93% <= 81 milliseconds
99.94% <= 82 milliseconds
99.95% <= 83 milliseconds
99.95% <= 84 milliseconds
99.96% <= 85 milliseconds
99.97% <= 86 milliseconds
99.97% <= 87 milliseconds
99.98% <= 88 milliseconds
99.98% <= 89 milliseconds
99.98% <= 90 milliseconds
99.99% <= 91 milliseconds
99.99% <= 92 milliseconds
99.99% <= 94 milliseconds
99.99% <= 95 milliseconds
99.99% <= 97 milliseconds
99.99% <= 99 milliseconds
99.99% <= 101 milliseconds
99.99% <= 102 milliseconds
99.99% <= 104 milliseconds
99.99% <= 105 milliseconds
100.00% <= 107 milliseconds
100.00% <= 108 milliseconds
100.00% <= 110 milliseconds
100.00% <= 111 milliseconds
100.00% <= 112 milliseconds
100.00% <= 114 milliseconds
464.41 requests per second

1352:M 18 Jul 2020 16:12:45.367 * 100 changes in 300 seconds. Saving...
1352:M 18 Jul 2020 16:12:45.368 * Background saving started by pid 1368
1368:C 18 Jul 2020 16:12:45.418 * DB saved on disk
1368:C 18 Jul 2020 16:12:45.420 * RDB: 0 MB of memory used by copy-on-write
1352:M 18 Jul 2020 16:12:45.470 * Background saving terminated with success
====== MSET (10 keys) ======
  100000 requests completed in 29.03 seconds
  50 parallel clients
  3 bytes payload
  keep alive: 1
  host configuration "save": 3600 1 300 100 60 10000
  host configuration "appendonly": no
  multi-thread: no

0.00% <= 4 milliseconds
0.00% <= 5 milliseconds
1.72% <= 6 milliseconds
6.03% <= 7 milliseconds
13.83% <= 8 milliseconds
22.59% <= 9 milliseconds
32.47% <= 10 milliseconds
42.06% <= 11 milliseconds
50.33% <= 12 milliseconds
56.56% <= 13 milliseconds
59.33% <= 14 milliseconds
62.83% <= 15 milliseconds
66.32% <= 16 milliseconds
70.81% <= 17 milliseconds
77.58% <= 18 milliseconds
87.75% <= 19 milliseconds
96.33% <= 20 milliseconds
99.09% <= 21 milliseconds
99.64% <= 22 milliseconds
99.79% <= 23 milliseconds
99.90% <= 24 milliseconds
99.94% <= 25 milliseconds
99.95% <= 26 milliseconds
99.96% <= 27 milliseconds
99.97% <= 29 milliseconds
99.97% <= 30 milliseconds
99.97% <= 31 milliseconds
99.98% <= 33 milliseconds
99.98% <= 34 milliseconds
99.99% <= 35 milliseconds
99.99% <= 36 milliseconds
100.00% <= 38 milliseconds
100.00% <= 39 milliseconds
100.00% <= 39 milliseconds
3444.95 requests per second


[root@tcu /mnt/usb/redis]# 1352:M 18 Jul 2020 16:13:46.003 * 10000 changes in 60 seconds. Saving...
1352:M 18 Jul 2020 16:13:46.004 * Background saving started by pid 1369
1369:C 18 Jul 2020 16:13:46.031 * DB saved on disk
1369:C 18 Jul 2020 16:13:46.033 * RDB: 0 MB of memory used by copy-on-write
1352:M 18 Jul 2020 16:13:46.105 * Background saving terminated with success

以上是关于armhf 移植 Redis的主要内容,如果未能解决你的问题,请参考以下文章

i.MX6ULL系统移植 | 移植 ubuntu core 16.04(ubuntu-base)

如何安装 OpenCV 'samples' 库并让它在 armhf 上工作?

Ubuntu armhf 版本国内源

在 armhf 中没有实现 __fpclassify

SylixOS移植Redis库总结

在 Yocto 中使用 armhf 作为辅助工具链