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

泰晓RISC-V实验箱,转战RISC-V,开箱即用
请稍侯

泰晓资讯·8 月 / 第一期 / 2023

unicornx 创作于 2023/08/09

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

Linux 内核最新消息

https://lkml.org/lkml/2023/8/6/197

Linus Torvalds 本周发布了 Linux 6.5-rc5,目标是在八月底左右推出稳定的 Linux 6.5 内核。

Linux 6.5 的开发依然相当顺利。Linus Torvalds 在 6.5-rc5 的发布公告中指出,到目前为止事情进展得相当不错:

“Things continue to look pretty normal. Not a huge number of commits, and most of the ones here are tiny.

The biggest patches tend to be soem of the continuing data-race annotations in networking, and a couple of network drivers with slightly bigger patches, but nothing that looks all that scary. And a lot of the patches here are trivial one- and few-liners.

The biggest hiccup last week was that I had correctable ECC memory errors in my machine and had to replace my DIMMs once again. But at least this time I got nice warnings about how my memory was going bad, so it was only a fleeting annoyance.

So go test. We still have a few regressions that are being chased, but it’s only rc5 and things look like they are under control.”

https://www.kernel.org/ updated by 2023/08/10

分支类型版本发布时间
mainline6.5-rc52023-08-06
stable6.4.92023-08-08
stable6.3.13 [EOL]2023-07-11
longterm6.1.442023-08-08
longterm5.15.1252023-08-08
longterm5.10.1892023-08-08
longterm5.4.2522023-08-08
longterm4.19.2902023-08-08
longterm4.14.3212023-08-08
linux-nextnext-202308092023-08-09

关键词: Linux

Linux 6.5 中 EXT4 性能将有很大改进

Ted Ts’o has submitted all the EXT4 feature changes for the Linux 6.5 merge window. EXT4 this round is seeing various clean-ups, bug fixes, and other enhancements but there is one performance optimization worth calling attention to.

Ted Ts’o 为 Linux 6.5 提交了所有有关 EXT5 的功能更改。EXT4 本轮进行了各种清理、错误修复和其他增强功能,其中有一个性能优化值得关注。

Linux 6.5 合入 EXT4 的优化补丁后将大大提高并行 direct I/O (DIO)的 overwrites 性能。来自 RedHat 的工程师 Brian Foster 致力于此优化,实现了并发未对齐的 DIO overwrites,看上去性能提高了很多。使用 FIO,添加这个补丁后测试用例从 8724 KiB/s 提高到 1565 MiB/s。

非常感谢 RedHat 的贡献。

更详细的介绍,请阅读新闻出处,“EXT4 With Linux 6.5 Will See Much Faster Parallel Direct I/O Overwrite Performance”: https://www.phoronix.com/news/Linux-6.5-EXT4

关键词: Linux,EXT4

Loongson 二进制翻译计划用于 Linux 6.6

Loongson Binary Translation (LBT) support for the Chinese LoongArch CPU architecture is slated for introduction in the upcoming Linux 6.6 cycle. Loongson Binary Translation aims to help speed-up and handle ARM / x86 / MIPS binary translation on LoongArch more efficiently with capable LoongArch processors.

针对来自中国的 LoongArch CPU 架构的龙芯二进制翻译(Loongson Binary Translation,简称 LBT)支持计划在即将到来的 Linux 6.6 中推出。龙芯二进制翻译旨在基于强大的 LoongArch 处理器对 ARM / x86 / MIPS 二进制翻译进行加速。

Loongson Binary Translation(LBT)是 LoongArch ISA 的一部分,目前支持针对 x86,ARM 和 MIPS 的扩展。这种加速二进制转换的方法公开了四个额外的暂存(scratch)寄存器,x86/ARM eflag 和一个 x87 FPU stack pointer。

通过 Linux 内核端的补丁,可以对这些暂存寄存器进行保存和恢复以供 LBT 使用,异常处理和维护 sigcontext。针对 Linux 内核的初始 LBT 支持目前放在 Loongson 内核树的 “loongarch-next” 分支上。因此,如果不出意外的话,它将被加入到即将到来的 Linux 6.6中。

新闻出处,“Loongson Binary Translation Slated For Linux 6.6 - Helping MIPS / x86 / ARM On LoongArch”: https://www.phoronix.com/news/LoongArch-LBT-Linux-6.6

关键词: Linux,Loongson

Linux 6.6 将增加更多针对 LoongArch 的特性支持

In addition to Loongson preparing Loongson Binary Translation (LBT) for LoongArch to help with MIPS / x86 / Arm binary translation on this domestic Chinese CPU architecture, additional LoongArch features are also now slated for introduction in the upcoming Linux 6.6 kernel cycle.

除了上一篇资讯中为大家介绍的在 LoongArch 上实现的 Loongson 二进制翻译(LBT)外,在即将到来的 Linux 6.6 内核周期中,还将加入更多其他针对 LoongArch 的功能。这些新特性包括:与 LoongArch SIMD 相关的工作,即在内核中启用 LSX 和 LASX 使用。在 Linux 6.5 中已经合入了部分对 LSX 和 LASX SIMD 的支持。而在 Linux 6.6 中将增加采用 SIMD 优化的 XOR 函数,SIMD recovery, SIMD syndrome 计算和其他相关新增功能。

