{"id":79051,"date":"2020-04-23T19:43:32","date_gmt":"2020-04-23T17:43:32","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/novyj-metod-upravleniya-pamyatyu-ot-facebook"},"modified":"2020-04-23T19:43:32","modified_gmt":"2020-04-23T17:43:32","slug":"novyj-metod-upravleniya-pamyatyu-ot-facebook","status":"publish","type":"post","link":"https:\/\/prohoster.info\/hu\/blog\/news\/novyj-metod-upravleniya-pamyatyu-ot-facebook","title":{"rendered":"Az \u00faj mem\u00f3ria kezel\u00e9si m\u00f3dszer a Facebookt\u00f3l","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>A k\u00f6z\u00f6ss\u00e9gi h\u00e1l\u00f3zat fejleszt\u0151csapat\u00e1nak egyik tagja <strong>Facebook<\/strong>, <strong>Roman Guccin<\/strong>, a fejleszt\u0151k h\u00edrlevel\u00e9ben javasolt egy <strong>Linux kernelhez k\u00e9sz\u00fclt jav\u00edt\u00e1scsomagot<\/strong>, amely a mem\u00f3ria kezel\u00e9s\u00e9nek jav\u00edt\u00e1s\u00e1ra ir\u00e1nyul egy \u00faj vez\u00e9rl\u0151 megval\u00f3s\u00edt\u00e1s\u00e1val \u2014  <strong>slab (slab mem\u00f3ria vez\u00e9rl\u0151)<\/strong>.<\/p>\n<p><strong>A slab eloszt\u00e1s<\/strong> \u2013 ez egy mem\u00f3ria kezel\u00e9si mechanizmus, amely a mem\u00f3ria hat\u00e9konyabb eloszt\u00e1s\u00e1ra \u00e9s a jelent\u0151s fragment\u00e1ci\u00f3 megsz\u00fcntet\u00e9s\u00e9re k\u00e9sz\u00fclt. Ennek az algoritmusnak az alapja az, hogy meg\u0151rizz\u00fck a kib\u00e9relt mem\u00f3ri\u00e1t, amely egy adott t\u00edpus\u00fa objektumot tartalmaz, \u00e9s azt \u00fajra felhaszn\u00e1ljuk a k\u00f6vetkez\u0151 kib\u00e9rel\u00e9s sor\u00e1n ugyanazon t\u00edpus\u00fa objektumhoz. Ezt a m\u00f3dszert Jeff Bonwick vezette be a SunOS-ban, \u00e9s mostanak sz\u00e9les k\u00f6rben haszn\u00e1lj\u00e1k sz\u00e1mos Unix oper\u00e1ci\u00f3s rendszer kernelj\u00e9ben, bele\u00e9rtve a FreeBSD-t \u00e9s a Linuxot.<\/p>\n<p>Az \u00faj vez\u00e9rl\u0151 alapja, hogy a slab nyilv\u00e1ntart\u00e1s\u00e1t a mem\u00f3ria oldalszintj\u00e9r\u0151l a kernel objektumszintj\u00e9re helyezik \u00e1t, amely lehet\u0151v\u00e9 teszi, hogy egy slab-oldalt k\u00fcl\u00f6nb\u00f6z\u0151 cgroup-okban osszanak meg, ahelyett, hogy minden cgroup sz\u00e1m\u00e1ra k\u00fcl\u00f6n gyors\u00edt\u00f3t\u00e1rat osztan\u00e1nak ki.<\/p>\n<p>A teszteredm\u00e9nyek szerint a javasolt mem\u00f3ria-menedzsment m\u00f3dszer lehet\u0151v\u00e9 teszi a <strong>hat\u00e9konys\u00e1g<\/strong> n\u00f6vel\u00e9s\u00e9t a slab <strong>ak\u00e1r 45%<\/strong>, valamint cs\u00f6kkenti az oper\u00e1ci\u00f3s rendszer kernel\u00e9nek \u00f6sszes mem\u00f3riafogyaszt\u00e1s\u00e1t. Tov\u00e1bb\u00e1 a slab oldalak sz\u00e1m\u00e1nak cs\u00f6kkent\u00e9s\u00e9vel a mem\u00f3ria t\u00f6redezetts\u00e9ge is cs\u00f6kken, ami pozit\u00edvan hat a rendszer teljes\u00edtm\u00e9ny\u00e9re.<\/p>\n<p>Az \u00faj vez\u00e9rl\u0151t m\u00e1r t\u00f6bb h\u00f3napja tesztelik a Facebook munkahelyi szerverein, \u00e9s eddig ez a tesztel\u00e9s sikeresnek mondhat\u00f3: a teljes\u00edtm\u00e9ny \u00e9s a hib\u00e1k sz\u00e1m\u00e1nak n\u00f6veked\u00e9se n\u00e9lk\u00fcl \u00e9szlelhet\u0151en cs\u00f6kkent a mem\u00f3riafogyaszt\u00e1s \u2014 n\u00e9mely szervereken ak\u00e1r 1 GB-tal is. Ez a sz\u00e1m meglehet\u0151sen szubjekt\u00edv, p\u00e9ld\u00e1ul a kor\u00e1bban elv\u00e9gzett tesztek kiss\u00e9 kisebb eredm\u00e9nyeket mutattak:<\/p>\n<ul>\n<li>650-700 MB a webes frontenden<\/li>\n<li>750-800 MB az adatb\u00e1zis gyors\u00edt\u00f3t\u00e1r\u00e1val rendelkez\u0151 szerveren<\/li>\n<li>700 MB a DNS-szerveren<\/li>\n<\/ul>\n<p><noindex><noindex><\/p>\n<p>&gt;&gt;&gt; <a rel=\"nofollow\" href=\"https:\/\/github.com\/rgushchin\">A szerz\u0151 GitHub oldala<\/a><\/p>\n<p><\/noindex><\/noindex><br \/>\n<noindex><\/p>\n<p>&gt;&gt;&gt; <a rel=\"nofollow\" href=\"https:\/\/lwn.net\/Articles\/798605\/\">A korai tesztek eredm\u00e9nyei<\/a><\/p>\n<p><\/noindex><\/p>\n<p>Forr\u00e1s: <a \ncontent=\"nofollow\" rel=\"nofollow\" href=\"http:\/\/www.linux.org.ru\/news\/linux-general\/15659654\">linux.org.ru<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u041e\u0434\u0438\u043d \u0438\u0437 \u0447\u043b\u0435\u043d\u043e\u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0441\u043e\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0435\u0442\u0438 Facebook, \u0420\u043e\u043c\u0430\u043d \u0413\u0443\u0449\u0438\u043d, \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0438\u043b \u0432 \u0440\u0430\u0441\u0441\u044b\u043b\u043a\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 \u043d\u0430\u0431\u043e\u0440 \u0438\u0437 \u043f\u0430\u0442\u0447\u0435\u0439 \u0434\u043b\u044f \u044f\u0434\u0440\u0430 Linux, \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0445 \u043d\u0430 \u0443\u043b\u0443\u0447\u0448\u0435\u043d\u0438\u0435 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u043f\u0430\u043c\u044f\u0442\u044c\u044e \u0447\u0435\u0440\u0435\u0437 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e \u043d\u043e\u0432\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043e\u043d\u043e\u0439 &#8212; slab (slab memory \u0441ontroller). \u0420\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u0435 slab &ndash;\u2013 \u044d\u0442\u043e \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043f\u0430\u043c\u044f\u0442\u044c\u044e, \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044b\u0439 \u0434\u043b\u044f \u0431\u043e\u043b\u0435\u0435 \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u043f\u0430\u043c\u044f\u0442\u0438 \u0438 \u0443\u0441\u0442\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0439 \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438. \u041e\u0441\u043d\u043e\u0432\u043e\u0439 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-79051","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.3 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u041e\u0434\u0438\u043d \u0438\u0437 \u0447\u043b\u0435\u043d\u043e\u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0441\u043e\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0435\u0442\u0438 Facebook, \u0420\u043e\u043c\u0430\u043d \u0413\u0443\u0449\u0438\u043d, \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0438\u043b \u0432 \u0440\u0430\u0441\u0441\u044b\u043b\u043a\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 \u043d\u0430\u0431\u043e\u0440 \u0438\u0437 \u043f\u0430\u0442\u0447\u0435\u0439 \u0434\u043b\u044f \u044f\u0434\u0440\u0430 Linux, \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0445 \u043d\u0430 \u0443\u043b\u0443\u0447\u0448\u0435\u043d\u0438\u0435.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/hu\/blog\/news\/novyj-metod-upravleniya-pamyatyu-ot-facebook\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.3\" \/>\n\t\t<meta property=\"og:locale\" content=\"hu_HU\" \/>\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\udd47\u041d\u043e\u0432\u044b\u0439 \u043c\u0435\u0442\u043e\u0434 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043f\u0430\u043c\u044f\u0442\u044c\u044e \u043e\u0442 Facebook | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041e\u0434\u0438\u043d \u0438\u0437 \u0447\u043b\u0435\u043d\u043e\u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0441\u043e\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0435\u0442\u0438 Facebook, \u0420\u043e\u043c\u0430\u043d \u0413\u0443\u0449\u0438\u043d, \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0438\u043b \u0432 \u0440\u0430\u0441\u0441\u044b\u043b\u043a\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 \u043d\u0430\u0431\u043e\u0440 \u0438\u0437 \u043f\u0430\u0442\u0447\u0435\u0439 \u0434\u043b\u044f \u044f\u0434\u0440\u0430 Linux, \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0445 \u043d\u0430 \u0443\u043b\u0443\u0447\u0448\u0435\u043d\u0438\u0435.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/hu\/blog\/news\/novyj-metod-upravleniya-pamyatyu-ot-facebook\" \/>\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=\"2020-04-23T17:43:32+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-04-23T17:43:32+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\udd47\u00daj mem\u00f3ria-menedzsment m\u00f3dszer a Facebookt\u00f3l | ProHoster","description":"A k\u00f6z\u00f6ss\u00e9gi h\u00e1l\u00f3zat Facebook fejleszt\u0151csapat\u00e1nak egyik tagja, Roman Guccin, a fejleszt\u0151k h\u00edrlevel\u00e9ben egy Linux kernelhez k\u00e9sz\u00fclt jav\u00edt\u00e1scsomagot javasolt, amely a fejleszt\u00e9s jav\u00edt\u00e1s\u00e1ra ir\u00e1nyul.","canonical_url":"https:\/\/prohoster.info\/hu\/blog\/news\/novyj-metod-upravleniya-pamyatyu-ot-facebook","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"hu_HU","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\udd47\u041d\u043e\u0432\u044b\u0439 \u043c\u0435\u0442\u043e\u0434 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043f\u0430\u043c\u044f\u0442\u044c\u044e \u043e\u0442 Facebook | ProHoster","og:description":"\u041e\u0434\u0438\u043d \u0438\u0437 \u0447\u043b\u0435\u043d\u043e\u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0441\u043e\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u0435\u0442\u0438 Facebook, \u0420\u043e\u043c\u0430\u043d \u0413\u0443\u0449\u0438\u043d, \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0438\u043b \u0432 \u0440\u0430\u0441\u0441\u044b\u043b\u043a\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 \u043d\u0430\u0431\u043e\u0440 \u0438\u0437 \u043f\u0430\u0442\u0447\u0435\u0439 \u0434\u043b\u044f \u044f\u0434\u0440\u0430 Linux, \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0445 \u043d\u0430 \u0443\u043b\u0443\u0447\u0448\u0435\u043d\u0438\u0435.","og:url":"https:\/\/prohoster.info\/hu\/blog\/news\/novyj-metod-upravleniya-pamyatyu-ot-facebook","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":"2020-04-23T17:43:32+00:00","article:modified_time":"2020-04-23T17:43:32+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"79051","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":null,"breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-02-28 16:45:35","updated":"2022-10-04 14:15:03","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts\/79051","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/comments?post=79051"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts\/79051\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/media?parent=79051"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/categories?post=79051"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/tags?post=79051"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}