Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Pselect failed on slow machines and slow cpu freq governors.
- root@hikey:/home/linaro# ./pselect01_64
- tst_test.c:898: INFO: Timeout per run is 0h 05m 00s
- tst_timer_test.c:344: INFO: CLOCK_MONOTONIC resolution 1ns
- tst_timer_test.c:356: INFO: prctl(PR_GET_TIMERSLACK) = 50us
- tst_timer_test.c:274: INFO: pselect() sleeping for 1000us 500 iterations, threshold 450.01us
- tst_timer_test.c:317: INFO: min 1082us, max 1171us, median 1089us, trunc mean 1089.79us (discarded 25)
- tst_timer_test.c:332: PASS: Measured times are within thresholds
- tst_timer_test.c:274: INFO: pselect() sleeping for 2000us 500 iterations, threshold 450.01us
- tst_timer_test.c:317: INFO: min 2083us, max 2154us, median 2092us, trunc mean 2094.12us (discarded 25)
- tst_timer_test.c:332: PASS: Measured times are within thresholds
- tst_timer_test.c:274: INFO: pselect() sleeping for 5000us 300 iterations, threshold 450.04us
- tst_timer_test.c:317: INFO: min 5091us, max 5211us, median 5106us, trunc mean 5105.92us (discarded 15)
- tst_timer_test.c:332: PASS: Measured times are within thresholds
- tst_timer_test.c:274: INFO: pselect() sleeping for 10000us 100 iterations, threshold 450.33us
- tst_timer_test.c:317: INFO: min 10092us, max 10509us, median 10108us, trunc mean 10135.28us (discarded 5)
- tst_timer_test.c:332: PASS: Measured times are within thresholds
- tst_timer_test.c:274: INFO: pselect() sleeping for 25000us 50 iterations, threshold 451.29us
- tst_timer_test.c:317: INFO: min 25104us, max 25397us, median 25252us, trunc mean 25254.94us (discarded 2)
- tst_timer_test.c:332: PASS: Measured times are within thresholds
- tst_timer_test.c:274: INFO: pselect() sleeping for 100000us 10 iterations, threshold 537.00us
- tst_timer_test.c:317: INFO: min 100326us, max 100375us, median 100346us, trunc mean 100344.00us (discarded 1)
- tst_timer_test.c:332: PASS: Measured times are within thresholds
- tst_timer_test.c:274: INFO: pselect() sleeping for 1000000us 2 iterations, threshold 4400.00us
- tst_timer_test.c:317: INFO: min 1001252us, max 1001283us, median 1001252us, trunc mean 1001252.00us (discarded 1)
- tst_timer_test.c:332: PASS: Measured times are within thresholds
- Summary:
- passed 7
- failed 0
- skipped 0
- root@hikey:/home/linaro# cat /sys/devices/system/cpu/cpufreq/policy0/scaling_available_governors
- conservative ondemand userspace powersave performance schedutil
- root@hikey:/home/linaro# echo powersave > /sys/devices/system/cpu/cpufreq/policy0/scaling_governor
- root@hikey:/home/linaro# ./pselect01_64
- tst_test.c:898: INFO: Timeout per run is 0h 05m 00s
- tst_timer_test.c:344: INFO: CLOCK_MONOTONIC resolution 1ns
- tst_timer_test.c:356: INFO: prctl(PR_GET_TIMERSLACK) = 50us
- tst_timer_test.c:274: INFO: pselect() sleeping for 1000us 500 iterations, threshold 450.01us
- tst_timer_test.c:317: INFO: min 1260us, max 1540us, median 1265us, trunc mean 1296.58us (discarded 25)
- tst_timer_test.c:332: PASS: Measured times are within thresholds
- tst_timer_test.c:274: INFO: pselect() sleeping for 2000us 500 iterations, threshold 450.01us
- tst_timer_test.c:317: INFO: min 2269us, max 3003us, median 2593us, trunc mean 2620.10us (discarded 25)
- tst_timer_test.c:320: FAIL: pselect() slept for too long
- Time: us | Frequency
- --------------------------------------------------------------------------------
- 2269 | +
- 2308 |
- 2347 |
- 2386 |
- 2425 |
- 2464 |
- 2503 |
- 2542 | ********************************
- 2581 | ********************************************************************
- 2620 | **+
- 2659 |
- 2698 |
- 2737 | *********************-
- 2776 | *******
- 2815 | +
- 2854 | -
- 2893 |
- 2932 |
- 2971 | -
- --------------------------------------------------------------------------------
- 39us | 1 sample = 0.26667 '*', 0.53333 '+', 1.06667 '-', non-zero '.'
- tst_timer_test.c:274: INFO: pselect() sleeping for 5000us 300 iterations, threshold 450.04us
- tst_timer_test.c:317: INFO: min 5583us, max 5844us, median 5606us, trunc mean 5615.83us (discarded 15)
- tst_timer_test.c:320: FAIL: pselect() slept for too long
- Time: us | Frequency
- --------------------------------------------------------------------------------
- 5583 | *+
- 5597 | ********************************************************************
- 5611 | ****+
- 5625 | *******************+
- 5639 | ***********+
- 5653 | -
- 5667 |
- 5681 |
- 5695 |
- 5709 |
- 5723 | -
- 5737 |
- 5751 |
- 5765 |
- 5779 | +
- 5793 | **+
- 5807 | *
- 5821 | -
- 5835 | *+
- --------------------------------------------------------------------------------
- 14us | 1 sample = 0.37569 '*', 0.75138 '+', 1.50276 '-', non-zero '.'
- tst_timer_test.c:274: INFO: pselect() sleeping for 10000us 100 iterations, threshold 450.33us
- tst_timer_test.c:317: INFO: min 10599us, max 11180us, median 10608us, trunc mean 10633.73us (discarded 5)
- tst_timer_test.c:320: FAIL: pselect() slept for too long
- Time: us | Frequency
- --------------------------------------------------------------------------------
- 10599 | ********************************************************************
- 10630 | **********-
- 10661 |
- 10692 | **+
- 10723 |
- 10754 |
- 10785 | *****+
- 10816 | *****+
- 10847 | +
- 10878 |
- 10909 |
- 10940 |
- 10971 |
- 11002 |
- 11033 |
- 11064 |
- 11095 |
- 11126 |
- 11157 | +
- --------------------------------------------------------------------------------
- 31us | 1 sample = 0.94444 '*', 1.88889 '+', 3.77778 '-', non-zero '.'
- tst_timer_test.c:274: INFO: pselect() sleeping for 25000us 50 iterations, threshold 451.29us
- tst_timer_test.c:317: INFO: min 25603us, max 25848us, median 25618us, trunc mean 25623.69us (discarded 2)
- tst_timer_test.c:320: FAIL: pselect() slept for too long
- Time: us | Frequency
- --------------------------------------------------------------------------------
- 25603 | ********************************************************************
- 25616 | *******************************
- 25629 | *******************************
- 25642 |
- 25655 |
- 25668 |
- 25681 |
- 25694 |
- 25707 | **+
- 25720 |
- 25733 |
- 25746 |
- 25759 |
- 25772 |
- 25785 |
- 25798 |
- 25811 | **+
- 25824 | **+
- 25837 | **+
- --------------------------------------------------------------------------------
- 13us | 1 sample = 2.83333 '*', 5.66667 '+', 11.33333 '-', non-zero '.'
- tst_timer_test.c:274: INFO: pselect() sleeping for 100000us 10 iterations, threshold 537.00us
- tst_timer_test.c:317: INFO: min 100658us, max 100717us, median 100666us, trunc mean 100671.22us (discarded 1)
- tst_timer_test.c:320: FAIL: pselect() slept for too long
- Time: us | Frequency
- --------------------------------------------------------------------------------
- 100658 | ********************************************************************
- 100662 | ********************************************************************
- 100666 | **********************************
- 100670 | **********************************
- 100674 | **********************************
- 100678 |
- 100682 |
- 100686 | **********************************
- 100690 |
- 100694 |
- 100698 | **********************************
- 100702 |
- 100706 |
- 100710 |
- 100714 | **********************************
- --------------------------------------------------------------------------------
- 4us | 1 sample = 34.00000 '*', 68.00000 '+', 136.00000 '-', non-zero '.'
- tst_timer_test.c:274: INFO: pselect() sleeping for 1000000us 2 iterations, threshold 4400.00us
- tst_timer_test.c:317: INFO: min 1001644us, max 1001753us, median 1001644us, trunc mean 1001644.00us (discarded 1)
- tst_timer_test.c:332: PASS: Measured times are within thresholds
- Summary:
- passed 2
- failed 5
- skipped 0
- warnings 0
- root@hikey:/home/linaro#
Add Comment
Please, Sign In to add comment