Messages in this thread |  | | Date | Fri, 5 Oct 2001 16:21:38 -0700 (PDT) | From | Davide Libenzi <> | Subject | Re: Context switch times |
| |
On Sat, 6 Oct 2001, Alan Cox wrote:
> > No, i mean T = (Tstart - Tend) where : > > > > Tstart = time the current ( prev ) task has been scheduled > > Tend = current time ( in schedule() ) > > > > Basically it's the total time the current ( prev ) task has had the CPU > > Ok let me ask one question - why ?
Because the more the task is ran the higher the cache footprint is and the higher the cache footprint is the more we'd like to pick up the exiting task to rerun.
- Davide
- 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/
|  |