Language Selection

English French German Italian Portuguese Spanish

Kernel: Firmware, AMD, Cleancache, and More

Filed under
Linux
  • Linux is Getting an Exciting New Firmware Feature » Linux Magazine

    Intel is bringing a new driver to the 5.17 kernel that will make it possible to update firmware without a reboot.

    When you upgrade your motherboard firmware (such as the BIOS or UEFI), you have to reboot your system. Thanks to a new patch from Intel, both BIOS and UEFI updates can be done without forcing a reboot.

    How is this possible? Currently, an upgrade is done by uploading the firmware from within the operating system. The desktop or server is then rebooted, at which point the firmware is transferred to the motherboard and is flashed to either the BIOS or UEFI. However, there’s a new API specification, called Platform Firmware Runtime Update and Telemetry (PFRUT), which makes it possible to flash the firmware without the reboot. Intel has been working on PFRUT (previously dubbed Seamless Update) for quite a while now, in order to reduce downtime for servers. The idea is to enable such machines to reach that mythical 100% uptime.

  • AMD P-State Driver To Premiere In Linux 5.17 With Aim To Deliver Better Power Efficiency - Phoronix

    The AMD P-State driver that has been available in patch form since September and stems from AMD's collaborations with Valve around the Steam Deck will be introduced to mainline with the upcoming Linux 5.17 kernel.

    After going through several rounds of patch review the past number of months, the AMD P-State driver as an alternative to the common ACPI CPUFreq driver is going mainline. This AMD P-State driver relies on ACPI CPPC (Collaborative Processor Performance Controls) for making finer CPU frequency scaling / performance state decisions than what is afforded by ACPI CPUFreq. But because of the dependence on ACPI CPPC information, it only supports Zen 2 processors and newer. Additionally, CPPC functionality must be enabled by the system firmware/BIOS as well otherwise you will continue needing to use CPUFreq.

  • Another feature hit Mainline Linux : CleanCache/ transcendent memory

    Last week has been a good week for a number of projects we have been working on at Oracle (in cooperation with others or helping out others in the linux kernel development community)...
    I wrote a blog entry earlier about how all the Linux kernel bits to be a complete Dom0 and DomU kernel on top of Xen have been committed to the mainline Linux tree. Shortly after Linus pulled that set of changes in, he also merged something called CleanCache.

    Cleancache is something that's actually very cool, has huge potential to make running VMs super optimized/performant/efficient and is the result of quite a bit of research and experimentation.

    At the end of the blog I will have a few links that point to more information regarding the topic as it's actually quite complex to get into great detail.

    cleancache is a way for the kernel to put away pages that can disappear at any point in time, as would normally be the case when it would discard cache pages. However using the cleancache method, if at some point in time that page would still be useful, it might still exist and as such doesn't have to come back from disk.

  • Linux's CleanCache Set To Be Cleaned From The Kernel After Being Hyped Up A Decade Ago - Phoronix

    Merged into the mainline Linux kernel a decade ago was the CleanCache patch series but now it's set to be retired.

    Merged today into Linux-Next as part of Andrew Morton's patches is the removal of CleanCache. Why? Because, well, there are no more users left. Since the removal of the Xen Transcendent Memory (TMEM) driver code in 2019, CleanCache hasn't had any users left but still living within the kernel.

    CleanCache was developed by Oracle engineers and at the time it was introduced they announced it as "something that's actually very cool, has huge potential to make running VMs super optimized/performant/efficient and is the result of quite a bit of research and experimentation."

  • Radeon Linux Driver Adds Option To Limit Number Of Enabled CUs - Phoronix

    The RadeonSI Gallium3D and RADV Vulkan drivers within Mesa 22.0 have now added an override for controlling the number of enabled compute units (CUs) for the graphics processor. 

    Longtime AMD open-source Mesa developer Marek Olšák introduced this new AMD_CU_MASK= environment variable override as a way of controlling the number of CUs enabled -- to artificially limit the number of compute units enabled -- for both RadeonSI and RADV drivers. 

  • It's 2022 But AMD's Open-Source OpenGL Driver Isn't Done Being Optimized - Phoronix

    After the many years now that AMD's RadeonSI Gallium3D driver has been seeing relentless optimizations for GCN and now RDNA GPUs paired with the fact more Linux games targeting Vulkan (or going through Direct3D to Vulkan), one might think in 2022 that the OpenGL driver optimization efforts would let up... But that doesn't appear to be the case with well known AMD RadeonSI developer Marek Olšák pursuing yet more optimizations. 

    Over the course of 2021 were still significant RadeonSI improvements made even with this open-source Linux OpenGL driver performing similar to -- or in numerous cases exceeding -- the performance provided by AMD's proprietary cross-platform OpenGL driver. RadeonSI for years has been excellent for OpenGL gaming performance and last year even seen a lot of work optimizing on OpenGL workstation workloads. The workstation optimization focus of last year for RadeonSI was very apparent where as traditionally that was one of the strongholds for AMD's proprietary OpenGL driver. 

