泰晓科技 -- 聚焦 Linux - 追本溯源,见微知著!
网站地址:https://tinylab.org

泰晓Linux知识星球:1300+知识点,520+用户
请稍侯

泰晓资讯·7月 / 第四期 / 2021

unicornx 创作于 2021/07/22

“泰晓资讯”,广泛报道 “Linux/开源” 业界资讯。欢迎广大读者投递相关资讯来源和素材,本站将进一步收集整理后发布给大家。

Linux 内核最新消息

https://lkml.org/lkml/2021/7/18/193

这周日(按照西方的习惯,周日是一周的开始哦)Linus Torvalds 发布了 Linux 5.14-rc2。考虑到 Linux 5.14 的合并窗口已过去一周,因此没有什么值得我们聊的新功能,但有很多修复。

相对于过去内核开发周期的 RC2 阶段,Linux 5.14-rc2 的修改要多得多。 正如 Torvalds 在 rc2 发布邮件中所写的,"Often rc2 ends up being fairly small and calm - either because people take a breather after the merge window, or because it takes a while for people to start reporting bugs. Not so this time. At least in pure number of commits, this is the biggest rc2 we've had during the 5.x cycle. Whether that is meaningful or not, who knows - it might be just random timing effects, or it might indicate that this release is not going to be one of those nice and calm ones. We'll just have to wait and see." 但他同时在邮件中继续补充说这并没有什么特别可怕的,现在开始担心还为时过早。

所以如果不出意外, 5.14 正式版本仍然按计划会在 9 月初发布。

https://www.kernel.org/

分支类型版本发布时间
mainline5.14-rc22021-07-18
stable5.13.42021-07-20
stable5.12.19 [EOL]2021-07-20
longterm5.10.522021-07-20
longterm5.4.1342021-07-20
longterm4.19.1982021-07-20
longterm4.14.2402021-07-20
longterm4.9.2762021-07-20
longterm4.4.2762021-07-20
linux-nextnext-202107222021-07-22

关键词: Linux

近期 Linux 内核的重要补丁(节选)

Architecture-specific

Core kernel

Development tools

关键词: Linux

微软内部的 Linux 发行版 “CBL-Mariner” 稳步走向成熟

Besides Azure Cloud Switch as a Linux platform created by Microsoft, the Windows company has also been developing CBL-Mariner (Common Base Linux) as their own internal albeit public and open-source Linux distribution.

作为由 Mi​​crosoft 创建的 Linux 平台,除了 Azure Cloud Switch 之外,还有一个叫做 CBL-Mariner(Common Base Linux)的项目,这是一款他们自己内部使用,但是开源的 Linux 发行版。

CBL-Mariner 不是桌面 Linux 而是服务器端 Linux,它被用于微软的云基础设施以及边缘产品和服务。CBL-Mariner 旨在为这些设备和服务提供一个一致的平台,并增强微软在 Linux 更新方面与时俱进的能力。

CBL-Mariner 的设计理念是通过提供一组小的通用核心软件包来满足云和边缘服务的普遍需求,同时允许各团队在通用核心之上根据需要引入额外的软件包。它是轻量级的发行版,只消耗非常小的磁盘和内存资源,可作为容器或容器主机使用。

CBL-Mariner 遵循 “默认安全(secure-by-default)” 原则,操作系统的大多数方面都以安全为重点。它包含加固内核、签名更新、ASLR、基于编译器的加固和防篡改日志等众多功能。所有 CBL-Mariner 安全功能都已罗列在 GitHub repo 中。

微软表示,开源 CBL-Mariner Linux 发行版是他们对广泛的 Linux 技术不断增加投资的一部分,就如同此前的 SONiC, Azure Sphere OS 和 Windows Subsystem for Linux (WSL) 等项目。此外这也是微软对开源承诺的兑现,以及对 Linux 社区的回馈。微软还表示,CBL-Mariner 不会改变他们对任何现有第三方 Linux 发行版的态度或承诺。