Linux 6.6 中针对 LoongArch 也增加了一些通用的内核功能。包括 KFENCE 支持,内核 Sanitizer、Kcov coverage 和其他内核改进。Linux 6.6 带来的 LoongArch 的这些改进已经合入 loongarch-next Git 分支中,感兴趣的人可以查看。

新闻出处,“LoongArch Implementing More Kernel Features For Linux 6.6”: https://www.phoronix.com/news/Linux-6.6-More-LoongArch

关键词: Linux, LoongArch

针对 RISC-V 的 Debian 构建目前使用九个 HiFive 开发板

RISC-V is now an official Debian architecture for the Debian 13 “Trixie” release to happen in about two years time. Over the weekend a brief status update was issued surrounding this newest CPU architecture to be supported by the Debian GNU/Linux team. Arguably most interesting is how they are currently building out the Debian RISC-V packages.

RISC-V 现在已经成为 Debian 13 “Trixie” 的官方支持架构之一,Debian 13 大约两年后发布。上周末,Debian GNU/Linux 团队针对这个最新的 CPU 架构发布了一个简短的状态更新。可以说,令我们最感兴趣的是他们目前是如何构建 Debian RISC-V 软件包的。

Manuel Fernandez Montecelo 代表 Debian RISC-V 开发人员分享了 RISC-V Debian 打包的一些更新。RISC-V 的 Debian Sid 和 Experimental 存档现在大部分是空的,因为正在清理它们。

我们发现最有趣的是,对于 RISC-V 上的 Debian 构建,他们使用了九个 SiFive HiFive Unmatch 板。这基本上是他们目前可以使用的 RISC-V 64 位硬件的最佳解决方案。

一年多前,SiFive 将生产重点转移到了最终将成为下一代开发板的产品上。但就目前而言,HiFive Unmatch 仍然是性能最高,现成(尽管昂贵)的选择之一,该开发板集成了 U740 SoC 和 16GB DDR4 内存以及 PCIe 插槽和 NVMe M.2 存储。尽管 u740 的 HiFive 的性能和现代 x86_64 CPU 比起来还是有不少差距。

Debian 邮件列表公告中是这么介绍的,原文引用如下:

“The current build daemons consist in 9 HiFive Unmatched boards, graciously hosted at OSUOSL and MAN-DA.

While this should be sufficient to keep up with the port, we are aware that the build time for some packages is quite important. We are actively working on acquiring next generation RISC-V hardware, it is however challenging to get hardware that matches the requirements, especially being supported by the mainline Linux kernel. However, we are optimistic that it will happen before the release of Trixie, and we already have identified a few promising candidates.”

让我们看看他们在未来两年内会设法采购哪些硬件以及 RISC-V 开发板,以及这些硬件的性能会变得如何,这将是一件有趣的事情。HiFive Unmatch 在其刚刚推出时的确很棒,但我当然渴望看到 SiFive 接下来能够推出更多更好的开发板。

新闻出处,“Building Debian For RISC-V Currently Relies Upon Nine HiFive Unmatched Boards”: https://www.phoronix.com/news/Debian-9-HiFive-RISC-V-Boards

关键词: RISC-V, Debian, HiFive

GCC 13.2 发布

Released back in April was GCC 13.1 as the first stable release in the GCC 13 series that brought Modula-2 language support, more C++23/C23 features, and other new CPU targets supported from Arm to Intel. Debuting today is GCC 13.2 as the first point release in the series to ship dozens of bug fixes.

今年四月份的时候 GCC 发布了 13.1,这是 GCC 13 系列的第一个 stable release,13.1 它带来了对 Modula-2 语言的支持,以及引入了更多的 C++23/C23 的新特性,同时还支持了很多新的处理器,包括 ARM 和 Intel 的。七月底又发布了 GCC 13.2,该版本修复了数十个代码错误。

具体来说,GCC 13.2 修复了 58+ 个已知错误。此版本没有添加任何新功能,主要是错误修复,而下一个大版本 GCC 14 正在开发中,计划明年亮相。

新闻出处,“GCC 13.2 Released With 58+ Bugs Fixed”: https://www.phoronix.com/news/GCC-13.2-Released

关键词: GCC

GNU C 库 2.38 发布

Following the release this weekend of GNU Binutils 2.41, another important GNU software project just issued their latest update: the GNU C Library 2.38.

继上月底发布 GNU Binutils 2.41 之后,另一个重要的 GNU 软件项目刚刚发布了他们的最新更新:这就是 GNU C Library 2.38。

GNU C 库 (glibc) 2.38 发行版的亮点包括:

  • 继续启用 C2X 功能。
  • 在使用 GNU Binutils 2.40+ 和 GCC 13+ 情况下,实现了针对 x86_64 架构的 GNU Hurd 的支持。
  • 添加了从 OpenBSD 派生的 strlcpy 和 strlcat 函数,这些函数有望被列入未来的 POSIX 版本中。
  • 新的 “–enable-fortify-source” 配置选项。
  • 添加了 glibc.pthread.stack_hugetlb 配置项,以在 pthread_create() 时禁用堆栈分配中的 Transparent Hugepages(THP)。
  • 各种错误修复和至少一个安全修复。

新闻出处,“GNU C Library 2.38 Released With More C2X Features, x86_64 GNU Hurd Support”: https://www.phoronix.com/news/GNU-C-Library-glibc-2.38

关键词: GNU, libc

联系我们

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

tinylab wechat



Read Album:

Read Related:

Read Latest: