Wind River Support Network

HomeDefectsLIN5-5704
Fixed

LIN5-5704 : The testcase of no_hz failed in fsl-imx28 board

Created: Feb 28, 2013    Updated: Dec 19, 2017
Resolved Date: Apr 1, 2013
Found In Version: 5.0.1
Fix Version: 5.0.1.2
Severity: Severe
Applicable for: Wind River Linux 5
Component/s: BSP - Async

Description

The following are the test log of no_hz which is caused by not enable NO_HZ kernel option.

######  Start to test dynamic ticks  ######
########  Sub test config: Start to config  ######
########  Sub test config: PASS  ######
########  Sub test system_tick_timer_list: Start to test jiffies via proc/  ######
HZ : 100
Dynamic Ticks :  100   100   100   100   100   100 
########  Sub test 3: PASS  ######
########  Sub test system_tick_interrupts_timer: Start to test jiffies via proc/  ######
1: 1698564 ~ 1699663
  Frequence of ticks is 109 Hz
2: 1700767 ~ 1701865
  Frequence of ticks is 109 Hz
3: 1702966 ~ 1704063
  Frequence of ticks is 109 Hz
4: 1705159 ~ 1706251
  Frequence of ticks is 109 Hz
5: 1707347 ~ 1708444
  Frequence of ticks is 109 Hz
6: 1709531 ~ 1710623
  Frequence of ticks is 109 Hz
7: 1711722 ~ 1712819
  Frequence of ticks is 109 Hz
8: 1713910 ~ 1715012
  Frequence of ticks is 110 Hz
9: 1716106 ~ 1717201
  Frequence of ticks is 109 Hz
10: 1718296 ~ 1719390
  Frequence of ticks is 109 Hz

FAIL: average ticks 109Hz over threshold 100Hz
 - Please check the tickless (NO_HZ config) feature
FAILED on test_proc_interrupt
########  Sub test 11: FAIL  ######
########  Sub test dynamic_tick_timing_function: Start to test jiffies via proc/  ######
Running timing tests ...
Testing sub-second select and usleep
  Test: select    0ms time:  0.000125s latency:  0.000125s status: OK
  Test: usleep    0ms time:  0.021031s latency:  0.021031s status: OK
  Test: select  100ms time:  0.100282s latency:  0.000282s status: OK
  Test: usleep  100ms time:  0.100219s latency:  0.000219s status: OK
  Test: select  200ms time:  0.200375s latency:  0.000375s status: OK
  Test: usleep  200ms time:  0.208500s latency:  0.008500s status: OK
  Test: select  300ms time:  0.300500s latency:  0.000500s status: OK
  Test: usleep  300ms time:  0.300219s latency:  0.000219s status: OK
  Test: select  400ms time:  0.400593s latency:  0.000593s status: OK
  Test: usleep  400ms time:  0.400219s latency:  0.000219s status: OK
  Test: select  500ms time:  0.500657s latency:  0.000657s status: OK
  Test: usleep  500ms time:  0.500219s latency:  0.000219s status: OK
  Test: select  600ms time:  0.600781s latency:  0.000781s status: OK
  Test: usleep  600ms time:  0.600282s latency:  0.000282s status: OK
  Test: select  700ms time:  0.700906s latency:  0.000906s status: OK
  Test: usleep  700ms time:  0.700219s latency:  0.000219s status: OK
  Test: select  800ms time:  0.800969s latency:  0.000969s status: OK
  Test: usleep  800ms time:  0.800187s latency:  0.000187s status: OK
  Test: select  900ms time:  0.901031s latency:  0.001031s status: OK
  Test: usleep  900ms time:  0.900219s latency:  0.000219s status: OK
Testing multi-second select and sleep
  Test: select    0ms time:  0.000031s latency:  0.000031s status: OK
  Test:  sleep    0ms time:  0.000063s latency:  0.000063s status: OK
  Test: select 1000ms time:  1.001219s latency:  0.001219s status: OK
  Test:  sleep 1000ms time:  1.000406s latency:  0.000406s status: OK
  Test: select 2000ms time:  2.002156s latency:  0.002156s status: OK
  Test:  sleep 2000ms time:  2.000312s latency:  0.000312s status: OK
  Test: select 3000ms time:  3.003219s latency:  0.003219s status: OK
  Test:  sleep 3000ms time:  3.000250s latency:  0.000250s status: OK
  Test: select 4000ms time:  4.003313s latency:  0.003313s status: OK
  Test:  sleep 4000ms time:  4.000250s latency:  0.000250s status: OK
  Test: select 5000ms time:  5.005219s latency:  0.005219s status: OK
  Test:  sleep 5000ms time:  5.000250s latency:  0.000250s status: OK
  Test: select 6000ms time:  6.004032s latency:  0.004032s status: OK
  Test:  sleep 6000ms time:  6.000281s latency:  0.000281s status: OK
  Test: select 7000ms time:  7.007156s latency:  0.007156s status: OK
  Test:  sleep 7000ms time:  7.000312s latency:  0.000312s status: OK
  Test: select 8000ms time:  8.001750s latency:  0.001750s status: OK
  Test:  sleep 8000ms time:  8.000407s latency:  0.000407s status: OK
  Test: select 9000ms time:  9.009125s latency:  0.009125s status: OK
  Test:  sleep 9000ms time:  9.000656s latency:  0.000656s status: OK
########  Sub test dynamic_tick_timing_function: PASS  ######

Steps to Reproduce

1. build project
/lpg-build/cdc/fast_prod/wrlinux501/dvd_install/lx29_12sp-async/wrlinux-5/wrlinux/configure --enable-jobs=8 --enable-parallel-pkgbuilds=4 --enable-kernel=standard --with-layer=/wr-testing/kts,/folk/gjiang/wr-testing/bts, --enable-test=yes --enable-rootfs=glibc-std --enable-board=fsl_imx28
2. run no_hz case

Other Downloads


Live chat
Online