public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Can context switches be faster?
@ 2006-10-12 15:44 John Richard Moser
  2006-10-12 15:53 ` John Richard Moser
                   ` (3 more replies)
  0 siblings, 4 replies; 25+ messages in thread
From: John Richard Moser @ 2006-10-12 15:44 UTC (permalink / raw)
  To: linux-kernel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Can context switches be made faster?  This is a simple question, mainly
because I don't really understand what happens during a context switch
that the kernel has control over (besides storing registers).

Linux ported onto the L4-Iguana microkernel is reported to be faster
than the monolith[1]; it's not like microkernels are faster, but the
L4-Iguana apparently just has super awesome context switching code:

   Wombat's context-switching overheads as measured by lmbench on an
   XScale processor are up to thirty times less than those of native
   Linux, thanks to Wombat profiting from the implementation of fast
   context switches in L4-embedded.

The first question that comes into my mind is, obviously, is this some
special "fast context switch" code for only embedded systems; or is it
possible to work this on normal systems?

The second is, if it IS possible to get faster context switches in
general use, can the L4 context switch methods be used in Linux?  I
believe L4 is BSD licensed-- at least the files in their CVS repo that I
looked at have "BSD" stamped on them.  Maybe some of the code can be
examined, adopted, adapted, etc.

If it's not possible to speed up context switches, the classical
question would probably be.. why not?  ;)  No use knowing a thing and
not understanding it; you get situations like this right here... :)

[1]http://l4hq.org/
- --
    We will enslave their women, eat their children and rape their
    cattle!
                  -- Bosc, Evil alien overlord from the fifth dimension
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQIVAwUBRS5i9ws1xW0HCTEFAQKHtw/+PtjvtkfynX0uItgpa2zocbo8/hadu4kp
dGmxI9eBouUc0T5GDjX7hHYolaIFswuNWyrnELU6uE4WeQ6l5BFnobc1FCiHLVBE
7cZlr9FaFw3r7Ohb4AJBTLKXRYP3h107SnccxJLcqVqspwmzs6lZHaXCU9vrxpCW
Xaam8bSBUrqJ3tIPalM20Nl4SrVF0clMYlKRT2LdD3/TFdN2e60m9sczyGEnLVT/
Co+/JpQ5qxk7DqjXJHr0N5a0CmgjlTZQHEjtvfcPlrKa5CprLECrYx2aJHgs+nIz
CXf9L2z3oiE4yWADK5+zXlJWcF7+pvspIsI9rQDdHoO2xFUzguiVup9XJOLbytpV
yN0dVrOWaAXQMBtrYCInOtA6ynpAZ+hTv2EBSHRaOC+mnxcDTBSqJrj979RrKGlj
Mz282LaSRDL4XPq9d8LwrnuPHIoqGGfj0wUKwmxC19vDfGOk3Y1I/frvcRgnjlb1
TwG/QPgiGcXXVTgEDeogqgq+DRPmuoxxXo+OPMgA4441BzgqkCzxmjLA0uQL15dd
CrAO8NF1fOzvWCvAQO8DhSaGGOikeur4BdkwnF6/eTQYA7QGewaCVdY0u6Q2dhAF
wrGho4pGaEh/ev59/KsHvtSD88SfTUsLigTgGrwiRTufUm4XVbr5AzldTPUMUkUU
+jRWrqbwkLM=
=IDvt
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2006-10-14  0:11 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-12 15:44 Can context switches be faster? John Richard Moser
2006-10-12 15:53 ` John Richard Moser
2006-10-12 17:19 ` Russell King
2006-10-12 18:25   ` John Richard Moser
2006-10-12 18:37     ` Arjan van de Ven
2006-10-12 18:56       ` John Richard Moser
2006-10-12 19:02         ` Arjan van de Ven
2006-10-13 11:05       ` James Courtier-Dutton
2006-10-13 14:51         ` Chase Venters
2006-10-12 18:20 ` Phillip Susi
2006-10-12 18:29   ` John Richard Moser
2006-10-13  2:53     ` Andrew James Wade
2006-10-13  5:29       ` John Richard Moser
2006-10-13 16:56         ` Andrew James Wade
2006-10-13 17:24           ` John Richard Moser
2006-10-12 19:57 ` Chris Friesen
2006-10-12 20:23   ` John Richard Moser
2006-10-12 20:29     ` Arjan van de Ven
2006-10-12 20:36       ` John Richard Moser
2006-10-12 20:35     ` Jeremy Fitzhardinge
2006-10-13 23:32       ` Andreas Mohr
2006-10-13 23:47         ` David Lang
2006-10-14  0:14         ` Jeremy Fitzhardinge
2006-10-14  0:30         ` Alan Cox
2006-10-14  0:14           ` Jeremy Fitzhardinge

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox