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

泰晓Linux系统盘,不用安装,即插即跑
请稍侯

泰晓资讯·8 月 / 第三期 / 2024

unicornx 创作于 2024/08/29

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

Linux 内核最新消息

Torvalds 在本周初发布了 Linux 6.11-rc5。由于 Linus Torvalds 本周需要外出去香港参加 Open-Source Summit China,所以发布工作提前了大约半天。Linus Torvalds 在他的公告中说:

“So I normally do the releases on a Sunday early afternoon, but I’m in an unusual timezone, and that would have been almost a full day earlier than usual. So I delayed things to the point where it was at least Sunday back home, even if not even remotely afternoon.

Other than the timing, there’s not a whole lot unusual here. The diffstat looks fairly flat, which means “mostly pretty small changes”. There’s a couple of bumps here and there, but nothing worrisome: the biggest of them is in fact just a selftest update. The bulk of the (non-selftest) patches are in drivers (networking and gpu dominating - as is tradition), with some filesystem updates (bcachefs, but also smb and erofs), and the rest being mostly core networking and some architecture updates.”

rc5 中合入了针对 Bcachefs 补丁减肥的工作。以及对实验性 CoW 文件系统的各种较小修复。Linux 6.11-rc5 还为华硕 ROG Ally X 带来了 HID quirk 修复。Linux 6.11 的稳定版按照计划会在 9 月中旬发布。

https://www.kernel.org/ updated by 2024/8/29

分支类型版本发布时间
mainline6.11-rc52024-08-25
stable6.10.62024-08-19
longterm6.6.472024-08-19
longterm6.1.1062024-08-19
longterm5.15.1652024-08-19
longterm5.10.2242024-08-19
longterm5.4.2822024-08-19
longterm4.19.3202024-08-19
linux-nextnext-202408282024-08-28

关键词: Linux

实验性 Schedutil 补丁发布,可提升应用运行效率 30%

Google engineer Qais Yousef has posted a set of 16 patches for the “Schedutil” scheduler utilization code within the Linux kernel to better manage system response time. Schedutil is often used by default on many Linux distributions and with these patches a popular web browser benchmark can be as much as 30% faster with these kernel patches.

来自 Google 的工程师 Qais Yousef 针对 “Schedutil” 发布了一组包含 16 个补丁的补丁集,以更好地管理系统响应时间。Schedutil 通常在许多 Linux 发行版上默认使用。打上该补丁后使用流行的 Web 浏览器基准测试发现运行效率可提升 30%。

Qais Yousef 在上周二发布了这个补丁集,这个补丁集实际上是他去年发布的补丁系列的新版本,删除了 CPUFreq 调度程序代码中针对 margings 的硬编码部分。

在这个新补丁集的 cover letter “[RFC PATCH 00/16] sched/fair/schedutil: Better manage system response time” 中 Qais 介绍了为了更好地管理系统响应时间而涉及的所有底层工作的技术细节。从其提供的测试数据可以看出,运行 Speedometer 这款浏览器调度程序基准打分从 352 提高到了 456,增加了 29.5%。

如果这些补丁能够被合入主线,我们可以在更多的平台上测试内核的功耗和性能,这将非常有趣。

新闻出处,“Experimental Schedutil Patches Yield 30% Boost To Web Browser Benchmark On Linux”: https://www.phoronix.com/news/Schedutil-30p-Speedometer-Boost

关键词: Linux, Schedutil

Linus Torvalds 后悔合并了 Bcachefs

There’s been some Friday night kernel drama on the Linux kernel mailing list… Linus Torvalds has expressed regrets for merging the Bcachefs file-system and an ensuing back-and-forth between the file-system maintainer.

上周五的 Linux 内核邮件列表中突然热闹起来。首先是 Linus Torvalds 表示后悔合并了 Bcachefs 文件系统,以及与该文件系统维护者之间发生了一些争论。

这周五,一组修复代码提交到当前开发阶段的 Linux 6.11。除了一些小的修复外,剩下的两个 “修复” 都很大,一个是有关 rhashtable 转换,另一个新建了一个用于管理 BTree key cache 中空闲列表的据结构。后者消除了 BTree 密钥缓存锁,并避免了某些多线程工作负载中可能出现的一些锁争用。

