Open githubmanticore opened 1 year ago
➤ Sergey Nikolaev commented:
Tested the version which does mmap for .spd/.spp:
A little bit strange that the first run is faster than 2nd and 3rd.
So in both cases better than w/o mmap, but unfortunately mmap can't solve the main problem of this test. Under the memory constraint elastic is still more optimal.
The following shows that in some cases Manticore requires more RAM than Elasticsearch to provide the same performance. The task is to figure out what we can do to optimize it.
The test is currently deployed in /home/snikolaev/docker_repo/hn on our dev. server.
How to reproduce anywhere:
git clone git@gitlab.com:manticoresearch/docker.git manticore_docker
cd manticore_docker/hn
docker-compose build
chmod 777 es/volume/
docker-compose up elasticsearch
docker-compose up logstash
to stop increasing (at 11654351)
./prepare.sh
to merge all Lucene index segments into onedocker-compose down
docker-compose up elasticsearch
docker-compose up manticore
, change the port in docker-compose.yml if the default one is in use, e.g.:In this case update the port in test_manticore.sh as well.
test_manticore.sh
.\ What the tests do:test_elastic.sh
What I see is:
Information about Lucene index format can be found here: