performance: spawning (exec*/wait) shows non-constant time if memory grows

2014-01-14 Thread Dirk Bächle
Hi there, when running the attached program "spawn_test.c" on my machine (see end of this mail), I get the following results (as measured with "/usr/bin/time"): cycles | elapsed time - 2000 | 0:01.69 4000 | 0:04.04 8000 | 0:10.72 16000 | 0:32.51 32000 | 1:46.85 ,

performance: spawning (exec*/wait) shows non-constant time if memory grows

2014-01-14 Thread Dirk Bächle
Hi there, when running the attached program spawn_test.c on my machine (see end of this mail), I get the following results (as measured with /usr/bin/time): cycles | elapsed time - 2000 | 0:01.69 4000 | 0:04.04 8000 | 0:10.72 16000 | 0:32.51 32000 | 1:46.85 ,