Re: What is the optimum time for task switching?

From: Val Henson (vhenson@esscom.com)
Date: Tue May 02 2000 - 10:18:53 EST


---------- Forwarded message ----------
From: Mark Zealey <kernel@itsolve.co.uk>
To: Val Henson <vhenson@ods.com>
Date: Tue, 2 May 2000 09:22:33 +0100 (BST)
Subject: Re: What is the optimum time for task switching?

Could you post this to linux-kernel please. I've got a problem with my
DNS, and majordomo rejects it.

On Tue, 2 May 2000, Mark Zealey wrote:

> On Mon, 1 May 2000, Val Henson wrote:
>
> >
> > I'm under the impression that Mark is talking about context-switch time
> > and not about time between switching tasks. Mark, care to clarify?
>
> I was after the time between tasks, which is related to the time between
> being interrupted by the PIT.
>
> >
> > -VAL
> >
> > On 30 Apr 2000, Johan Kullstam wrote:
> >
> > > Mark Zealey <kernel@itsolve.co.uk> writes:
> > >
> > > > I am interested in what the optimum time on an i386+ is for task
> > > > switching. I would imagine that it would be quite long, as it must take
> > > > lots of cycles to save all the reg's and load the new ones.
> > >
> > > from a cycle efficiency standpoint, optimum would be to stay
> > > infinitely long with each task and only switch when the task was
> > > complete or waiting for input. however, user interaction demands
> > > switching once in a while to preserve the illusion of multi-tasking.
> > >
> > > --
> > > J o h a n K u l l s t a m
> > > [kullstam@ne.mediaone.net]
> > > Don't Fear the Penguin!
> > >
> > > -
> > > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> > > the body of a message to majordomo@vger.rutgers.edu
> > > Please read the FAQ at http://www.tux.org/lkml/
> > >
> >
> >
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> > the body of a message to majordomo@vger.rutgers.edu
> > Please read the FAQ at http://www.tux.org/lkml/
> >
> >
>
>
> Cheers,
>
> Mark Zealey
> mark@itsolve.co.uk
>
> -----BEGIN GEEK CODE BLOCK-----
> Version: 3.1
> UL++++$ (GCM/GCS/GS/GM)GUG! dpu? s-:-@ a15! C+++>$ P++$>+++@ L+++>+++++$
> !E---? W+++>$ N++@>+ o->+ !K? w++(!---?) !O?@ !M--? !V--? PS- PE--@ Y@
> !PGP----? !t---?@ !5? !X---? !R- tv b+ !DI---? D G e->+++++ h+++*! r++ y-
> (www.geekcode.com)
> ------END GEEK CODE BLOCK------
>
>

Cheers,

Mark Zealey
mark@itsolve.co.uk

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
UL++++$ (GCM/GCS/GS/GM)GUG! dpu? s-:-@ a15! C+++>$ P++$>+++@ L+++>+++++$
!E---? W+++>$ N++@>+ o->+ !K? w++(!---?) !O?@ !M--? !V--? PS- PE--@ Y@
!PGP----? !t---?@ !5? !X---? !R- tv b+ !DI---? D G e->+++++ h+++*! r++ y-
(www.geekcode.com)
------END GEEK CODE BLOCK------

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



This archive was generated by hypermail 2b29 : Sun May 07 2000 - 21:00:10 EST