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.057603
- -Total cpu time: 0.008000
- -Total day time: 0.284932
- -Mean std time per process: 0.000058
- -Mean cpu time per process: 0.000008
- -Mean day time per process: 0.000285
- *repetition: 2/5
- -Total std time: 0.058325
- -Total cpu time: 0.000000
- -Total day time: 0.289909
- -Mean std time per process: 0.000058
- -Mean cpu time per process: 0.000000
- -Mean day time per process: 0.000290
- *repetition: 3/5
- -Total std time: 0.057470
- -Total cpu time: 0.008000
- -Total day time: 0.279033
- -Mean std time per process: 0.000057
- -Mean cpu time per process: 0.000008
- -Mean day time per process: 0.000279
- *repetition: 4/5
- -Total std time: 0.058289
- -Total cpu time: 0.008000
- -Total day time: 0.273860
- -Mean std time per process: 0.000058
- -Mean cpu time per process: 0.000008
- -Mean day time per process: 0.000274
- *repetition: 5/5
- -Total std time: 0.057234
- -Total cpu time: 0.004000
- -Total day time: 0.304347
- -Mean std time per process: 0.000057
- -Mean cpu time per process: 0.000004
- -Mean day time per process: 0.000304
- =========================================================================
- Second test, creating 1000 processes with execv(). Test repetitions 5
- *repetition: 1/5
- -Total std time: 0.061873
- -Total cpu time: 0.004000
- -Total day time: 1.501121
- -Mean std time per process: 0.000062
- -Mean cpu time per process: 0.000004
- -Mean day time per process: 0.001501
- *repetition: 2/5
- -Total std time: 0.058538
- -Total cpu time: 0.000000
- -Total day time: 1.467351
- -Mean std time per process: 0.000059
- -Mean cpu time per process: 0.000000
- -Mean day time per process: 0.001467
- *repetition: 3/5
- -Total std time: 0.060607
- -Total cpu time: 0.000000
- -Total day time: 1.427837
- -Mean std time per process: 0.000061
- -Mean cpu time per process: 0.000000
- -Mean day time per process: 0.001428
- *repetition: 4/5
- -Total std time: 0.059935
- -Total cpu time: 0.000000
- -Total day time: 1.468608
- -Mean std time per process: 0.000060
- -Mean cpu time per process: 0.000000
- -Mean day time per process: 0.001469
- *repetition: 5/5
- -Total std time: 0.060807
- -Total cpu time: 0.000000
- -Total day time: 1.436897
- -Mean std time per process: 0.000061
- -Mean cpu time per process: 0.000000
- -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.049569
- -Mean std time per process: 0.000008
- -Mean cpu time per process: 0.000000
- -Mean day time per process: 0.000050
- *repetition: 2/5
- -Total std time: 0.005382
- -Total cpu time: 0.000000
- -Total day time: 0.025514
- -Mean std time per process: 0.000005
- -Mean cpu time per process: 0.000000
- -Mean day time per process: 0.000026
- *repetition: 3/5
- -Total std time: 0.005242
- -Total cpu time: 0.000000
- -Total day time: 0.028609
- -Mean std time per process: 0.000005
- -Mean cpu time per process: 0.000000
- -Mean day time per process: 0.000029
- *repetition: 4/5
- -Total std time: 0.005080
- -Total cpu time: 0.000000
- -Total day time: 0.017619
- -Mean std time per process: 0.000005
- -Mean cpu time per process: 0.000000
- -Mean day time per process: 0.000018
- *repetition: 5/5
- -Total std time: 0.005237
- -Total cpu time: 0.000000
- -Total day time: 0.021210
- -Mean std time per process: 0.000005
- -Mean cpu time per process: 0.000000
- -Mean day time per process: 0.000021
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement