Advertisement
Guest User

Untitled

a guest
Oct 16th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.67 KB | None | 0 0
  1. First test, creating 1000 processes with fork(). Test repetitions 5
  2. *repetition: 1/5
  3. -Total std time: 0.059367
  4. -Total cpu time: 0.012000
  5. -Total day time: 0.290838
  6. -Mean std time per process: 0.000059
  7. -Mean cpu time per process: 0.000012
  8. -Mean day time per process: 0.000291
  9. *repetition: 2/5
  10. -Total std time: 0.057218
  11. -Total cpu time: 0.004000
  12. -Total day time: 0.285157
  13. -Mean std time per process: 0.000057
  14. -Mean cpu time per process: 0.000004
  15. -Mean day time per process: 0.000285
  16. *repetition: 3/5
  17. -Total std time: 0.057779
  18. -Total cpu time: 0.004000
  19. -Total day time: 0.290067
  20. -Mean std time per process: 0.000058
  21. -Mean cpu time per process: 0.000004
  22. -Mean day time per process: 0.000290
  23. *repetition: 4/5
  24. -Total std time: 0.057092
  25. -Total cpu time: 0.004000
  26. -Total day time: 0.298983
  27. -Mean std time per process: 0.000057
  28. -Mean cpu time per process: 0.000004
  29. -Mean day time per process: 0.000299
  30. *repetition: 5/5
  31. -Total std time: 0.060749
  32. -Total cpu time: 0.000000
  33. -Total day time: 0.328995
  34. -Mean std time per process: 0.000061
  35. -Mean cpu time per process: 0.000000
  36. -Mean day time per process: 0.000329
  37.  
  38. =========================================================================
  39.  
  40. Second test, creating 1000 processes with execv(). Test repetitions 5
  41. *repetition: 1/5
  42. -Total std time: 0.061270
  43. -Total cpu time: 0.004000
  44. -Total day time: 1.673128
  45. -Mean std time per process: 0.000061
  46. -Mean cpu time per process: 0.000004
  47. -Mean day time per process: 0.001673
  48. *repetition: 2/5
  49. -Total std time: 0.061510
  50. -Total cpu time: 0.004000
  51. -Total day time: 1.780257
  52. -Mean std time per process: 0.000062
  53. -Mean cpu time per process: 0.000004
  54. -Mean day time per process: 0.001780
  55. *repetition: 3/5
  56. -Total std time: 0.059590
  57. -Total cpu time: 0.000000
  58. -Total day time: 1.849693
  59. -Mean std time per process: 0.000060
  60. -Mean cpu time per process: 0.000000
  61. -Mean day time per process: 0.001850
  62. *repetition: 4/5
  63. -Total std time: 0.059220
  64. -Total cpu time: 0.004000
  65. -Total day time: 1.464495
  66. -Mean std time per process: 0.000059
  67. -Mean cpu time per process: 0.000004
  68. -Mean day time per process: 0.001464
  69. *repetition: 5/5
  70. -Total std time: 0.060092
  71. -Total cpu time: 0.004000
  72. -Total day time: 1.437338
  73. -Mean std time per process: 0.000060
  74. -Mean cpu time per process: 0.000004
  75. -Mean day time per process: 0.001437
  76.  
  77. =========================================================================
  78.  
  79. Third test, creating 1000 threads with clone(). Test repetitions 5
  80. *repetition: 1/5
  81. -Total std time: 0.007982
  82. -Total cpu time: 0.000000
  83. -Total day time: 0.037610
  84. -Mean std time per process: 0.000008
  85. -Mean cpu time per process: 0.000000
  86. -Mean day time per process: 0.000038
  87. *repetition: 2/5
  88. -Total std time: 0.004938
  89. -Total cpu time: 0.000000
  90. -Total day time: 0.025054
  91. -Mean std time per process: 0.000005
  92. -Mean cpu time per process: 0.000000
  93. -Mean day time per process: 0.000025
  94. *repetition: 3/5
  95. -Total std time: 0.005925
  96. -Total cpu time: 0.000000
  97. -Total day time: 0.032792
  98. -Mean std time per process: 0.000006
  99. -Mean cpu time per process: 0.000000
  100. -Mean day time per process: 0.000033
  101. *repetition: 4/5
  102. -Total std time: 0.005268
  103. -Total cpu time: 0.000000
  104. -Total day time: 0.010374
  105. -Mean std time per process: 0.000005
  106. -Mean cpu time per process: 0.000000
  107. -Mean day time per process: 0.000010
  108. *repetition: 5/5
  109. -Total std time: 0.005517
  110. -Total cpu time: 0.000000
  111. -Total day time: 0.032644
  112. -Mean std time per process: 0.000006
  113. -Mean cpu time per process: 0.000000
  114. -Mean day time per process: 0.000033
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement