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

泰晓RISC-V实验箱,不会吃灰,开箱即用
请稍侯

泰晓资讯·2 月 / 第二期 / 2023

unicornx 创作于 2023/02/09

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

Linux 内核最新消息

https://lkml.org/lkml/2023/2/5/213

Linus Torvalds 本周发布了 Linux 6.2 的第七个每周发布版本,稳定版本内核预计将在两周后发布。

Linux 6.2-rc7 的改动不大,通常 Linus Torvalds 会在下周发布稳定的内核版本,但由于 6.2 的合并窗口开始时间恰逢圣诞节和新年假期,这导致早期内核测试工作被延迟了,所以 Torvalds 之前表示这次将通过增加一个 rc8 版本来进行额外的测试。因此,虽然本周的开发和测试工作很轻松,但他仍然倾向于按照他之前的计划进行,所以 Linux 6.2 的稳定版估计会在 2 月 19 日发布。

Linus 在 6.2-rc7 的发布公告中的原话评论如下:

So the 6.2 rc releases are continuing to be fairly small and controlled, to the point where normally I’d just say that this is the last rc. But since I’ve stated multiple times that I’ll do an rc8 due to the holiday start of the release, that’s what I’ll do. And we do have a few regressions outstanding that Thorsten is tracking, so just as well.

Nothing in here looks all that scary, and we just have smallish fixes all over the tree, in all the usual places. I think the single biggest patch is a race fix to zsmalloc, which I guess is fairly unusual, but I think that’s more indicative of everything else being pretty small.

We’ve got driver fixes (gpu, networking, sound, but a smattering of other stuff too), some core mm stuff (that zsmalloc one dominating), various selftest updates, and just random other things.

https://www.kernel.org/ updated by 2023/02/09

分支类型版本发布时间
mainline6.2-rc72023-02-05
stable6.1.102023-02-06
stable6.0.19 [EOL]2023-01-12
longterm5.15.922023-02-06
longterm5.10.1672023-02-06
longterm5.4.2312023-02-06
longterm4.19.2722023-02-06
longterm4.14.3052023-02-06
linux-nextnext-202302082023-02-08

关键词: Linux

Linux 6.1 正式晋升为 LTS 内核

Linux 6.1 was widely anticipated to be a Long-Term Support (LTS) kernel with normally the last major release series for the calendar year normally promoted to LTS status. Greg Kroah-Hartman as the Linux stable maintainer went ahead today and formally recognized Linux 6.1 as the 2022 LTS kernel.

人们普遍预计 Linux 6.1 将会是下一个长期支持(LTS)内核,通常每年的最后一个主要版本系列会被提升为 LTS。作为 Linux 的稳定版本维护者,Greg Kroah-Hartman 于本周二(7日)正式承认 Linux 6.1 将成为 2022 的 LTS 内核。

Greg KH 曾经在去年 12 月的时候就有计划将 Linux 6.1 作为 LTS,但那是他还正在等待社区对 Linux 6.1 的测试结果的反馈,以及社区中那些会长期使用 6.1 内核的需求反馈。目前他和内核的共同维护者 Sasha Levin 终于收集了足够多的积极回应,因此下决心将 Linux 6.1 作为 LTS 系列进行维护。

截至目前,该计划是将 Linux 6.1 维护到 2026 年 12 月,这比当前的 5.15 LTS 系列的维护时间稍微长几个月(5.15 LTS 的维护截止日期是 2026 年 10 月)。随着时间的推移,或许我们将持续观察 6.1 LTS 的维护时间是否值得延长至六年乃至更长。然而,目前同时维护的 Linux LTS 系列的数量正在增长,它们是否值得继续最终将取决于行业中的主要用户使用这些内核的数量,以及有多少人能够持续地测试和改进这些版本。最初,Linux LTS 只是被标记为两年的维护期,现在已经更新为至少四年的维护期了。

随着 Linux 6.1 被正式确认为 LTS 版本,像 Debian 12(代号 “Bookworm”)之类的 Linux 操作系统发行版将开始使用这个内核版本。

新闻出处,“Linux 6.1 Officially Promoted To Being An LTS Kernel”: https://www.phoronix.com/news/Linux-6.1-LTS-Official

关键词: Linux, LTS

一个 Non-GNU 的 Linux 发行版

In development now for nearly two years is Chimera Linux as a “non-GNU” Linux distribution built with the LLVM Clang compiler, leveraging musl libc, and commonly relying on BSD user-space software components. After a lot of work on bringing up Chimera Linux as well as getting a Wayland-based deskttop going, the project is aiming for its alpha release within the next month.

作为一个 “non-GNU” 的 Linux 发行版,Chimera Linux 已经开发了近两年了,它使用 LLVM Clang 编译器进行构建,基于 musl 的 libc 库,在用户空间主要依赖 BSD 的软件。该项目在基于 Wayland 的桌面方面做了大量工作,最新的目标是争取在下个月内发布 alpha 版本。

Chimera Linux 的首席开发人员 Daniel Kolesa 上周末在 FOSDEM 上以 “BSD/LLVM distro from scratch.” 为主题做了演讲。Chimera Linux 自从将重点转移为 “BSD” Linux 发行版以来,一直采用 FreeBSD 的核心工具进行开发,使用 LLVM/Clang 而不是 GCC,并在 2021 年底实现了 self-booting。在软件包管理器上采用的是来自 Alpine Linux 的 apk。

虽然大多数 Linux 发行版都使用 systemd,但 Chimera Linux 决定使用 Dinit,这可能是第一个默认使用 Dinit 的 Linux发行版。在过去的一年里,Chimera Linux 已经成功地让现代 GNOME 桌面在 Wayland 上运行。

