TensorNVMe icon indicating copy to clipboard operation
TensorNVMe copied to clipboard

Will this kill the page cache?

Open marsupialtail opened this issue 3 years ago • 1 comments

I see that this library is not using DirectIO to flush out the weights to disk:

this->fd = open(filename.c_str(), O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);

Will this kill the page cache if you have a lot of weights?

marsupialtail avatar Aug 22 '22 01:08 marsupialtail

Yes. We will add a flag to control it in the next release.

ver217 avatar Aug 22 '22 02:08 ver217