[Info-vax] Apache + mod_php performance
Arne Vajhøj
arne at vajhoej.dk
Fri Sep 27 15:27:14 EDT 2024
On 9/27/2024 3:16 PM, Dan Cross wrote:
> In article <vd6l5h$pmt5$1 at dont-email.me>,
> Arne Vajhøj <arne at vajhoej.dk> wrote:
>> On 9/26/2024 11:44 AM, Dan Cross wrote:
>>> In article <vd1u8j$3qqpg$1 at dont-email.me>,
>>> Arne Vajhøj <arne at vajhoej.dk> wrote:
>>>> It must be Apache.
>>>>
>>>> Apache on VMS is prefork MPM. Yuck.
>>>>
>>>> MaxSpareServers 10 -> 50
>>>> MaxClients 150 -> 300
>>>>
>>>> actually did improve performance - double from 11 to 22
>>>> req/sec.
>>>>
>>>> But the system did not like further increases. And besides
>>>> these numbers are absurd high to handle a simulator doing requests
>>>> from just 20 threads.
>>>>
>>>> But not sure what else I can change.
>>>
>>> My guess is that communications overhead is slowing things down.
>>> What happens if you set these super low, ideally so there's a
>>> single process handling requests, then see what sort of QPS
>>> numbers you get for your trivial text file.
>>
>> I set it down to 1.
>>
>> 0.1 req/sec
>
> So a single request takes 10 seconds? Or you can only make one
> request every 10 seconds, but the time taken to process that
> request is relatively small?
It is throughput.
N / time it takes to get response for N requests
With 20 threads in client then there will always be 20 outstanding
requests.
Arne
More information about the Info-vax
mailing list