Roman Titov

Results 104 comments of Roman Titov

__TODO:__ Remove `madvise::Advice::WillNeed` if the final solution won't use it.

> Have you looked at using MADV_POPULATE_READ/MADV_POPULATE_WRITE? They require a relatively recent Linux kernel (5.14, august 2021), but are more efficient than manually reading from the Mmap at intervals (especially...

> You can try with [RazrFalcon/memmap2-rs#84](https://github.com/RazrFalcon/memmap2-rs/pull/84) > > You might still want the current implementation though, because many machines may still run an older kernel (or no linux at all)...

Extended `prefault_mmap_pages` to use `MADV_POPULATE_READ` on Linux (using @Jesse-Bakker's memmap2 fork/branch). It's on [1791-madv-prefault-read] branch (I was gonna name it 1791-madv-**populate**-read, but I'm stupid 🫤). Works a bit worse than...

Although, we should also: - move `RUST_BUILD_PROFILE` to the point right before its first use - move everything regarding `mold` after `RUN apt-get ...` and `RUN rustup ...` `ARG` directives...

> does that mean that we don't keep internal connections open anymore? Do we need to establish an internal connection on each request? See here: https://github.com/qdrant/qdrant/issues/1907#issuecomment-1552836443. TL;DR: the option name...

@generall Do we want config parameter to enable/disable MMAP disk-cache preheat? 🤔

@timvisee @agourlay Is this stupid? Am I going mad? So sorry you have to review this, guys. 🙈