LTP test case sched_latency fails on OVP guest root@wrs-guest:/opt/ltp/testcases/realtime/func/sched_latency# ./sched_latency ------------------------------- Scheduling Latency ------------------------------- Running 10000 iterations with a period of 5 ms Periodic load duration: 1 ms Expected running time: 50 s Start: 142 us: FAIL Min: 28 us: PASS Max: 534 us: FAIL Avg: 338 us: FAIL StdDev: 69.7272 us Quantiles: 99.0% < 471 99.9% < 486 99.99% < 534 Failed Iterations: 9998 Criteria: latencies < 100 us Result: FAIL
1. configure and build ovp host project <path to wrlinux DVD>/wrlinux-5/wrlinux/configure --enable-jobs=8 --enable-parallel-pkgbuilds=8 --enable-board=intel-xeon-core --enable-kernel=preempt-rt --enable-rootfs=ovp-kvm --enable-addons=wr-ovp --with-layer=wr-intel-support --with-template=feature/lttng2,feature/intel-dpdk --enable-test 2. configure and build ovp guest project <path to wrlinux DVD>/wrlinux-5/wrlinux/configure --enable-jobs=8 --enable-parallel-pkgbuilds=8 --enable-board=x86-64-kvm-guest --enable-kernel=preempt-rt --enable-rootfs=ovp-guest --enable-addons=wr-ovp --enable-test 3. boot ovp host 4. boot ovp guest and execute LTP test case /usr/bin/qemu-system-x86_64 -enable-kvm -smp 8 -m 1024 -net nic,macaddr=de:ef:be:ad:ac:65,model=virtio -net tap,script=/etc/qemu-ifup.tap -drive file=/boot/guest_raw.test,if=virtio -kernel /boot/guest.kernel -append "root=/dev/vda rw console=ttyS0,115200" -nographic root@wrs-guest:/opt/ltp/testcases/realtime/func/sched_latency# ./sched_latency