最近的 CBL-Mariner 1.0 更新于上周发布,升级到最新的 Linux 5.10 LTS 内核点版本,并合入了各种安全修复。通过 GitHub 项目 (https://github.com/microsoft/CBL-Mariner/releases/tag/1.0.20210628-1.0)可以了解有关这个 Microsoft Linux 发行版更新的详细信息。

更多关于 CBL-Mariner 的细节可以通过微软 Azure 团队的 Juan Manuel Rey 的这篇博文找到:https://blog.jreypo.io/2021/07/09/a-look-into-cbl-mariner-microsoft-internal-linux-distribution/

新闻出处,”Microsoft’s Internal Linux Distribution “CBL-Mariner” Continues Maturing”: https://www.phoronix.com/scan.php?page=news_item&px=Microsoft-CBL-Mariner-1.0 以及 “Microsoft has its own Linux distro called CBL-Mariner”: https://betanews.com/2021/07/12/microsoft-has-its-own-linux-distro-called-cbl-mariner/

关键词: Linux, Microsoft, CBL-Mariner

来自 Amazon 的 DAMON 补丁已为进入内核主线做好准备

At the start of 2020 Amazon engineers sent out a “request for comments” around DAMON as a new kernel feature to monitor data accesses and can be used for purposes like analyzing over-committed memory use, debugging, and other optimizations. DAMON has now seen thirty-four revisions to the patches but it looks like it could finally be in a state for mainlining in the Linux kernel.

2020 年初的时候,来自 Amazon 的工程师们就针对 DAMON (Data Access MONitor) 功能提交了 “request for comments”,这个新特性可以监控内核中的数据访问,我们可以基于该特性分析内存是否被过度使用、以及调试和其他优化等目的。 DAMON 补丁已经提交了 34 次修订,最新发布的 DAMON v34 补丁是基于 Linux 5.14-rc1 的内存管理开发分支重新构建的。在这个阶段,DAMON 代码本身并没有看到太多的改动。如果现阶段社区可以批准这个补丁的话,估计我们可以在 5.15 中看到 DAMON 的身影。

在 DAMON 的基础上,Amazon 工程师已经在开发附加功能,例如基于 DAMON 的主动内存回收(proactive memory reclamation.)。

至于当前使用 DAMON 后对内核的整体影响,根据补丁注释描述:DAMON 是轻量级的。启用它后系统内存使用量会增加 0.39%,但会使得系统的工作负载降低 1.16%。数据表明 DAMON 对于内存管理优化是准确且有效的。譬如一种基于 DAMON 的 THP (Transparent Huge Page)实验方案,即“ethp”,消除了 76.15% 的 THP 内存开销,同时获得了 51.25% 的 THP 加速。另一个基于 DAMON 的实验性 “proactive reclamation” 实现,即 “prcl”,减少了 93.38% 的 residential sets(??)和 23.63% 的系统内存占用,同时在最佳情况下(parsec3/freqmine)仅产生 1.22% 的运行时开销。通过内核邮件列表(https://lore.kernel.org/lkml/20210716081449.22187-1-sj38.park@gmail.com/)可以了解有关 Linux 当前 DAMON 实现的更多详细信息。

新闻出处,“Amazon’s DAMON Might Finally Be Ready For Upstreaming Into The Linux Kernel” https://www.phoronix.com/scan.php?page=news_item&px=Amazon-DAMON-v34

关键词: Linux, Amazon,DAMON

Intel 正在考虑收购 GlobalFoundries

The latest surprise news under Intel’s new leadership is that they are reported to be exploring a deal to acquire GlobalFoundries, the company ultimately formed when AMD decided in 2008 to spin off their semiconductor manufacturing business.

据华尔街日报报道,英特尔正在就以约 300 亿美元收购 GlobalFoundries 进行初步谈判。他们正在尝试收购 GlobalFoundries,它是 AMD 于 2008 年决定剥离其半导体制造业务时所成立的一家公司。谈判似乎仍处于早期阶段,据华尔街日报称,收购可能不包括 GlobalFoundries 本身,而是通过其主要利益相关者之一(如 Mubadala 投资公司)达成交易。报告指出,英特尔 + GloFo 这样的组合看上去成功可能性不大。

GlobalFoundries 在世界各地经营着许多晶圆厂,主要设在新加坡、纽约(美国)和德累斯顿(德国)。早在 2018 年,GlobalFoundries 就取消了他们的 7nm 工艺 (7LP),但仍在生产大量 12nm/14nm 及更大的芯片。 GlobalFoundries 仍然在为 AMD 和许多其他公司生产一些芯片。

收购 GlobalFoundries 将大幅扩大 Intel 代工服务的客户群,Intel 的代工服务由新任首席执行官 Pat Gelsinger 在今年早些时候成立,意图为更多外部公司制造芯片。在爆出 Intel 希望收购 GlobalFoundries 的消息几周前,据报道 Intel 还有兴趣收购 RISC-V 公司 SiFive。Intel 一直在加大对现有新的晶圆厂家的投资。

让我们拭目以待,看看与 GlobalFoundries 达成交易是否能够成功。

新闻出处,“Intel Reported To Be Looking At Acquiring GlobalFoundries” https://www.phoronix.com/scan.php?page=news_item&px=Intel-GloFo-30B-Deal-Talk

关键词: Intel, GlobalFoundries

GCC 11.2 RC1 发布用于测试

Three months after GCC 11.1 arrived as the first stable release of GCC 11, GCC 11.2 is set to be released soon while out today is the first and only planned release candidate.

GCC 11.1 作为 GCC 11 的第一个稳定版本发布三个月后,GCC 11.2 将很快发布,而近日发布的 11.2 RC1 是 11.2 的第一个也是唯一一个计划中发布的候选测试版本。其中包含了许多错误修复,这些修复已在上个季度后向移植(back-ported)到 GCC 11 稳定分支。 如果一切顺利,GCC 11.2 将在下周正式发布。

与此同时,GCC 12,作为 GNU Compiler Collection 的下一个主要版本,正基于 Git 主分支开发,目标是在 2022 年初发布。

新闻出处,“GCC 11.2 RC1 Compiler Punted For Testing” https://www.phoronix.com/scan.php?page=news_item&px=GCC-11.2-RC1

关键词: GCC

联系我们

资讯内容部分来自 “LWN.net“。如果您对某些 LWN 文章感兴趣(譬如希望获得全文翻译的)请扫描二维码加微信联系我们:

tinylab wechat



Read Album:

Read Related:

Read Latest: