Skip to content

Will this kill the page cache? #42

Description

@marsupialtail

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?

Activity

  1. ver217 commented on Aug 22, 2022

    @ver217
    Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions