Path: ...!news.misty.com!2.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: BGB Newsgroups: comp.arch Subject: Re: My 66000 and High word facility Date: Mon, 19 Aug 2024 12:07:59 -0500 Organization: A noiseless patient Spider Lines: 30 Message-ID: References: <38055f09c5d32ab77b9e3f1c7b979fb4@www.novabbs.org> <2024Aug11.163333@mips.complang.tuwien.ac.at> <1bf2c13fc41cf8aeca4a746052c03ce3@www.novabbs.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Mon, 19 Aug 2024 19:08:00 +0200 (CEST) Injection-Info: dont-email.me; posting-host="25af7dd0d2bba00686d7dce6357b84cd"; logging-data="3104872"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/cTu+NGsDLZ20XoFRREy9Q7hSCuMMqgYU=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:hNJjtdH+6SiKBVF3OsgynoFAABM= Content-Language: en-US In-Reply-To: Bytes: 2639 On 8/19/2024 11:05 AM, 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. > > Historically, these things have never really materialized, admittedly. > FWIW: One of the things that led me to the temptation to consider register banks, was not "ye olde preemptive task scheduling", but rather the relatively higher cost of performing COM-like method calls between one task and another. Theoretically, with 4 banks: Task 1, Task 2, Kernel / Syscall, Interrupt The caller could be put in Task 1 and the called task in Task 2. .... > > Stefan