Re: [RFC PATCH 0/2] cxl: BG operations and device sanitation

From: Dave Jiang
Date: Mon Aug 08 2022 - 16:52:19 EST



On 8/4/2022 1:07 PM, Davidlohr Bueso wrote:
On Thu, 04 Aug 2022, Dave Jiang wrote:

From the operational sense everything looks good to me. As for the
polling delay on overwrite, with pre-CXL pmem on Optane, we've
discovered that overwrite can take a long time depending on the size.
Sometimes MANY hours if the size is really large. We just opted to
increment the polling interval as time went on [1] instead of based on
size.

Thanks for having a look. Sure, we can do that, I have no particular attachment
to doing it based on size (it's just the way it occured to me). I am curious,
though: While regardless of size vs time based estimates, are the numbers
expected to be similar for volatile regions? All these numbers being from
nvdimm DSM docs.

I don't either. Just pointing out that's what we did with the Optane stuff. I think that the volatile devices (DRAM?) would probably be a lot faster when it comes to writes. So maybe won't take as long. And also perhaps smaller in size in the immediate future? Just guessing.



Thanks,
Davidlohr