Re: Accelerating user mode linux

From: Richard Zidlicky (rz@linux-m68k.org)
Date: Fri Aug 02 2002 - 06:34:44 EST


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/



This archive was generated by hypermail 2b29 : Wed Aug 07 2002 - 22:00:18 EST