nareshkamboju

pselect01_64 failed on slow machine

Jun 24th, 2017
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.93 KB | None | 0 0
  1. Pselect failed on slow machines and slow cpu freq governors.
  2.  
  3.  
  4. root@hikey:/home/linaro# ./pselect01_64
  5. tst_test.c:898: INFO: Timeout per run is 0h 05m 00s
  6. tst_timer_test.c:344: INFO: CLOCK_MONOTONIC resolution 1ns
  7. tst_timer_test.c:356: INFO: prctl(PR_GET_TIMERSLACK) = 50us
  8. tst_timer_test.c:274: INFO: pselect() sleeping for 1000us 500 iterations, threshold 450.01us
  9. tst_timer_test.c:317: INFO: min 1082us, max 1171us, median 1089us, trunc mean 1089.79us (discarded 25)
  10. tst_timer_test.c:332: PASS: Measured times are within thresholds
  11. tst_timer_test.c:274: INFO: pselect() sleeping for 2000us 500 iterations, threshold 450.01us
  12. tst_timer_test.c:317: INFO: min 2083us, max 2154us, median 2092us, trunc mean 2094.12us (discarded 25)
  13. tst_timer_test.c:332: PASS: Measured times are within thresholds
  14. tst_timer_test.c:274: INFO: pselect() sleeping for 5000us 300 iterations, threshold 450.04us
  15. tst_timer_test.c:317: INFO: min 5091us, max 5211us, median 5106us, trunc mean 5105.92us (discarded 15)
  16. tst_timer_test.c:332: PASS: Measured times are within thresholds
  17. tst_timer_test.c:274: INFO: pselect() sleeping for 10000us 100 iterations, threshold 450.33us
  18. tst_timer_test.c:317: INFO: min 10092us, max 10509us, median 10108us, trunc mean 10135.28us (discarded 5)
  19. tst_timer_test.c:332: PASS: Measured times are within thresholds
  20. tst_timer_test.c:274: INFO: pselect() sleeping for 25000us 50 iterations, threshold 451.29us
  21. tst_timer_test.c:317: INFO: min 25104us, max 25397us, median 25252us, trunc mean 25254.94us (discarded 2)
  22. tst_timer_test.c:332: PASS: Measured times are within thresholds
  23. tst_timer_test.c:274: INFO: pselect() sleeping for 100000us 10 iterations, threshold 537.00us
  24. tst_timer_test.c:317: INFO: min 100326us, max 100375us, median 100346us, trunc mean 100344.00us (discarded 1)
  25. tst_timer_test.c:332: PASS: Measured times are within thresholds
  26. tst_timer_test.c:274: INFO: pselect() sleeping for 1000000us 2 iterations, threshold 4400.00us
  27. tst_timer_test.c:317: INFO: min 1001252us, max 1001283us, median 1001252us, trunc mean 1001252.00us (discarded 1)
  28. tst_timer_test.c:332: PASS: Measured times are within thresholds
  29.  
  30. Summary:
  31. passed 7
  32. failed 0
  33. skipped 0
  34. root@hikey:/home/linaro# cat /sys/devices/system/cpu/cpufreq/policy0/scaling_available_governors
  35. conservative ondemand userspace powersave performance schedutil
  36. root@hikey:/home/linaro# echo powersave > /sys/devices/system/cpu/cpufreq/policy0/scaling_governor
  37. root@hikey:/home/linaro# ./pselect01_64
  38. tst_test.c:898: INFO: Timeout per run is 0h 05m 00s
  39. tst_timer_test.c:344: INFO: CLOCK_MONOTONIC resolution 1ns
  40. tst_timer_test.c:356: INFO: prctl(PR_GET_TIMERSLACK) = 50us
  41. tst_timer_test.c:274: INFO: pselect() sleeping for 1000us 500 iterations, threshold 450.01us
  42. tst_timer_test.c:317: INFO: min 1260us, max 1540us, median 1265us, trunc mean 1296.58us (discarded 25)
  43. tst_timer_test.c:332: PASS: Measured times are within thresholds
  44. tst_timer_test.c:274: INFO: pselect() sleeping for 2000us 500 iterations, threshold 450.01us
  45. tst_timer_test.c:317: INFO: min 2269us, max 3003us, median 2593us, trunc mean 2620.10us (discarded 25)
  46. tst_timer_test.c:320: FAIL: pselect() slept for too long
  47.  
  48. Time: us | Frequency
  49. --------------------------------------------------------------------------------
  50. 2269 | +
  51. 2308 |
  52. 2347 |
  53. 2386 |
  54. 2425 |
  55. 2464 |
  56. 2503 |
  57. 2542 | ********************************
  58. 2581 | ********************************************************************
  59. 2620 | **+
  60. 2659 |
  61. 2698 |
  62. 2737 | *********************-
  63. 2776 | *******
  64. 2815 | +
  65. 2854 | -
  66. 2893 |
  67. 2932 |
  68. 2971 | -
  69. --------------------------------------------------------------------------------
  70. 39us | 1 sample = 0.26667 '*', 0.53333 '+', 1.06667 '-', non-zero '.'
  71.  
  72. tst_timer_test.c:274: INFO: pselect() sleeping for 5000us 300 iterations, threshold 450.04us
  73. tst_timer_test.c:317: INFO: min 5583us, max 5844us, median 5606us, trunc mean 5615.83us (discarded 15)
  74. tst_timer_test.c:320: FAIL: pselect() slept for too long
  75.  
  76. Time: us | Frequency
  77. --------------------------------------------------------------------------------
  78. 5583 | *+
  79. 5597 | ********************************************************************
  80. 5611 | ****+
  81. 5625 | *******************+
  82. 5639 | ***********+
  83. 5653 | -
  84. 5667 |
  85. 5681 |
  86. 5695 |
  87. 5709 |
  88. 5723 | -
  89. 5737 |
  90. 5751 |
  91. 5765 |
  92. 5779 | +
  93. 5793 | **+
  94. 5807 | *
  95. 5821 | -
  96. 5835 | *+
  97. --------------------------------------------------------------------------------
  98. 14us | 1 sample = 0.37569 '*', 0.75138 '+', 1.50276 '-', non-zero '.'
  99.  
  100. tst_timer_test.c:274: INFO: pselect() sleeping for 10000us 100 iterations, threshold 450.33us
  101. tst_timer_test.c:317: INFO: min 10599us, max 11180us, median 10608us, trunc mean 10633.73us (discarded 5)
  102. tst_timer_test.c:320: FAIL: pselect() slept for too long
  103.  
  104. Time: us | Frequency
  105. --------------------------------------------------------------------------------
  106. 10599 | ********************************************************************
  107. 10630 | **********-
  108. 10661 |
  109. 10692 | **+
  110. 10723 |
  111. 10754 |
  112. 10785 | *****+
  113. 10816 | *****+
  114. 10847 | +
  115. 10878 |
  116. 10909 |
  117. 10940 |
  118. 10971 |
  119. 11002 |
  120. 11033 |
  121. 11064 |
  122. 11095 |
  123. 11126 |
  124. 11157 | +
  125. --------------------------------------------------------------------------------
  126. 31us | 1 sample = 0.94444 '*', 1.88889 '+', 3.77778 '-', non-zero '.'
  127.  
  128. tst_timer_test.c:274: INFO: pselect() sleeping for 25000us 50 iterations, threshold 451.29us
  129. tst_timer_test.c:317: INFO: min 25603us, max 25848us, median 25618us, trunc mean 25623.69us (discarded 2)
  130. tst_timer_test.c:320: FAIL: pselect() slept for too long
  131.  
  132. Time: us | Frequency
  133. --------------------------------------------------------------------------------
  134. 25603 | ********************************************************************
  135. 25616 | *******************************
  136. 25629 | *******************************
  137. 25642 |
  138. 25655 |
  139. 25668 |
  140. 25681 |
  141. 25694 |
  142. 25707 | **+
  143. 25720 |
  144. 25733 |
  145. 25746 |
  146. 25759 |
  147. 25772 |
  148. 25785 |
  149. 25798 |
  150. 25811 | **+
  151. 25824 | **+
  152. 25837 | **+
  153. --------------------------------------------------------------------------------
  154. 13us | 1 sample = 2.83333 '*', 5.66667 '+', 11.33333 '-', non-zero '.'
  155.  
  156. tst_timer_test.c:274: INFO: pselect() sleeping for 100000us 10 iterations, threshold 537.00us
  157. tst_timer_test.c:317: INFO: min 100658us, max 100717us, median 100666us, trunc mean 100671.22us (discarded 1)
  158. tst_timer_test.c:320: FAIL: pselect() slept for too long
  159.  
  160. Time: us | Frequency
  161. --------------------------------------------------------------------------------
  162. 100658 | ********************************************************************
  163. 100662 | ********************************************************************
  164. 100666 | **********************************
  165. 100670 | **********************************
  166. 100674 | **********************************
  167. 100678 |
  168. 100682 |
  169. 100686 | **********************************
  170. 100690 |
  171. 100694 |
  172. 100698 | **********************************
  173. 100702 |
  174. 100706 |
  175. 100710 |
  176. 100714 | **********************************
  177. --------------------------------------------------------------------------------
  178. 4us | 1 sample = 34.00000 '*', 68.00000 '+', 136.00000 '-', non-zero '.'
  179.  
  180. tst_timer_test.c:274: INFO: pselect() sleeping for 1000000us 2 iterations, threshold 4400.00us
  181. tst_timer_test.c:317: INFO: min 1001644us, max 1001753us, median 1001644us, trunc mean 1001644.00us (discarded 1)
  182. tst_timer_test.c:332: PASS: Measured times are within thresholds
  183.  
  184. Summary:
  185. passed 2
  186. failed 5
  187. skipped 0
  188. warnings 0
  189. root@hikey:/home/linaro#
Add Comment
Please, Sign In to add comment