Skip to content

Meiravg_disk_poc2 #597

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 14 commits into
base: main
Choose a base branch
from
Open

Meiravg_disk_poc2 #597

wants to merge 14 commits into from

Conversation

meiravgri
Copy link
Collaborator

Describe the changes in the pull request

A clear and concise description of what the PR is solving.

Which issues this PR fixes

  1. #...
  2. MOD...

Main objects this PR modified

  1. ...
  2. ...

Mark if applicable

  • This PR introduces API changes
  • This PR introduces serialization changes

implment MappedMem that manages mapped memory

index changes:
replace vectors container with VectorsMappedMemContainer

hnsw changes:
replace graphDataBlocks with GraphData implemnted to hold disk data

getGraphDataByInternalId returns DiskElementGraphDataCopy which holds a pointer to the incoming edges, a refrence to the mutex and to the disk mapped memory,

disable all deletion functions
update poetry dependencies
add move ctor to MappedMem to move ownership of the mapped mem to allow vectors resize.

cosmetics in python flow scripts
…g (i get bad recalls)

implment batches of vectors files
get blocksize
hnsw: getMaxLevel

add staticVecSimIndexInterface::log_external to allow logging from outer classes
add logs

change madvise to MADV_DONTNEED
increase blocksize to 1024*10
convert to shared mem
use madvise = none

test_mmap: override python print
and monitor
scripts for plots
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant