Liste des Groupes | Revenir à c arch |
On Mon, 19 Aug 2024 16:05:22 +0000, Stefan Monnier wrote:
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.
MicroKernels failed due to the excessive overhead of context
switching. Whether is was control delivery delay, TLB reloads, Cache
reloads, register file loads and stores, ... it doesn't really mater
as each delay adds up. When there is too much delay the system is
sluggish and unacceptable en-the-large.
>
Historically, these things have never really materialized,
admittedly.
Pigs don't win the 100 yard dash at the Olympics, either.
>
Stefan
Les messages affichés proviennent d'usenet.