Preload index to filesystem cache in Elasticsearch 1.4


(Alex Shumskiy) #1

In later versions of ES there is setting "index.store.preload". Is there a way to preload index to the filesystem cache in ES 1.4?


(Lee Hinman) #2

Hi Alex,

First, please upgrade when you can!

Second, there isn't a way to do this with 1.4, the only way I could think of would be to use a tool like vmtouch - http://hoytech.com/vmtouch/ to load the files into the filecache automatically (externally from ES).

Additionally, I think warmers may have been around in the 1.4 error, you could register an index warmer with the query you want to have the files loaded into the filesystem cache and see if that help also (though, as a warning, warmers were removed in later versions of ES, so I don't recommend relying on them long-term)


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.