Re: [FIX PATCH] mm: pcp: fix pcp->free_count reduction on page allocation

From: Huang, Ying
Date: Wed Jan 15 2025 - 06:06:42 EST


Nikhil Dhama <nikhil.dhama@xxxxxxx> writes:

>> The present division by two appears to be somewhat randomly chosen.
>> And as far as I can tell, this patch proposes replacing that with
>> another somewhat random adjustment.
>>
>> What's the actual design here? What are we attempting to do and why,
>> and why is the proposed design superior to the present one?
>
> We are further analyzing both the designs and their impact on pcp list.
>
>
>> Nice, but might other workloads on other machines get slower?
>
> We are studying the impact of this on other network workloads like netperf,
> and will post those results soon.

To tune this parameter, in addition to network workloads, other kinds of
workloads need be evaluated too.

---
Best Regards,
Huang, Ying