[#5816] PREEMPT_RT: cyclic test stalls in some test mode

Document created by Aaronwu Employee on Sep 5, 2013
Version 1Show Document
  • View in full screen mode

[#5816] PREEMPT_RT: cyclic test stalls in some test mode

Submitted By: Yi Li

Open Date

2010-01-05 22:04:07    

Priority:

Medium     Assignee:

Nobody

Status:

Open     Fixed In Release:

N/A

Found In Release:

snaps     Release:

Category:

N/A     Board:

N/A

Processor:

BF537     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

N/A

Uboot version or rev.:

    Toolchain version or rev.:

2009R1

App binary format:

N/A     

Summary: PREEMPT_RT: cyclic test stalls in some test mode

Details:

 

Running cyclic test with 100% workload with preempt_rt kernel, if set cyclic test to use timer_settime() or setitimer(), cyclic test cannot complete sometimes.

 

1. Use timer_settime():

 

root:/> ./cyclictest -p 80 -t1 -i 20000 -l 10000

timer mode: 0

policy: fifo: loadavg: 5.20 5.23 5.10 6/47 1680          

policy: fifo: loadavg: 5.20 5.23 5.10 7/47 1680         

policy: fifo: loadavg: 5.15 5.22 5.10 5/47 1687           Avg:  209 Max:    6485

T: 0 (  204) P:80 I:20000 C:   2670 Min:    141 Act:  262 Avg:  209 Max:    6485

T: 0 (  204) P:80 I:20000 C:   2670 Min:    141 Act:  262 Avg:  209 Max:    6485

 

 

2. Use setitimer():

 

root:/> ./cyclictest -p 80 -t1 -s -i 10000 -l 10000

timer mode: 2

policy: fifo: loadavg: 4.77 1.84 0.67 7/47 244         

 

T: 0 (  206) P:80 I:10000 C:   9886 Min:    138 Act:  189 Avg:  204 Max:    5680

 

Sometimes test stalls:

root:/> ./cyclictest -p 80 -t1 -s -i 10000 -l 10000

timer mode: 2

policy: fifo: loadavg: 5.32 3.95 1.90 5/47 379         

policy: fifo: loadavg: 5.32 3.95 1.90 4/47 379         

policy: fifo: loadavg: 5.25 4.14 2.07 6/47 399          5 Avg:  202 Max:    6528

T: 0 (  340) P:80 I:10000 C:   1625 Min:    142 Act:  185 Avg:  202 Max:    6528

T: 0 (  340) P:80 I:10000 C:   1625 Min:    142 Act:  185 Avg:  202 Max:    6528

 

 

 

 

Follow-ups

No Messages Were Found

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes