[LTP] <Failling_on_memcg_usage_in_bytes_test.sh>
Na Nha
minhnhan0801@gmail.com
Wed Dec 13 17:19:53 CET 2017
Hello LTP team,
There is an issue as below when I ran "./memcg_usage_in_bytes_test.sh”
on my ARM board
root@mx6q:/opt/ltp/testcases/bin# cat /sys/fs/cgroup/memory/memory.use_hierarchy
0
root@mx6q:/opt/ltp/testcases/bin# ./memcg_max_usage_in_bytes_test.sh
memcg_max_usage_in_bytes_test 1 TINFO: Starting test 1
memcg_max_usage_in_bytes_test 1 TINFO: Running memcg_process
--mmap-anon -s 4194304
memcg_max_usage_in_bytes_test 1 TINFO: Warming up pid: 708
memcg_max_usage_in_bytes_test 1 TINFO: Process is still here after warm up: 708
memcg_max_usage_in_bytes_test 1 TPASS: memory.max_usage_in_bytes is
4194304 as expected
memcg_max_usage_in_bytes_test 2 TINFO: Starting test 2
memcg_max_usage_in_bytes_test 2 TINFO: Running memcg_process
--mmap-anon -s 4194304
memcg_max_usage_in_bytes_test 2 TINFO: Warming up pid: 728
memcg_max_usage_in_bytes_test 2 TINFO: Process is still here after warm up: 728
memcg_max_usage_in_bytes_test 2 TPASS: memory.memsw.max_usage_in_bytes
is 4194304 as expected
memcg_max_usage_in_bytes_test 3 TINFO: Starting test 3
memcg_max_usage_in_bytes_test 3 TINFO: Running memcg_process
--mmap-anon -s 4194304
memcg_max_usage_in_bytes_test 3 TINFO: Warming up pid: 748
memcg_max_usage_in_bytes_test 3 TINFO: Process is still here after warm up: 748
memcg_max_usage_in_bytes_test 3 TFAIL: memory.max_usage_in_bytes is
4325376, 4194304 expected
memcg_max_usage_in_bytes_test 4 TFAIL: memory.max_usage_in_bytes is
131072, 0 expected
memcg_max_usage_in_bytes_test 5 TINFO: Starting test 4
memcg_max_usage_in_bytes_test 5 TINFO: Running memcg_process
--mmap-anon -s 4194304
memcg_max_usage_in_bytes_test 5 TINFO: Warming up pid: 767
memcg_max_usage_in_bytes_test 5 TINFO: Process is still here after warm up: 767
memcg_max_usage_in_bytes_test 5 TPASS: memory.memsw.max_usage_in_bytes
is 4194304 as expected
memcg_max_usage_in_bytes_test 6 TPASS: memory.memsw.max_usage_in_bytes
is 0 as expected
My kernel is:
root@mx6q:/dev/shm# uname -a
Linux mx6q 3.14.79-01214-g76b5fd377784 #1 SMP PREEMPT Wed Nov 15
17:06:37 CET 2017 armv7l GNU/Linux
Could you please help me to resolve the problem?
I look forward any reply.
Thanks / Best regards,
Nhan Le Minh
More information about the ltp
mailing list