但是这个标记为 “fixes” 的 pull request 涉及 1000 多行代码的改动。针对 Bcachefs 这么大的改动如果是放在合并窗口关闭后第一次提交或许是合适的,但在进度上我们现在已经过了 Linux 6.11 开发周期的一半以上。而且这个 PR 从严格意义上来看也不是简单的错误修复,而是更像是添加新特性。Linus Torvalds 感觉难以接收并回复 PR 说:“This is getting beyond ridiculous.” 并且表示他有点后悔过早合并了 bcachefs (“The bcachefs patches have become these kinds of “lots of development during the release cycles rather than before it”, to the point where I’m starting to regret merging bcachefs.” )。

对此,Kent 回应并争辩说 “Bcachefs is definitely more trustworthy than Btrfs”,并表示他正在努力使其比 xfs 和 ext4 更健壮可靠以及其他热情洋溢的评论。

Torvalds 随后反驳说,目前并没有任何主要的 Linux 发行版使用 Bcachefs,所以我们仍然应该遵循 Linux 内核发布规则,并且 1000+ 行的“fixes” 补丁肯定会引入新的错误。我们可以看到在 Linux 内核邮件列表上上周五晚上这样的邮件来回了好几封。

最终 Bcachefs 的 “fixes” PR 未被接受,而且我们目前也没有看到新的更新过的 PR 被提交。

新闻出处,“Linus Torvalds Begins Expressing Regrets Merging Bcachefs”: https://www.phoronix.com/news/Linus-Torvalds-Bcachefs-Regrets

关键词: Linux, Bcachefs

Google 为 Android 支持 16KB 页面

Google Android engineers have shared a status update on bringing support for 16KB page size handling to Android. In moving from a 4KB to 16KB page size, Google has found a 5~10% performance boost but at the cost of around ~9% additional RAM usage.

Google Android 工程师分享了有关为 Android 提供 16KB 页面大小处理支持的状态更新。将 Page 大小从 4KB 扩大到 16KB 后,Google 发现性能提升了 5~10%,但代价是额外使用了大约 9% 的 RAM。

目前市面上还没有发布使用 16KB 页面大小的 Android 设备,但 Android 15 已经能够支持在 4KB 和 16KB 页面大小之间切换。首批支持 16KB 的 Android 系统将作为开发人员选项提供,以帮助测试和确保应用程序开发人员能够正确测试更大的页面大小。

Google 在 Android 15 中对 16KB 页面大小的兼容性进行了调整,Google 提供的所有操作系统二进制文件现在都是 16KB 对齐的,并且 EROFS 和 F2FS 等文件系统已为使用 16KB 页面做好准备。

为了支持 16KB 页面,在内核层面 Google 的做法是为 4KB 和 16KB 的 Page size 的系统镜像各自制作对应的内核版本,官方的描述如下:

“When built for 16 KB pages, the same binary will work with 4 KB and 16 KB devices, however the Linux kernel has to be separate. In order to solve this problem, we’ve added a way to include an extra kernel you can switch to as a developer option. Incrementally compressed, with one copy for each page size and takes ~12-16 MB of space on disk.

Using the 16 KB developer option will require wiping the device once and an unlocked bootloader. Following flashing, developers will be able to switch between a 4 KB and 16 KB mode by toggling the developer option over a reboot.”

