Sujet : Re: My 66000 and High word facility
De : monnier (at) *nospam* iro.umontreal.ca (Stefan Monnier)
Groupes : comp.archDate : 19. Aug 2024, 17:05:22
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <jwvjzgcsdqs.fsf-monnier+comp.arch@gnu.org>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
User-Agent : Gnus/5.13 (Gnus v5.13)
Task swapping time is way down in the noise. It’s reloading the L1 and L2
cache that swamps the time. 64 registers is nothing compared to 32k or
megabytes.
Depends on the kind of swap. If you're thinking of time-sharing
preemption, then indeed context switch time is not important.
But when considering communication between processes, then very fast
context switch times allow for finer grain divisions, like
micro-kernels.
Historically, these things have never really materialized, admittedly.
Stefan