In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > IT Information >
Share
Shulou(Shulou.com)11/24 Report--
CTOnews.com, December 28-Developer Thomas Weißschuh today released eight patch sets designed to reduce the maximum memory usage when compiling the Linux kernel. For developers compiling kernels in memory-constrained distributions, the new patch reduces Swap and version creation time.
CTOnews.com has learned that Weißschuh's patch set released today is mainly to reduce the maximum memory usage when compiling the Linux kernel. In particular, memory usage when using objtool to process vmlinux.o objects is also the most memory-intensive step in the kernel build process.
After installing today's patch set, peak memory usage was reduced by 3.7% when dealing with vmlinux.o, where malloc () related functions in the loop were passed to calloc () functions outside the loop; by 3.8% when compiling the kernel via Thomas, memory usage was reduced by reducing struct reloc memory usage; and by 0.5% by optimizing the layout of structural symbols. In addition, the patch set has been optimized in other aspects, but the degree of optimization is not obvious.
Simply put, this patch series under review should help reduce memory usage spikes when compiling the Linux kernel, which in turn helps compile the Linux kernel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.