Re: [benchmark] 1% performance overhead of paravirt_ops on nativekernels

From: Ingo Molnar
Date: Tue Jun 09 2009 - 21:26:53 EST

* Paul Mackerras <paulus@xxxxxxxxx> wrote:

> Ingo Molnar writes:
> > I did this fork overhead measurement some time ago, using
> > perfcounters and 'perf':
> Could you post the program? I'd like to try it on some systems
> here.

I still have it, it was something really, really simple and silly:

int main(void)
int i;

for (i = 0; i < 8; i++)
if (!fork())

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at