[PATCH 1/4] win32u: Add freelist cache allocator.

Jinoh Kang jinoh.kang.kr at gmail.com
Tue Mar 22 11:37:06 CDT 2022


On 3/22/22 18:28, Paul Gofman wrote:
> Did you compare the actual performance on some test cases to just memsetting the whole area before doing the blit?

That sounds like a good idea. I'll try turning existing tests into benchmarks and see how it works.

> In my experience on Linux pre-faulting the memory this way reduce the overhead greatly, while the benefit of explicit huge pages management over this is not apparent.

That shows stark difference from my experience.  In my case, memset()-ing yielded no significant improvement in performance (the faults moves from blitting to zeroing).

> It is not obvious that caching large memory areas in gdi32 worth it given VM address exhaustion issues we have with a bunch of 32 bit apps.

Yes, this alone is certainly a showstopper.

> IMO if something like this is absolutely necessary that should be somehow considered on ntdll VM level so such a memory can be reclaimed.

Thanks!

-- 
Sincerely,
Jinoh Kang



More information about the wine-devel mailing list