{"id":3257,"date":"2021-09-11T20:13:29","date_gmt":"2021-09-11T19:13:29","guid":{"rendered":"https:\/\/kudzia.eu\/b\/?p=3257"},"modified":"2021-09-11T20:13:29","modified_gmt":"2021-09-11T19:13:29","slug":"20x-performance-difference-between-two-vms-running-the-same-version-of-elastic-opendistro","status":"publish","type":"post","link":"https:\/\/kudzia.eu\/b\/2021\/09\/20x-performance-difference-between-two-vms-running-the-same-version-of-elastic-opendistro\/","title":{"rendered":"20x performance difference between two VMs running the same version of Elastic opendistro"},"content":{"rendered":"<p>i&#8217;ve just spent way too much time trying to figure out why the same query run on one VM with elastic 0.1s while on another &#8211; 2s. both VMs were running on the same physical server, had the same amount of cores allocated. <\/p>\n<p>i&#8217;ve finally found it &#8211; there was a tiny difference in amount of RAM allocation. the faster one had:<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n&lt;memory unit='KiB'&gt;67108864&lt;\/memory&gt;\r\n&lt;currentMemory unit='KiB'&gt;67108864&lt;\/currentMemory&gt;\r\n<\/pre>\n<p>which is exactly 64 * 1024 * 1024 * 1024<\/p>\n<p>slower one had:<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n&lt;memory unit='KiB'&gt;65536000&lt;\/memory&gt;\r\n&lt;currentMemory unit='KiB'&gt;65536000&lt;\/currentMemory&gt;\r\n<\/pre>\n<p>this should teach me not to type those numbers by hand<\/p>\n","protected":false},"excerpt":{"rendered":"<p>i&#8217;ve just spent way too much time trying to figure out why the same query run on one VM with elastic 0.1s while on another &#8211; 2s. both VMs were running on the same physical server, had the same amount of cores allocated. i&#8217;ve finally found it &#8211; there was a tiny difference in amount [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[51],"tags":[49],"class_list":["post-3257","post","type-post","status-publish","format-standard","hentry","category-unimportant","tag-kvm"],"_links":{"self":[{"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/posts\/3257","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/comments?post=3257"}],"version-history":[{"count":1,"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/posts\/3257\/revisions"}],"predecessor-version":[{"id":3258,"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/posts\/3257\/revisions\/3258"}],"wp:attachment":[{"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/media?parent=3257"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/categories?post=3257"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/tags?post=3257"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}