{"id":168915,"date":"2026-04-16T11:12:42","date_gmt":"2026-04-16T09:12:42","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/jemalloc-5-3-1"},"modified":"2026-04-16T11:12:42","modified_gmt":"2026-04-16T09:12:42","slug":"jemalloc-5-3-1","status":"publish","type":"post","link":"https:\/\/prohoster.info\/lv\/blog\/news\/jemalloc-5-3-1","title":{"rendered":"jemalloc 5.3.1","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p><noindex>      <noindex><\/p>\n<p>P\u0113c gandr\u012bz \u010detru gadu p\u0101rtraukuma (skat. &laquo;<a rel=\"nofollow\" href=\"https:\/\/www.linux.org.ru\/forum\/development\/17998612\">jemalloc viss<\/a>&raquo;) tika izlaista 5.3.1 alokatora versija <a rel=\"nofollow\" href=\"https:\/\/jemalloc.net\">tcmalloc<\/a> &ndash; malloc(3) realiz\u0101cija, kur\u0101 \u012bpa\u0161a uzman\u012bba tiek piev\u0113rsta fragment\u0101cijas nov\u0113r\u0161anai un skaidriem paralelisma atbalstam.<\/p>\n<p><\/noindex><\/noindex> <\/p>\n<p>Jaunaj\u0101 laidien\u0101 iek\u013cauti vair\u0101k nek\u0101 390 komiti, kas labo k\u013c\u016bdas, pievieno jaunas funkcijas, optimiz\u0113 veiktsp\u0113ju un uzlabo p\u0101rnesam\u012bbu.<\/p>\n<p>Projekts uzrakst\u012bts valod\u0101 C un tiek izplat\u012bts ar BSD licenci.<\/p>\n<p>Jaunas iesp\u0113jas:<\/p>\n<ul>\n<li>atbalsts pvalloc(3).<\/li>\n<li>dubult\u0101 atbr\u012bvo\u0161anas atkl\u0101\u0161ana atjauno\u0161anas izstr\u0101des versij\u0101;<\/li>\n<li>tika pievienota kompil\u0101cijas opcija &#8212;enable-pageid, lai iesp\u0113jotu atz\u012bm\u0113\u0161anu redzamaj\u0101 atmi\u0146\u0101.<\/li>\n<li>pievienots runtime parametrs prof_bt_max, lai kontrol\u0113tu maksim\u0101lo steka dzi\u013cumu profil\u0113\u0161anai;<\/li>\n<li>tika pievienota kompil\u0101cijas opcija &#8212;enable-force-getenv, lai izmantotu getenv, nevis secure_getenv;<\/li>\n<li>tika pievienota kompil\u0101cijas opcija &#8212;disable-dss, lai izsl\u0113gtu sbrk(2) izmanto\u0161anu;<\/li>\n<li>pievienota kompil\u0101cijas opcija tcache_ncached_max, lai kontrol\u0113tu elementu skaitu pavedienu ke\u0161\u0101.<\/li>\n<li>pievienots runtime parametrs calloc_madvise_threshold, lai noteiktu, vai tiek izmantots kodols vai memset, lai null\u0113tu pie\u0161\u0137irt\u0101s atmi\u0146as blokas, kad tiek izsaukta calloc;<\/li>\n<li>tika pievienota kompil\u0101cijas opcija &#8212;disable-user-config, lai izsl\u0113gtu konfigur\u0101ciju las\u012b\u0161anu no faila \/etc\/malloc.conf vai no vides main\u012bg\u0101 MALLOC_CONF;<\/li>\n<li>pievienots runtime parametrs disable_large_size_classes, lai nodro\u0161in\u0101tu jaun\u0101 pieejam\u0101 izm\u0113ra apr\u0113\u0137ina algoritma darb\u012bbu, kas minimiz\u0113 atmi\u0146as p\u0101rkl\u0101\u0161an\u0101s izmaksas, pie\u0161\u0137irot lielas atmi\u0146as blokas, t.i., ar izm\u0113ru &gt;= 4 * PAGE;<\/li>\n<li>iek\u013cauta process_madvise izmanto\u0161ana un pievienots runtime-parametrs process_madvise_max_batch, lai kontrol\u0113tu maksim\u0101lo atmi\u0146as re\u0123ionu skaitu katr\u0101 &laquo;partij\u0101&raquo; madvise;<\/li>\n<li>pievienoti mallctl interfeisi:\n<ul>\n<li>opt.prof_bt_max;<\/li>\n<li>arena.&lt;i&gt;.name, lai main\u012btu un ieg\u016btu &laquo;ar\u0113nu&raquo; nosaukumus;<\/li>\n<li>thread.tcache.max, lai main\u012btu un ieg\u016btu pa\u0161reiz\u0113j\u0101 pavediena tcache_max;<\/li>\n<li>thread.tcache.ncached_max.write un thread.tcache.ncached_max.read_sizeclass, lai main\u012btu un ieg\u016btu ncached_max pa\u0161reiz\u0113j\u0101 pavediena;<\/li>\n<li>arenas.hugepage, lai atgrieztu izmantoto hugepage lielumu, ko ar\u012b eksport\u0113 malloc statistik\u0101;<\/li>\n<li>approximate_stats.active, lai ieg\u016btu aptuveno pa\u0161reiz\u0113jo akt\u012bvo byte apjomu, kuru nevajadz\u0113tu sal\u012bdzin\u0101t ar citiem ieg\u016btiem statistikas datiem.<\/li>\n<\/ul>\n<\/li>\n<li>t\u0101pat nov\u0113rstas daudzas k\u013c\u016bdas un uzlabota dokument\u0101cija.<\/li>\n<\/ul>\n<p>Avots: <a \ncontent=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.linux.org.ru\/news\/development\/18266167\">linux.org.ru<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u041f\u043e\u0441\u043b\u0435 \u043f\u043e\u0447\u0442\u0438 \u0447\u0435\u0442\u044b\u0440\u0451\u0445\u043b\u0435\u0442\u043d\u0435\u0439 \u043f\u0430\u0443\u0437\u044b (\u0441\u043c. &laquo;jemalloc \u0432\u0441\u0451&raquo;) \u0441\u043e\u0441\u0442\u043e\u044f\u043b\u0441\u044f \u0432\u044b\u043f\u0443\u0441\u043a 5.3.1 \u0430\u043b\u043b\u043e\u043a\u0430\u0442\u043e\u0440\u0430 jemalloc &ndash; \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 malloc(3), \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043e\u0441\u043e\u0431\u043e\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u0443\u0434\u0435\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u0440\u0435\u0434\u043e\u0442\u0432\u0440\u0430\u0449\u0435\u043d\u0438\u044e \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u0438 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0435 \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0438\u0440\u0443\u0435\u043c\u043e\u0439 \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438. \u041d\u043e\u0432\u044b\u0439 \u0432\u044b\u043f\u0443\u0441\u043a \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u0432 \u0441\u0435\u0431\u044f \u0431\u043e\u043b\u0435\u0435 390 \u043a\u043e\u043c\u043c\u0438\u0442\u043e\u0432 \u0441 \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u043c \u043e\u0448\u0438\u0431\u043e\u043a, \u043d\u043e\u0432\u044b\u043c\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u043c\u0438, \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u0435\u0439 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0438 \u0443\u043b\u0443\u0447\u0448\u0435\u043d\u0438\u0435\u043c \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u0438\u043c\u043e\u0441\u0442\u0438. \u041f\u0440\u043e\u0435\u043a\u0442 \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 \u0421 \u0438 \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u044f\u0435\u0442\u0441\u044f \u043f\u043e \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0438 BSD. \u041d\u043e\u0432\u044b\u0435 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":8,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-168915","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.4 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u041f\u043e\u0441\u043b\u0435 \u043f\u043e\u0447\u0442\u0438 \u0447\u0435\u0442\u044b\u0440\u0451\u0445\u043b\u0435\u0442\u043d\u0435\u0439 \u043f\u0430\u0443\u0437\u044b (\u0441\u043c.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Erik Peterson\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/lv\/blog\/news\/jemalloc-5-3-1\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.4\" \/>\n\t\t<meta property=\"og:locale\" content=\"lv_LV\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47jemalloc 5.3.1 | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041f\u043e\u0441\u043b\u0435 \u043f\u043e\u0447\u0442\u0438 \u0447\u0435\u0442\u044b\u0440\u0451\u0445\u043b\u0435\u0442\u043d\u0435\u0439 \u043f\u0430\u0443\u0437\u044b (\u0441\u043c.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/lv\/blog\/news\/jemalloc-5-3-1\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2026-04-16T09:12:42+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-04-16T09:12:42+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47jemalloc 5.3.1 | ProHoster","description":"P\u0113c gandr\u012bz \u010detru gadu p\u0101rtraukuma (skat.","canonical_url":"https:\/\/prohoster.info\/lv\/blog\/news\/jemalloc-5-3-1","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"lv_LV","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47jemalloc 5.3.1 | ProHoster","og:description":"\u041f\u043e\u0441\u043b\u0435 \u043f\u043e\u0447\u0442\u0438 \u0447\u0435\u0442\u044b\u0440\u0451\u0445\u043b\u0435\u0442\u043d\u0435\u0439 \u043f\u0430\u0443\u0437\u044b (\u0441\u043c.","og:url":"https:\/\/prohoster.info\/lv\/blog\/news\/jemalloc-5-3-1","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2026-04-16T09:12:42+00:00","article:modified_time":"2026-04-16T09:12:42+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":[],"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/lv\/wp-json\/wp\/v2\/posts\/168915","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/lv\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/lv\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/lv\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/lv\/wp-json\/wp\/v2\/comments?post=168915"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/lv\/wp-json\/wp\/v2\/posts\/168915\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/lv\/wp-json\/wp\/v2\/media?parent=168915"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/lv\/wp-json\/wp\/v2\/categories?post=168915"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/lv\/wp-json\/wp\/v2\/tags?post=168915"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}