Advertisement
Guest User

Untitled

a guest
Oct 16th, 2018
80
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.057603
  4. -Total cpu time: 0.008000
  5. -Total day time: 0.284932
  6. -Mean std time per process: 0.000058
  7. -Mean cpu time per process: 0.000008
  8. -Mean day time per process: 0.000285
  9. *repetition: 2/5
  10. -Total std time: 0.058325
  11. -Total cpu time: 0.000000
  12. -Total day time: 0.289909
  13. -Mean std time per process: 0.000058
  14. -Mean cpu time per process: 0.000000
  15. -Mean day time per process: 0.000290
  16. *repetition: 3/5
  17. -Total std time: 0.057470
  18. -Total cpu time: 0.008000
  19. -Total day time: 0.279033
  20. -Mean std time per process: 0.000057
  21. -Mean cpu time per process: 0.000008
  22. -Mean day time per process: 0.000279
  23. *repetition: 4/5
  24. -Total std time: 0.058289
  25. -Total cpu time: 0.008000
  26. -Total day time: 0.273860
  27. -Mean std time per process: 0.000058
  28. -Mean cpu time per process: 0.000008
  29. -Mean day time per process: 0.000274
  30. *repetition: 5/5
  31. -Total std time: 0.057234
  32. -Total cpu time: 0.004000
  33. -Total day time: 0.304347
  34. -Mean std time per process: 0.000057
  35. -Mean cpu time per process: 0.000004
  36. -Mean day time per process: 0.000304
  37.  
  38. =========================================================================
  39.  
  40. Second test, creating 1000 processes with execv(). Test repetitions 5
  41. *repetition: 1/5
  42. -Total std time: 0.061873
  43. -Total cpu time: 0.004000
  44. -Total day time: 1.501121
  45. -Mean std time per process: 0.000062
  46. -Mean cpu time per process: 0.000004
  47. -Mean day time per process: 0.001501
  48. *repetition: 2/5
  49. -Total std time: 0.058538
  50. -Total cpu time: 0.000000
  51. -Total day time: 1.467351
  52. -Mean std time per process: 0.000059
  53. -Mean cpu time per process: 0.000000
  54. -Mean day time per process: 0.001467
  55. *repetition: 3/5
  56. -Total std time: 0.060607
  57. -Total cpu time: 0.000000
  58. -Total day time: 1.427837
  59. -Mean std time per process: 0.000061
  60. -Mean cpu time per process: 0.000000
  61. -Mean day time per process: 0.001428
  62. *repetition: 4/5
  63. -Total std time: 0.059935
  64. -Total cpu time: 0.000000
  65. -Total day time: 1.468608
  66. -Mean std time per process: 0.000060
  67. -Mean cpu time per process: 0.000000
  68. -Mean day time per process: 0.001469
  69. *repetition: 5/5
  70. -Total std time: 0.060807
  71. -Total cpu time: 0.000000
  72. -Total day time: 1.436897
  73. -Mean std time per process: 0.000061
  74. -Mean cpu time per process: 0.000000
  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.049569
  84. -Mean std time per process: 0.000008
  85. -Mean cpu time per process: 0.000000
  86. -Mean day time per process: 0.000050
  87. *repetition: 2/5
  88. -Total std time: 0.005382
  89. -Total cpu time: 0.000000
  90. -Total day time: 0.025514
  91. -Mean std time per process: 0.000005
  92. -Mean cpu time per process: 0.000000
  93. -Mean day time per process: 0.000026
  94. *repetition: 3/5
  95. -Total std time: 0.005242
  96. -Total cpu time: 0.000000
  97. -Total day time: 0.028609
  98. -Mean std time per process: 0.000005
  99. -Mean cpu time per process: 0.000000
  100. -Mean day time per process: 0.000029
  101. *repetition: 4/5
  102. -Total std time: 0.005080
  103. -Total cpu time: 0.000000
  104. -Total day time: 0.017619
  105. -Mean std time per process: 0.000005
  106. -Mean cpu time per process: 0.000000
  107. -Mean day time per process: 0.000018
  108. *repetition: 5/5
  109. -Total std time: 0.005237
  110. -Total cpu time: 0.000000
  111. -Total day time: 0.021210
  112. -Mean std time per process: 0.000005
  113. -Mean cpu time per process: 0.000000
  114. -Mean day time per process: 0.000021
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement