Re: Accelerating user mode linux

Richard Zidlicky (rz@linux-m68k.org)
Fri, 2 Aug 2002 13:34:44 +0200


On Thu, Aug 01, 2002 at 11:40:28PM -0500, Jeff Dike wrote:
>
> Your objection to returning through sigreturn was performance. Is performance
> a veto of adding an mm switch to sigreturn, or it is possible to make it
> acceptible?

I have once ported Basilisk to work native on linux-m68k. It works
*slow* so I looked what the problem is - the signal delivery in
Linux is exorbitantly slow. Eg an SIGILL delivery costs ~ 1650 cycles
on a 68060, compared to that sigreturn and getpid are 200-250 and
sched_yield with context switch around 400.

So sigreturn is not the place I would be looking for the biggest
speedups.

Richard

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