如果希望了解有关 Android 的 16KB 页面大小支持以产生更高性能的更多信息,可以访问 Android 开发人员博客(https://android-developers.googleblog.com/2024/08/adding-16-kb-page-size-to-android.html)了解更多信息。

新闻出处,“Google Making Progress On 16KB Page Size For Android”: https://www.phoronix.com/news/Android-16KB-Page-Size-Progress

关键词: Android, Page

Ubuntu 24.10 将使用 Linux 6.11 内核

Thanks to the Canonical decision to commit to shipping the very latest upstream Linux kernels in Ubuntu releases moving forward, Ubuntu 24.10 shipping in October will have the Linux 6.11 kernel that is debuting as stable in mid-September. Canonical’s kernel engineers are currently preparing for rolling out that new kernel version in the Oracular Oriole archive.

由于 Canonical 决定承诺在未来的 Ubuntu 版本中提供最新的上游 Linux 内核,因此 10 月发布的 Ubuntu 24.10 将具有 Linux 6.11 内核,该内核将于 9 月中旬首次稳定发布。Canonical 的内核工程师目前正在准备在 Oracular Oriole 档案中推出新的内核版本。

内核的 feature freeze 计划是在 9 月 12 日,这与 Linux 6.11 的发布周期会发生冲突,后者将大约在同一时间发布其稳定版本,但 Canonical 的新内核版本策略将确保 Ubuntu 24.10 使用 Linux 6.11。

目前,基于 Linux 6.11 的 RC 候选版本内核可以在 “oracular-proposed” 包存档中找到,供那些运行 Ubuntu 24.10 日常构建并希望帮助测试新内核版本的人用来与目前 Ubuntu 24.04 LTS 中的 Linux 6.8 做对比。

目前针对 Ubuntu 24.10 的 Linux 6.11 上的 Ubuntu Discourse 更新确实带有警告,即由于发布紧凑,在发布时可能存在一些已知问题:

“Given the current schedule of the upstream 6.11 development cycle, with 6.11-rc5 released on 2024-08-25, Ubuntu 24.10 will be considered a Tight Release from the kernel standpoint. This means that the Ubuntu 6.11 kernel included in the 24.10 release might have some limitations or known issues that will be addressed after the release.”

Ubuntu 24.10 的 Linux 6.11 内核是使用 GCC 14 编译器构建的,并且还带有由 Canonical 维护的新 AppArmor / Stacking LSM 补丁集。

新闻出处,“Ubuntu 24.10 Prepares To Employ The Linux 6.11 Kernel”: https://www.phoronix.com/news/Ubuntu-24.10-Preps-Linux-6.11

关键词: Ubuntu, Linux

Sovereign Tech Fund 宣布对 FreeBSD 进行重大投资

In addition to the recent news of AMD and FreeBSD Foundation collaborating over improvements, some more good news for this leading BSD open-source project is the Sovereign Tech Fund (STF) now beginning to invest in FreeBSD.

除了最近 AMD 和 FreeBSD 基金会合作的消息外,对于这个领先的 BSD 开源项目来说,更多的好消息是 Sovereign Tech Fund(STF) 将对 FreeBSD 进行投资。

位于德国的 Sovereign Tech Fund 实力强大,它为 GNOME 、Rustls、Coreutils uutils 和其他开源项目提供了资金。最新的消息是 Sovereign Tech Fund 于本周一宣布,他们将投资 686,400 欧元来帮助实现 FreeBSD 基础设施的现代化。

STF 对 FreeBSD 的资金支持将持续到 2025 年,用于 zero-trust builds、CI/CD 自动化、降低项目的技术债务、增强安全控制以及进行其他改进。

有关 FreeBSD 基金会这一重要新资金的更多详细信息,请访问 FreeBSD 基金会博客(https://freebsdfoundation.org/blog/sovereign-tech-fund-to-invest-e686400-in-freebsd-infrastructure-modernization/)。

新闻出处,“Sovereign Tech Fund Announces Significant Investment Into FreeBSD”: https://www.phoronix.com/news/Sovereign-Tech-Fund-FreeBSD

关键词: Sovereign Tech Fund, FreeBSD

Wireshark 4.4 发布

Wireshark 4.4 has been released as the newest version of this leading network protocol analyzer. Wireshark 4.4 brings many new and improved features.

Wireshark 作为一款领先的网络协议分析器,发布了最新版本 4.4。Wireshark 4.4 带来了许多新功能和改进功能。

在 Wireshark 4.4 中,现在支持自动配置文件切换,以便将显示筛选器与配置文件关联,然后在打开与筛选器匹配的捕获文件时,将切换到该配置文件。

Wireshark 4.4 还改进了其 I/O Graphs、Flow Graph / VoIP Calls、TCP Stream Graphs 和其他 UI 对话框。更新后的 WireShark 还支持 Lua 5.3/5.4、改进的显示过滤器、支持针对 zlib-ng 进行构建以及各种其他改进。值得关注的是 Wireshark 4.4 在支持的新协议上有大量的扩展。

新闻出处,“Wireshark 4.4 Released For This Leading Network Protocol Analyzer”: https://www.phoronix.com/news/Wireshark-4.4-Released

关键词: Wireshark

联系我们

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

tinylab wechat



Read Album:

Read Related:

Read Latest: