{"id":5075,"date":"2014-05-27T14:27:18","date_gmt":"2014-05-27T12:27:18","guid":{"rendered":"http:\/\/blog.zhaw.ch\/icclab\/?p=5075"},"modified":"2014-07-23T15:49:36","modified_gmt":"2014-07-23T13:49:36","slug":"ceilometer-performance-issues","status":"publish","type":"post","link":"https:\/\/blog.zhaw.ch\/icclab\/ceilometer-performance-issues\/","title":{"rendered":"Ceilometer Performance issues"},"content":{"rendered":"<p><em>Update: This does not apply to Icehouse. This flag was to activate an experimental feature \u00a0-this option no longer exists in Icehouse. (It is in Havana, however).<\/em><\/p>\n<p>There have been <a href=\"http:\/\/readwrite.com\/2013\/11\/18\/can-openstack-be-saved-from-itself\">some criticisms of the implementation of Ceilometer<\/a> (or <a href=\"http:\/\/docs.openstack.org\/icehouse\/install-guide\/install\/apt-debian\/content\/metering-service.html\">Telemetry<\/a> as of <a href=\"http:\/\/www.openstack.org\/software\/icehouse\/\">Icehouse<\/a>) &#8211; however, it&#8217;s still the main show in town for understanding what&#8217;s going on inside your Openstack.<\/p>\n<p>We&#8217;ve been doing a bit of work with it in multiple projects. In one of our efforts &#8211; pulling in energy info via <a href=\"http:\/\/docs.openstack.org\/developer\/ceilometer\/api\/ceilometer.energy.kwapi.html\">kwapi<\/a> &#8211; we noticed that Ceilometer really crawls to a halt with the API giving a response in 20s when trying to enter just a single energy consumption data point. (Yes, it might make more sense to batch these up&#8230;). For our simple scenario, this performance was completely unworkable.<\/p>\n<p>Our Ceilometer installation just used the basic <a href=\"http:\/\/docs.mirantis.com\/fuel\/fuel-4.0\/\">Mirantis Fuel v4.0<\/a> which installed a variant of <a href=\"http:\/\/www.openstack.org\/software\/havana\/\">Havana<\/a>. The db backend was mysql (chosen by Fuel) and we just went with the default configuration parameters.<\/p>\n<p>There are known performance issues with Ceilometer (<a href=\"https:\/\/bugs.launchpad.net\/ceilometer\/+bug\/1264434\">issue<\/a>, <a href=\"https:\/\/docs.google.com\/presentation\/d\/1QJW3bMmlPJkGRjgd2EoBYUasA_75oinsIGQQ_FHtHqY\/edit#slide=id.g1dc125ad0_0276\">presentation mentioning it<\/a>, <a href=\"http:\/\/lists.openstack.org\/pipermail\/openstack\/2014-February\/005498.html\">mailing list discussion<\/a>) and it seems that Icehouse has made some significant strides in improving performance of Ceilometer\/Telemetry; however, we have not managed to perform the upgrade as yet &#8211; maybe some of these issues have already been fixed.<\/p>\n<p>For our work, we were able to significantly improve the performance of the Ceilometer API by activating (experimental!) thread pooling on the db: this had the effect of making entering single energy consumption data points take less than one second (down from 20s) and a larger query of the list of available meters took 5s compared to a previous 34s. It just involved setting<\/p>\n<pre>use_tpool=true<\/pre>\n<p>in <code>\/etc\/ceilometer\/ceilometer.conf<\/code> and bingo &#8211; significant uptick in performance (for our small, experimental system).<\/p>\n<p>Not sure how widely applicable this is, and not sure if it&#8217;s realistic for production environments &#8211; for our experimental system, it turned an unworkable system into something which is usable (but certainly not speedy!)<\/p>\n<p>&nbsp;<\/p>\n<div class=\"pt-sm\">Schlagw\u00f6rter: <a href=\"https:\/\/blog.zhaw.ch\/icclab\/tag\/ceilometer\/\">Ceilometer<\/a>, <a href=\"https:\/\/blog.zhaw.ch\/icclab\/tag\/monitoring\/\">monitoring<\/a>, <a href=\"https:\/\/blog.zhaw.ch\/icclab\/tag\/openstack\/\">openstack<\/a><br><\/div>","protected":false},"excerpt":{"rendered":"<p>Update: This does not apply to Icehouse. This flag was to activate an experimental feature \u00a0-this option no longer exists in Icehouse. (It is in Havana, however). There have been some criticisms of the implementation of Ceilometer (or Telemetry as of Icehouse) &#8211; however, it&#8217;s still the main show in town for understanding what&#8217;s going [&hellip;]<\/p>\n","protected":false},"author":92,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[1,5,15],"tags":[65,225,240],"features":[],"class_list":["post-5075","post","type-post","status-publish","format-standard","hentry","category-allgemein","category-articles","category-howtos","tag-ceilometer","tag-monitoring","tag-openstack"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.2 (Yoast SEO v27.2) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Ceilometer Performance issues - Service Engineering (ICCLab &amp; SPLab)<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blog.zhaw.ch\/icclab\/ceilometer-performance-issues\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Ceilometer Performance issues\" \/>\n<meta property=\"og:description\" content=\"Update: This does not apply to Icehouse. This flag was to activate an experimental feature \u00a0-this option no longer exists in Icehouse. (It is in Havana, however). There have been some criticisms of the implementation of Ceilometer (or Telemetry as of Icehouse) &#8211; however, it&#8217;s still the main show in town for understanding what&#8217;s going [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blog.zhaw.ch\/icclab\/ceilometer-performance-issues\/\" \/>\n<meta property=\"og:site_name\" content=\"Service Engineering (ICCLab &amp; SPLab)\" \/>\n<meta property=\"article:published_time\" content=\"2014-05-27T12:27:18+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2014-07-23T13:49:36+00:00\" \/>\n<meta name=\"author\" content=\"Sean Murphy\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Sean Murphy\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/ceilometer-performance-issues\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/ceilometer-performance-issues\/\"},\"author\":{\"name\":\"Sean Murphy\",\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/#\/schema\/person\/c87a6eef7e1f4a152aeec5f8b9527b8d\"},\"headline\":\"Ceilometer Performance issues\",\"datePublished\":\"2014-05-27T12:27:18+00:00\",\"dateModified\":\"2014-07-23T13:49:36+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/ceilometer-performance-issues\/\"},\"wordCount\":335,\"commentCount\":3,\"keywords\":[\"Ceilometer\",\"monitoring\",\"openstack\"],\"articleSection\":[\"*.*\",\"Articles\",\"HowTos\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/blog.zhaw.ch\/icclab\/ceilometer-performance-issues\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/ceilometer-performance-issues\/\",\"url\":\"https:\/\/blog.zhaw.ch\/icclab\/ceilometer-performance-issues\/\",\"name\":\"Ceilometer Performance issues - Service Engineering (ICCLab &amp; SPLab)\",\"isPartOf\":{\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/#website\"},\"datePublished\":\"2014-05-27T12:27:18+00:00\",\"dateModified\":\"2014-07-23T13:49:36+00:00\",\"author\":{\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/#\/schema\/person\/c87a6eef7e1f4a152aeec5f8b9527b8d\"},\"breadcrumb\":{\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/ceilometer-performance-issues\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/blog.zhaw.ch\/icclab\/ceilometer-performance-issues\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/ceilometer-performance-issues\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Startseite\",\"item\":\"https:\/\/blog.zhaw.ch\/icclab\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Ceilometer Performance issues\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/#website\",\"url\":\"https:\/\/blog.zhaw.ch\/icclab\/\",\"name\":\"Service Engineering (ICCLab &amp; SPLab)\",\"description\":\"A Blog of the ZHAW Zurich University of Applied Sciences\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/blog.zhaw.ch\/icclab\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/#\/schema\/person\/c87a6eef7e1f4a152aeec5f8b9527b8d\",\"name\":\"Sean Murphy\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/4514cb0ddfe236fd05d5ddb715bc19e1e1e35dafa16bb1b911e6094d278211d6?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/4514cb0ddfe236fd05d5ddb715bc19e1e1e35dafa16bb1b911e6094d278211d6?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/4514cb0ddfe236fd05d5ddb715bc19e1e1e35dafa16bb1b911e6094d278211d6?s=96&d=mm&r=g\",\"caption\":\"Sean Murphy\"},\"url\":\"https:\/\/blog.zhaw.ch\/icclab\/author\/murp\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Ceilometer Performance issues - Service Engineering (ICCLab &amp; SPLab)","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/blog.zhaw.ch\/icclab\/ceilometer-performance-issues\/","og_locale":"en_US","og_type":"article","og_title":"Ceilometer Performance issues","og_description":"Update: This does not apply to Icehouse. This flag was to activate an experimental feature \u00a0-this option no longer exists in Icehouse. (It is in Havana, however). There have been some criticisms of the implementation of Ceilometer (or Telemetry as of Icehouse) &#8211; however, it&#8217;s still the main show in town for understanding what&#8217;s going [&hellip;]","og_url":"https:\/\/blog.zhaw.ch\/icclab\/ceilometer-performance-issues\/","og_site_name":"Service Engineering (ICCLab &amp; SPLab)","article_published_time":"2014-05-27T12:27:18+00:00","article_modified_time":"2014-07-23T13:49:36+00:00","author":"Sean Murphy","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Sean Murphy","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blog.zhaw.ch\/icclab\/ceilometer-performance-issues\/#article","isPartOf":{"@id":"https:\/\/blog.zhaw.ch\/icclab\/ceilometer-performance-issues\/"},"author":{"name":"Sean Murphy","@id":"https:\/\/blog.zhaw.ch\/icclab\/#\/schema\/person\/c87a6eef7e1f4a152aeec5f8b9527b8d"},"headline":"Ceilometer Performance issues","datePublished":"2014-05-27T12:27:18+00:00","dateModified":"2014-07-23T13:49:36+00:00","mainEntityOfPage":{"@id":"https:\/\/blog.zhaw.ch\/icclab\/ceilometer-performance-issues\/"},"wordCount":335,"commentCount":3,"keywords":["Ceilometer","monitoring","openstack"],"articleSection":["*.*","Articles","HowTos"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/blog.zhaw.ch\/icclab\/ceilometer-performance-issues\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/blog.zhaw.ch\/icclab\/ceilometer-performance-issues\/","url":"https:\/\/blog.zhaw.ch\/icclab\/ceilometer-performance-issues\/","name":"Ceilometer Performance issues - Service Engineering (ICCLab &amp; SPLab)","isPartOf":{"@id":"https:\/\/blog.zhaw.ch\/icclab\/#website"},"datePublished":"2014-05-27T12:27:18+00:00","dateModified":"2014-07-23T13:49:36+00:00","author":{"@id":"https:\/\/blog.zhaw.ch\/icclab\/#\/schema\/person\/c87a6eef7e1f4a152aeec5f8b9527b8d"},"breadcrumb":{"@id":"https:\/\/blog.zhaw.ch\/icclab\/ceilometer-performance-issues\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.zhaw.ch\/icclab\/ceilometer-performance-issues\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/blog.zhaw.ch\/icclab\/ceilometer-performance-issues\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Startseite","item":"https:\/\/blog.zhaw.ch\/icclab\/"},{"@type":"ListItem","position":2,"name":"Ceilometer Performance issues"}]},{"@type":"WebSite","@id":"https:\/\/blog.zhaw.ch\/icclab\/#website","url":"https:\/\/blog.zhaw.ch\/icclab\/","name":"Service Engineering (ICCLab &amp; SPLab)","description":"A Blog of the ZHAW Zurich University of Applied Sciences","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blog.zhaw.ch\/icclab\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/blog.zhaw.ch\/icclab\/#\/schema\/person\/c87a6eef7e1f4a152aeec5f8b9527b8d","name":"Sean Murphy","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/4514cb0ddfe236fd05d5ddb715bc19e1e1e35dafa16bb1b911e6094d278211d6?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/4514cb0ddfe236fd05d5ddb715bc19e1e1e35dafa16bb1b911e6094d278211d6?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4514cb0ddfe236fd05d5ddb715bc19e1e1e35dafa16bb1b911e6094d278211d6?s=96&d=mm&r=g","caption":"Sean Murphy"},"url":"https:\/\/blog.zhaw.ch\/icclab\/author\/murp\/"}]}},"_links":{"self":[{"href":"https:\/\/blog.zhaw.ch\/icclab\/wp-json\/wp\/v2\/posts\/5075","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.zhaw.ch\/icclab\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.zhaw.ch\/icclab\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.zhaw.ch\/icclab\/wp-json\/wp\/v2\/users\/92"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.zhaw.ch\/icclab\/wp-json\/wp\/v2\/comments?post=5075"}],"version-history":[{"count":9,"href":"https:\/\/blog.zhaw.ch\/icclab\/wp-json\/wp\/v2\/posts\/5075\/revisions"}],"predecessor-version":[{"id":5532,"href":"https:\/\/blog.zhaw.ch\/icclab\/wp-json\/wp\/v2\/posts\/5075\/revisions\/5532"}],"wp:attachment":[{"href":"https:\/\/blog.zhaw.ch\/icclab\/wp-json\/wp\/v2\/media?parent=5075"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.zhaw.ch\/icclab\/wp-json\/wp\/v2\/categories?post=5075"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.zhaw.ch\/icclab\/wp-json\/wp\/v2\/tags?post=5075"},{"taxonomy":"features","embeddable":true,"href":"https:\/\/blog.zhaw.ch\/icclab\/wp-json\/wp\/v2\/features?post=5075"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}