这个 BSD / LLVM 发行版目前的目标是在 12 月底或 2023 月初发布 alpha 版本。整个 alpha 开发周期预计将持续 6 到 12 个月,这期间重点是解决 libgcc 的兼容性问题,以获得更好的 Linux 二进制兼容性、对 D-Bus 的支持、进一步的系统强化和改进文档。

Daniel Kolesa 认为他的 BSD/Linux 作品 “nearing usability”,并希望在 3 月初发布 alpha 版本时,可以为早期的用户使用做好准备。那些希望了解更多信息的人可以观看 PDF 幻灯片(https://fosdem.org/2023/schedule/event/chimera_linux/attachments/slides/5397/export/events/attachments/chimera_linux/slides/5397/chimera_2023.pdf)和 FOSDEM 视频录像(https://video.fosdem.org/2023/AW1.120/chimera_linux.webm)。项目站点是:https://chimera-linux.org/

新闻出处,“A Non-GNU Linux Distribution Built With LLVM & BSD Software Aims For Alpha Next Month”: https://www.phoronix.com/news/BSD-LLVM-Linux-Alpha-Coming

关键词: Linux, non-GNU, BSD

GCC 13 现在为优化 AMD Zen 4 启用 512-bit Vector 支持

GNU Compiler Collection compiler expert Jan Hubicka at SUSE continues working on last-minute tweaks to the GCC 13 for benefiting AMD’s latest Zen 4 processors.

来自 SUSE 的 GCC 编译器专家 Jan Hubicka 继续致力于对 GCC 13 进行最后的调整,以便优化对 AMD 最新的 Zen 4 处理器的使用。

早在十月份,AMD 就为 GCC 13 提供了基本的针对 Zen 4 的补丁 “znver4”,而在过去两个月左右的时间里,SUSE 在 “znver4” 的基础上继续了大量的调优工作。

在过去的几周里,GCC 13 对 Zen 4 进行了大量调整,本周还合入了一个优化,赶在了下一个月或下下个月 GCC 13.1 稳定版本即将发布之前。

Hubicka 的新补丁为 Zen 4 启用了 512-bit 的 Vector 支持。在此之前,在针对 Zen 4 的 auto vectorizer 上编译器首选 256-bit 的 AVX 指令而不是 512-bit AVX 指令。然而,进一步的测试证明,使用 512-bit Vector 确实是最佳方法。

很高兴看到在 GCC 13.1 正式发布之前,Znver4 的进一步优化工作被合入了。如果能够将 GCC 13.1 和 AMD 的 AOCC 4.0 两者的编译结果在 Ryzen 7000 系列和 EPYC 9004 系列处理器上做一个性能对比将非常有趣。

LLVM/Clang 方面,在针对 Zen 4 的优化上目前还没有看到积极的进展。

新闻出处,“GCC 13 Now Enables 512-bit Vector For AMD Zen 4 Tuning”: https://www.phoronix.com/news/GCC-13-Zen-4-Znver4-512b-Vector

关键词: GCC, Zen 4, Vector

GNU Coreutils 的 Rust 实现更加成熟了

Coming about over the past two years has been uutils as a re-implementation of GNU Coreutils written within the Rust programming language. This Rust-based version of cp, mv, and other core utilities is reaching closer to parity with the widely-used GNU upstream and becoming capable of taking on more real-world uses.

uutils 作为用 Rust 编程语言重写的 GNU Coreutils 已经发展了有两年了。该软件包采用 Rust 实现了我们平时最最常用的 cp、mv 和其他命令,当前的程序版本在成熟度上正在接近我们广泛使用的 GNU 版本。

Debian 开发者 Sylvestre Ledru 在 COVID-19 大流行期间开始研究 Uutils,并于上周在 FOSDEM 2023 上介绍了他发起的 Coreutils 替换工作。

随着 uutils 的逐渐成熟,它已经被许多 Linux 发行版采纳,现在也被 “a famous social network via the Yocto project.” 使用。在 Sylvestre Ledru 的演讲中,他描述了这个项目的动机和为何使用 Rust,譬如在安全性、可移植性上的考虑,以及能够利用现有的 Rust 的基础库和巨大的性能潜力等。当前 Rust 编程语言的流行对该项目的发展也有帮助。

uutils 的目标是尝试创建 GNU Coreutils 的直接替代品,争取良好的跨平台支持以及方便测试。虽然 uutils 的性能目前看上去已经不错了,但还有很多的优化空间,包括对原有 GNU 版本的兼容性,以及完善一些命令中仍然缺少的选项支持。

Ledru 在 FOSDEM 2023 演讲结束时对 2024 年进行了一些预测,其中包括:“We will start to see cloud provider proposing images with Rust core components. We will see more and more piece of the core infrastructure of Linux improved with Rust.”

如果您希望了解更多关于这个 Rust 编写的 Coreutils 替代品,可以看一下 FOSDEM 演示视频(https://video.fosdem.org/2023/K.1.105%20(La%20Fontaine)/rust_coreutils.webm)以及这个幻灯片(https://sylvestre.ledru.info/presentations/coreutils-fosdem-2023/#1)。目前代码存放在 GitHub 上,地址是:https://github.com/uutils/coreutils

新闻出处,“The Rust Implementation Of GNU Coreutils Is Becoming Remarkably Robust”: https://www.phoronix.com/news/Rust-Coreutils-uutils-2023

关键词: Rust, Coreutils

联系我们

欢迎扫描二维码加微信联系我们:

tinylab wechat



Read Album:

Read Related:

Read Latest: