[Info-vax] Apache + mod_php performance
Arne Vajhøj
arne at vajhoej.dk
Fri Sep 27 09:59:16 EDT 2024
On 9/26/2024 10:36 PM, Lawrence D'Oliveiro wrote:
> On Thu, 26 Sep 2024 22:17:29 -0400, Arne Vajhøj wrote:
>> On 9/26/2024 9:26 PM, Lawrence D'Oliveiro wrote:
>>> That and the need for all the ASTs.
>>
>> Why should AST's be a problem?
>>
>> The "call this function when task is done" approach is a very common
>> design today. DEC was ahead of time with that.
>
> Set attention AST → wait for AST to trigger → queue actual I/O → wait for
> AST to signal completion. Too many system calls and transitions back and
> forth between user and kernel modes.
I don't think anyone would use that flow.
You setup a read attention AST, it triggers and then you know that
there are data to be read. There is no reason to make reading async
then, because you know it will not block.
Arne
More information about the Info-vax
mailing list