Messages in this thread | | | From | Liang Li <> | Date | Mon, 4 Jan 2021 21:45:17 +0800 | Subject | Re: [RFC v2 PATCH 0/4] speed up page allocation for __GFP_ZERO |
| |
> > Win or not depends on its effect. For our case, it solves the issue > > that we faced, so it can be thought as a win for us. If others don't > > have the issue we faced, the result will be different, maybe they will > > be affected by the side effect of this feature. I think this is your > > concern behind the question. right? I will try to do more tests and > > provide more benchmark performance data. > > Yes, zeroying memory does have a noticeable overhead but we cannot > simply allow tasks to spil over this overhead to all other users by > default. So if anything this would need to be an opt-in feature > configurable by administrator. > -- > Michal Hocko > SUSE Labs
I know the overhead, so I add a switch in /sys/ to enable or disable it dynamically.
Thanks Liang
| |