Arduino releases a power management library for Arduino Pro modules to optimize power consumption

Arduino Portenta C33 Power Management Library Battery Monitoring

Arduino has released a new power management library designed for Arduino Pro modules to help users monitor battery usage, fine-tune charging parameters, and optimize the power consumption of their Arduino code by notably enabling sleep and standby modes on supported devices. Currently, the Arduino Portenta H7 boards, the Arduino Portenta C33, and the Nicla Vision module are supported by the new power management library. The company explains some boards consume under 100 microamperes in deep sleep mode enabling months or even years of continuous runtime on a single charge, so making use of those features is important to lower the power consumption of battery-powered IoT devices and wearables. Arduino power management library key features: Battery monitoring – Reports battery metrics such as voltage, current, percentage, and temperature. Battery health tracking – Monitors battery health with detailed insights into temperature and reported capacity. Charging control – Monitors and adjusts charging parameters […]

Android support for 16KB page size boosts performance by up to 10 percent

Android 16KB page size

Most operating systems are set to use a 4KB page size since that’s what most CPUs support, but Android is often running on Arm CPUs that can support 16KB page size. So Google decided to enable 16 KB page size as a developer option in selected Android devices since it can deliver a 5 to 10% boost in performance, at the cost of using around 9% extra memory. Contrary to 32-bit/64-bit mode, a page size is not an Application Binary Interface (ABI), so once an application is fixed to be page size agnostic, it can run on both 4 KB and 16 KB devices without modifications. Apps written with Java or Kotlin don’t need modifications, but those that use native code (C/C++) or dependencies must be recompiled for compatibility with 16 KB page size devices. Google provides some details about the benefits of 16 KB page sizes on the developer […]

NUMA emulation patch boosts Geekbench 6 benchmark results by up to 18% on Raspberry Pi 5

Raspberry Pi 5 NUMA emulation

Igalia Engineer, Tvrtko Ursulin has recently submitted a patch to the Linux kernel adding a NUMA (Non-Uniform Memory Access) emulation implementation for arm64 platforms that boosts the performance of 64-bit Arm targets by “splitting the physical RAM into chunks and utilizing an allocation policy to better utilize parallelism in physical memory chip organization”.

The NUMA emulation implementation was tested on a Raspberry Pi 5 SBC and the Geekbench 6 single-core score improved by 6%, while the multi-core score boosted by 18% after splitting into four emulated NUMA nodes. In other words, that’s like having a Broadcom BCM2712 CPU overclocked from 2.4 GHz up to 2.83 GHz.

Ubuntu 24.04 LTS “Noble Numbat” released with Linux 6.8, up to 12 years of support

Ubuntu 24.04 release

Canonical has just released Ubuntu 24.04 LTS “Noble Numbat” distribution a little over two years after Ubuntu 22.04 LTS “Jammy Jellyfish” was released. The new version of the operating system comes with the recent Linux 6.8 kernel, GNOME 46, and a range of updates and new features we’ll discuss in this post. As a long-term support release, Ubuntu 24.04 LTS gets a 12-year commitment for security maintenance and support, with five years of free security maintenance on the main Ubuntu repository, and Ubuntu Pro extending that commitment to 10 years on both the main and universe repositories (also free for individuals and small companies with up to 5 devices). This can be extended a further 2-year, or 12 years in total, for Ubuntu Pro subscribers who purchase the Legacy Support add-on. Canonical explains the Linux 6.8 kernel brings improved syscall performance, nested KVM support on ppc64el, and access to the […]

Google’s Jpegli open-source library can compress high quality images 35% more than traditional JPEG codecs

Jpegli ELO score vs other JPEG libraries

Google has released the Jpegli open-source library for advanced JPEG coding that maintains backward compatibility while delivering an up to 35% compression ratio improvement at high-quality compression settings. Google Research has been working on improving the compression of data (Brotli), audio (e.g. Lyra V2), and images with a project such as WebP for many years in order to speed up the web and make it consume less bandwidth for dollar savings and lower carbon emissions.  Jpegli is their latest project and aims to improve the compression ratio of legacy JPEG files on systems were modern compression such as WebP may not be available or desirable. Jpegli highlights: Support both an encoder and decoder complying with the original JPEG standard (8-bit) and offering API/ABI compatibility with libjpeg-turbo and MozJPEG. Focus on high-quality results with up to 35% better compression ratio. Just as fast as libjpeg-turbo and MozJPEG. Support for 10+ bits […]

Some Raspberry Pi 5 boards can be overclocked up to 3.14 GHz (and run just fine)

Raspberry Pi 5 overclocked 3.14 GHz

The Raspberry Pi 5 is advertised as a single board computer with a CPU clocked up to 2.4 GHz, but some of the boards can run stably at a higher frequency, and Jeff Geerling found out one of his boards could be overclocked up to 3.14 GHz with no issues when running a stress test. The Raspberry Pi 5 already delivers a two to three-times jump in performance against the previous generation Raspberry Pi 4 SBC when clocked at 2.4 GHz, but some already overclocked their up to 3.0 GHz, and many thought it was the maximum limit. But a recent firmware release proved them wrong, as it turns out some Raspberry Pi 5 boards can boot at 3.2 GHz and run stably at 3.14 GHz with an adequate cooling solution. The voltage was also adjusted in the config.txt to more or less safe settings. Contrary to the photo above, […]

Embedded Open Source Summit 2024 schedule – Embedded Linux, Zephyr OS, and Real-time Linux

Embedded Open Source Summit 2024

The Embedded Open Source Summit 2024 (EOSS 2024) will take place on April 16-18 and the Linux Foundation has already announced the schedule with conference sessions, lightning talks, and birds of a feather (BoF) sessions covering embedded Linux, Zephyr OS, and real-time (RT) Linux. While I won’t be attending in person, I still find it interesting to check out the schedule as we may learn more about the current status of embedded Linux. So I’ve created my own little virtual schedule out of the available talks. Tuesday, April 16 – Day 1, Embedded Open Source Summit 2024 9:05 – 9:45 – No, It’s (Still) Never Too Late to Upstream Your Legacy Linux-Based Platforms by Neil Armstrong, Linaro Nearly 7 years ago, Neil already spoke about this subject in Berlin, and it’s still very true. Do you maintain or used to maintain a Linux-based board or SoC off-tree? Then there are […]

Android 15 Developer Preview released – What’s New?

Android 15

Google has just released the first Android 15 Developer Preview with some improvements related to privacy and security, the addition of the partial screen sharing feature, camera and audio improvements, and some new performance optimization that developers can leverage when running games or other demanding applications. User privacy and security in Android 15 Android 15 features the latest version of the Privacy Sandbox on Android to improve user privacy while enabling personalized advertising experiences for mobile apps, the Heatlth Connect by Android adds support for new data types related to fitness, nutrition, and more, and the File integrity manager implement new APIs making use of the fs-verity feature that was added to the Linux 5.4 kernel so that files can be protected by custom cryptographic signatures. Partial screen sharing is a completely new feature in Android 15 that allows users to share or record an app window rather than the […]

EmbeddedTS embedded systems design