Skip to content

What's the purpose of warmup in search_disk_index? #7

Description

Hello, after reading the search_disk_index.cpp, I find that the macro WARMUP is true by default, that means after loading the hot data into cache, it will do the same search process called warmup again, which seems meaningless because in function cached_beam_search, there is no cache update operation. It seems that the process of generate_cache_list_from_sample_queries has already warmed the system up.

Activity

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