Re: [RFC][PATCH 2.6.11-rc3-mm2] Relay Fork Module

From: Guillaume Thouvenin
Date: Fri Feb 11 2005 - 07:39:04 EST


On Fri, 2005-02-11 at 00:54 -0800, Andrew Morton wrote:
> > I tested this patch on a 2.6.11-rc3-mm2 kernel and there is a little
> > overhead when I compile a Linux kernel:
> >
> > #time sh -c 'make O=/home/guill/build/k2610 bzImage &&
> > make O=/home/guill/build/k2610 modules'
> >
> > with a vanilla kernel: real 8m10.797s
> > user 7m29.652s
> > sys 0m49.275s
> >
> > with the forkuevent patch : real 8m16.189s
> > user 7m28.841s
> > sys 0m49.155s
>
> Was that when some process was monitoring the netlink socket?

The test was done without monitoring. I ran another one with
monitoring and the result is:

real 8m12.747s
user 7m30.761s
sys 0.51.414s

As I only tested each case only once, I'm going to run the same test
five times to have a more accurate results.

Thank you very much for your comments, I'm carefully looking all of
them. I will send comments next week.

Regards,
Guillaume

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/