{"id":102845,"date":"2022-01-03T15:36:38","date_gmt":"2022-01-03T13:36:38","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/%d0%be%d0%bf%d1%83%d0%b1%d0%bb%d0%b8%d0%ba%d0%be%d0%b2%d0%b0%d0%bd-%d0%bd%d0%b0%d0%b1%d0%be%d1%80-%d0%bf%d0%b0%d1%82%d1%87%d0%b5%d0%b9-%d1%83%d1%81%d0%ba%d0%be%d1%80%d1%8f%d1%8e%d1%89%d0%b8%d1%85"},"modified":"2022-01-03T15:36:38","modified_gmt":"2022-01-03T13:36:38","slug":"%d0%be%d0%bf%d1%83%d0%b1%d0%bb%d0%b8%d0%ba%d0%be%d0%b2%d0%b0%d0%bd-%d0%bd%d0%b0%d0%b1%d0%be%d1%80-%d0%bf%d0%b0%d1%82%d1%87%d0%b5%d0%b9-%d1%83%d1%81%d0%ba%d0%be%d1%80%d1%8f%d1%8e%d1%89%d0%b8%d1%85","status":"publish","type":"post","link":"https:\/\/prohoster.info\/en\/blog\/news\/%d0%be%d0%bf%d1%83%d0%b1%d0%bb%d0%b8%d0%ba%d0%be%d0%b2%d0%b0%d0%bd-%d0%bd%d0%b0%d0%b1%d0%be%d1%80-%d0%bf%d0%b0%d1%82%d1%87%d0%b5%d0%b9-%d1%83%d1%81%d0%ba%d0%be%d1%80%d1%8f%d1%8e%d1%89%d0%b8%d1%85","title":{"rendered":"A set of patches has been released that speeds up the Linux kernel build by 50-80%.","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Ingo Molnar, a renowned Linux kernel developer and author of the Completely Fair Scheduler (CFS), has proposed a series of patches for discussion on the Linux kernel developers' mailing list. These patches impact more than half of all files in the kernel's source code and promise to increase the speed of full kernel recompilation by 50-80%, depending on the configuration. The implemented optimization is notable for introducing the largest set of changes in the history of kernel development \u2014 a total of 2,297 patches modifying over 25,000 files (10,000 header files in the \u2018include\/\u2019 and \u2018arch\/*\/include\/\u2019 directories and 15,000 source code files).         <\/p>\n<p>The performance gain is achieved by changing the method of processing header files. It is noted that after thirty years of kernel development, the state of header files has become deplorable due to a large number of cross-dependencies among files. The work on restructuring the header files took over a year and required significant reworking of the hierarchy and dependencies. During the restructuring, effort was made to separate type and API definitions for different kernel subsystems.    <\/p>\n<p>Among the changes made are: the separation of high-level header files from one another, the exclusion of linking header files for inline functions, the categorization of header files for types and APIs, and ensuring isolated compilation of header files (about 80 files had indirect dependencies that hindered compilation through other headers). Additionally, automatic addition of dependencies to '.h' and '.c' files, stepwise optimization of header files, use of the 'CONFIG_KALLSYMS_FAST=y' mode, and selective consolidation of C files into build blocks to reduce the number of object files were implemented.      <\/p>\n<p>As a result, the work completed has allowed for a reduction in the size of header files processed during the post-processing stage by 1-2 orders of magnitude. For example, prior to optimization, using the 'linux\/gfp.h' header file resulted in the addition of 13,543 lines of code and the inclusion of 303 dependent header files. After optimization, the size was reduced to 181 lines and 26 dependent files. Another example: during the preprocessing of the 'kernel\/pid.c' file without the patch, 94,000 lines of code are included, most of which are not used in pid.c. The separation of header files has allowed for a threefold decrease in the volume of processed code, reducing the number of lines processed to 36,000.      <\/p>\n<p>During a complete kernel rebuild using the command &#171;make -j96 vmlinux&#187; on a test system, applying patches resulted in a reduction of the build time for branch v5.16-rc7 from 231.34 to 129.97 seconds (from 15.5 to 27.7 builds per hour), as well as an increase in the CPU core usage efficiency during the build. In incremental builds, the optimization effect is even more pronounced \u2014 the time taken for a kernel rebuild after making changes to header files has decreased significantly (from 112% to 173% depending on the modified header file). Currently, optimizations are available only for ARM64, MIPS, Sparc, and x86 (both 32-bit and 64-bit) architectures.<br \/>\n<br \/>Source: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=56449\">opennet.ru<\/a> <\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0418\u043d\u0433\u043e \u041c\u043e\u043b\u043d\u0430\u0440 (Ingo Molnar), \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0439 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a Linux \u044f\u0434\u0440\u0430 \u0438 \u0430\u0432\u0442\u043e\u0440 \u043f\u043b\u0430\u043d\u0438\u0440\u043e\u0432\u0449\u0438\u043a\u0430 \u0437\u0430\u0434\u0430\u0447 CFS (Completely Fair Scheduler), \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0438\u043b \u0434\u043b\u044f \u043e\u0431\u0441\u0443\u0436\u0434\u0435\u043d\u0438\u044f \u0432 \u0441\u043f\u0438\u0441\u043a\u0435 \u0440\u0430\u0441\u0441\u044b\u043b\u043a\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 \u044f\u0434\u0440\u0430 Linux \u0441\u0435\u0440\u0438\u044e \u043f\u0430\u0442\u0447\u0435\u0439, \u0437\u0430\u0442\u0440\u0430\u0433\u0438\u0432\u0430\u044e\u0449\u0438\u0445 \u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u043b\u043e\u0432\u0438\u043d\u044b \u0432\u0441\u0435\u0445 \u0444\u0430\u0439\u043b\u043e\u0432 \u0432 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0445 \u0442\u0435\u043a\u0441\u0442\u0430\u0445 \u044f\u0434\u0440\u0430 \u0438 \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0432\u0430\u044e\u0449\u0438\u0445 \u0443\u0432\u0435\u043b\u0438\u0447\u0435\u043d\u0438\u0435 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438 \u043f\u043e\u043b\u043d\u043e\u0439 \u043f\u0435\u0440\u0435\u0441\u0431\u043e\u0440\u043a\u0438 \u044f\u0434\u0440\u0430 \u043d\u0430 50-80% \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a. \u0420\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u0430\u044f \u043e\u043f\u0442\u0438\u043c\u0438\u0437\u0430\u0446\u0438\u044f \u043f\u0440\u0438\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u0430 \u0442\u0435\u043c, \u0447\u0442\u043e \u043e\u043d\u0430 [&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-102845","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.2 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0418\u043d\u0433\u043e \u041c\u043e\u043b\u043d\u0430\u0440 (Ingo Molnar), \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0439 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a Linux \u044f\u0434\u0440\u0430 \u0438 \u0430\u0432\u0442\u043e\u0440 \u043f\u043b\u0430\u043d\u0438\u0440\u043e\u0432\u0449\u0438\u043a\u0430 \u0437\u0430\u0434\u0430\u0447 CFS (Completely Fair Scheduler), \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0438\u043b \u0434\u043b\u044f \u043e\u0431\u0441\u0443\u0436\u0434\u0435\u043d\u0438\u044f \u0432 \u0441\u043f\u0438\u0441\u043a\u0435 \u0440\u0430\u0441\u0441\u044b\u043b\u043a\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 \u044f\u0434\u0440\u0430 Linux \u0441\u0435\u0440\u0438\u044e \u043f\u0430\u0442\u0447\u0435\u0439, \u0437\u0430\u0442\u0440\u0430\u0433\u0438\u0432\u0430\u044e\u0449\u0438\u0445.\" \/>\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\/en\/blog\/news\/%d0%be%d0%bf%d1%83%d0%b1%d0%bb%d0%b8%d0%ba%d0%be%d0%b2%d0%b0%d0%bd-%d0%bd%d0%b0%d0%b1%d0%be%d1%80-%d0%bf%d0%b0%d1%82%d1%87%d0%b5%d0%b9-%d1%83%d1%81%d0%ba%d0%be%d1%80%d1%8f%d1%8e%d1%89%d0%b8%d1%85\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.2\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\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\u041e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d \u043d\u0430\u0431\u043e\u0440 \u043f\u0430\u0442\u0447\u0435\u0439, \u0443\u0441\u043a\u043e\u0440\u044f\u044e\u0449\u0438\u0445 \u0441\u0431\u043e\u0440\u043a\u0443 \u044f\u0434\u0440\u0430 Linux \u043d\u0430 50-80% | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0418\u043d\u0433\u043e \u041c\u043e\u043b\u043d\u0430\u0440 (Ingo Molnar), \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0439 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a Linux \u044f\u0434\u0440\u0430 \u0438 \u0430\u0432\u0442\u043e\u0440 \u043f\u043b\u0430\u043d\u0438\u0440\u043e\u0432\u0449\u0438\u043a\u0430 \u0437\u0430\u0434\u0430\u0447 CFS (Completely Fair Scheduler), \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0438\u043b \u0434\u043b\u044f \u043e\u0431\u0441\u0443\u0436\u0434\u0435\u043d\u0438\u044f \u0432 \u0441\u043f\u0438\u0441\u043a\u0435 \u0440\u0430\u0441\u0441\u044b\u043b\u043a\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 \u044f\u0434\u0440\u0430 Linux \u0441\u0435\u0440\u0438\u044e \u043f\u0430\u0442\u0447\u0435\u0439, \u0437\u0430\u0442\u0440\u0430\u0433\u0438\u0432\u0430\u044e\u0449\u0438\u0445.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/en\/blog\/news\/%d0%be%d0%bf%d1%83%d0%b1%d0%bb%d0%b8%d0%ba%d0%be%d0%b2%d0%b0%d0%bd-%d0%bd%d0%b0%d0%b1%d0%be%d1%80-%d0%bf%d0%b0%d1%82%d1%87%d0%b5%d0%b9-%d1%83%d1%81%d0%ba%d0%be%d1%80%d1%8f%d1%8e%d1%89%d0%b8%d1%85\" \/>\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=\"2022-01-03T13:36:38+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2022-01-03T13:36:38+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\udd47A set of patches has been released that speeds up the Linux kernel build by 50-80% | ProHoster","description":"Ingo Molnar, a well-known developer of the Linux kernel and creator of the Completely Fair Scheduler (CFS), has proposed a series of patches for discussion on the Linux kernel developers' mailing list.","canonical_url":"https:\/\/prohoster.info\/en\/blog\/news\/%d0%be%d0%bf%d1%83%d0%b1%d0%bb%d0%b8%d0%ba%d0%be%d0%b2%d0%b0%d0%bd-%d0%bd%d0%b0%d0%b1%d0%be%d1%80-%d0%bf%d0%b0%d1%82%d1%87%d0%b5%d0%b9-%d1%83%d1%81%d0%ba%d0%be%d1%80%d1%8f%d1%8e%d1%89%d0%b8%d1%85","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"en_US","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\u041e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d \u043d\u0430\u0431\u043e\u0440 \u043f\u0430\u0442\u0447\u0435\u0439, \u0443\u0441\u043a\u043e\u0440\u044f\u044e\u0449\u0438\u0445 \u0441\u0431\u043e\u0440\u043a\u0443 \u044f\u0434\u0440\u0430 Linux \u043d\u0430 50-80% | ProHoster","og:description":"\u0418\u043d\u0433\u043e \u041c\u043e\u043b\u043d\u0430\u0440 (Ingo Molnar), \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0439 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a Linux \u044f\u0434\u0440\u0430 \u0438 \u0430\u0432\u0442\u043e\u0440 \u043f\u043b\u0430\u043d\u0438\u0440\u043e\u0432\u0449\u0438\u043a\u0430 \u0437\u0430\u0434\u0430\u0447 CFS (Completely Fair Scheduler), \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0438\u043b \u0434\u043b\u044f \u043e\u0431\u0441\u0443\u0436\u0434\u0435\u043d\u0438\u044f \u0432 \u0441\u043f\u0438\u0441\u043a\u0435 \u0440\u0430\u0441\u0441\u044b\u043b\u043a\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 \u044f\u0434\u0440\u0430 Linux \u0441\u0435\u0440\u0438\u044e \u043f\u0430\u0442\u0447\u0435\u0439, \u0437\u0430\u0442\u0440\u0430\u0433\u0438\u0432\u0430\u044e\u0449\u0438\u0445.","og:url":"https:\/\/prohoster.info\/en\/blog\/news\/%d0%be%d0%bf%d1%83%d0%b1%d0%bb%d0%b8%d0%ba%d0%be%d0%b2%d0%b0%d0%bd-%d0%bd%d0%b0%d0%b1%d0%be%d1%80-%d0%bf%d0%b0%d1%82%d1%87%d0%b5%d0%b9-%d1%83%d1%81%d0%ba%d0%be%d1%80%d1%8f%d1%8e%d1%89%d0%b8%d1%85","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":"2022-01-03T13:36:38+00:00","article:modified_time":"2022-01-03T13:36:38+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"102845","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":"default","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":"2022-01-03 13:37:39","updated":"2022-09-27 19:57:07","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts\/102845","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/comments?post=102845"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/posts\/102845\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/media?parent=102845"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/categories?post=102845"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/en\/wp-json\/wp\/v2\/tags?post=102845"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}