More in Tux Machines

digiKam 7.7.0 is released

After three months of active maintenance and another bug triage, the digiKam team is proud to present version 7.7.0 of its open source digital photo manager. See below the list of most important features coming with this release. Read more

Dilution and Misuse of the "Linux" Brand

Samsung, Red Hat to Work on Linux Drivers for Future Tech

The metaverse is expected to uproot system design as we know it, and Samsung is one of many hardware vendors re-imagining data center infrastructure in preparation for a parallel 3D world. Samsung is working on new memory technologies that provide faster bandwidth inside hardware for data to travel between CPUs, storage and other computing resources. The company also announced it was partnering with Red Hat to ensure these technologies have Linux compatibility. Read more

today's howtos

  • How to install go1.19beta on Ubuntu 22.04 – NextGenTips

    In this tutorial, we are going to explore how to install go on Ubuntu 22.04 Golang is an open-source programming language that is easy to learn and use. It is built-in concurrency and has a robust standard library. It is reliable, builds fast, and efficient software that scales fast. Its concurrency mechanisms make it easy to write programs that get the most out of multicore and networked machines, while its novel-type systems enable flexible and modular program constructions. Go compiles quickly to machine code and has the convenience of garbage collection and the power of run-time reflection. In this guide, we are going to learn how to install golang 1.19beta on Ubuntu 22.04. Go 1.19beta1 is not yet released. There is so much work in progress with all the documentation.

  • molecule test: failed to connect to bus in systemd container - openQA bites

    Ansible Molecule is a project to help you test your ansible roles. I’m using molecule for automatically testing the ansible roles of geekoops.

  • How To Install MongoDB on AlmaLinux 9 - idroot

    In this tutorial, we will show you how to install MongoDB on AlmaLinux 9. For those of you who didn’t know, MongoDB is a high-performance, highly scalable document-oriented NoSQL database. Unlike in SQL databases where data is stored in rows and columns inside tables, in MongoDB, data is structured in JSON-like format inside records which are referred to as documents. The open-source attribute of MongoDB as a database software makes it an ideal candidate for almost any database-related project. This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo‘ to the commands to get root privileges. I will show you the step-by-step installation of the MongoDB NoSQL database on AlmaLinux 9. You can follow the same instructions for CentOS and Rocky Linux.

  • An introduction (and how-to) to Plugin Loader for the Steam Deck. - Invidious
  • Self-host a Ghost Blog With Traefik

    Ghost is a very popular open-source content management system. Started as an alternative to WordPress and it went on to become an alternative to Substack by focusing on membership and newsletter. The creators of Ghost offer managed Pro hosting but it may not fit everyone's budget. Alternatively, you can self-host it on your own cloud servers. On Linux handbook, we already have a guide on deploying Ghost with Docker in a reverse proxy setup. Instead of Ngnix reverse proxy, you can also use another software called Traefik with Docker. It is a popular open-source cloud-native application proxy, API Gateway, Edge-router, and more. I use Traefik to secure my websites using an SSL certificate obtained from Let's Encrypt. Once deployed, Traefik can automatically manage your certificates and their renewals. In this tutorial, I'll share the necessary steps for deploying a Ghost blog with Docker and Traefik.