Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- First test, creating 1000 processes with fork(). Test repetitions 5
- *repetition: 1/5
- -Total std time: 0.059367
- -Total cpu time: 0.012000
- -Total day time: 0.290838
- -Mean std time per process: 0.000059
- -Mean cpu time per process: 0.000012
- -Mean day time per process: 0.000291
- *repetition: 2/5
- -Total std time: 0.057218
- -Total cpu time: 0.004000
- -Total day time: 0.285157
- -Mean std time per process: 0.000057
- -Mean cpu time per process: 0.000004
- -Mean day time per process: 0.000285
- *repetition: 3/5
- -Total std time: 0.057779
- -Total cpu time: 0.004000
- -Total day time: 0.290067
- -Mean std time per process: 0.000058
- -Mean cpu time per process: 0.000004
- -Mean day time per process: 0.000290
- *repetition: 4/5
- -Total std time: 0.057092
- -Total cpu time: 0.004000
- -Total day time: 0.298983
- -Mean std time per process: 0.000057
- -Mean cpu time per process: 0.000004
- -Mean day time per process: 0.000299
- *repetition: 5/5
- -Total std time: 0.060749
- -Total cpu time: 0.000000
- -Total day time: 0.328995
- -Mean std time per process: 0.000061
- -Mean cpu time per process: 0.000000
- -Mean day time per process: 0.000329
- =========================================================================
- Second test, creating 1000 processes with execv(). Test repetitions 5
- *repetition: 1/5
- -Total std time: 0.061270
- -Total cpu time: 0.004000
- -Total day time: 1.673128
- -Mean std time per process: 0.000061
- -Mean cpu time per process: 0.000004
- -Mean day time per process: 0.001673
- *repetition: 2/5
- -Total std time: 0.061510
- -Total cpu time: 0.004000
- -Total day time: 1.780257
- -Mean std time per process: 0.000062
- -Mean cpu time per process: 0.000004
- -Mean day time per process: 0.001780
- *repetition: 3/5
- -Total std time: 0.059590
- -Total cpu time: 0.000000
- -Total day time: 1.849693
- -Mean std time per process: 0.000060
- -Mean cpu time per process: 0.000000
- -Mean day time per process: 0.001850
- *repetition: 4/5
- -Total std time: 0.059220
- -Total cpu time: 0.004000
- -Total day time: 1.464495
- -Mean std time per process: 0.000059
- -Mean cpu time per process: 0.000004
- -Mean day time per process: 0.001464
- *repetition: 5/5
- -Total std time: 0.060092
- -Total cpu time: 0.004000
- -Total day time: 1.437338
- -Mean std time per process: 0.000060
- -Mean cpu time per process: 0.000004
- -Mean day time per process: 0.001437
- =========================================================================
- Third test, creating 1000 threads with clone(). Test repetitions 5
- *repetition: 1/5
- -Total std time: 0.007982
- -Total cpu time: 0.000000
- -Total day time: 0.037610
- -Mean std time per process: 0.000008
- -Mean cpu time per process: 0.000000
- -Mean day time per process: 0.000038
- *repetition: 2/5
- -Total std time: 0.004938
- -Total cpu time: 0.000000
- -Total day time: 0.025054
- -Mean std time per process: 0.000005
- -Mean cpu time per process: 0.000000
- -Mean day time per process: 0.000025
- *repetition: 3/5
- -Total std time: 0.005925
- -Total cpu time: 0.000000
- -Total day time: 0.032792
- -Mean std time per process: 0.000006
- -Mean cpu time per process: 0.000000
- -Mean day time per process: 0.000033
- *repetition: 4/5
- -Total std time: 0.005268
- -Total cpu time: 0.000000
- -Total day time: 0.010374
- -Mean std time per process: 0.000005
- -Mean cpu time per process: 0.000000
- -Mean day time per process: 0.000010
- *repetition: 5/5
- -Total std time: 0.005517
- -Total cpu time: 0.000000
- -Total day time: 0.032644
- -Mean std time per process: 0.000006
- -Mean cpu time per process: 0.000000
- -Mean day time per process: 0.000033
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement