BFQ (Budget Fair Queuing) I/O Scheduler Improves Linux Systems Responsiveness (Video)

BFQ Scheduler

Storage is normally the slowest part of a system, and operating systems such as Linux try to limit I/O access with “tricks” like caching. The I/O scheduler may also matter if you have multiple programs accessing the same drive, and in Linux 4.12 implemented two new multi-queue block I/O schedulers, namely BFQ (Budget Fair Queuing) and Kyber that are meant to improve the performance of the systems. If you’re using Linux 5.2 you may even get further improvements since performance tweaks make application start-up times under load to be up to 80% faster. I have never seen BFQ in action so far, but earlier this year, Paolo Valente, who is working for Linaro, made a video with an Acer Chromebook 15 showing Google Chrome launch time using the default mq-deadline schedule, and bfq-mq scheduler. The test involves writing a 1.5GB file to the drive with dd, and clicking on the […]

Orange Pi Zero2 is a Tiny Allwinner H6 SBC with HDMI 2.0, USB 3.0, Ethernet & WiFi

Orange Pi Zero2 USB 3.0

Shenzhen Xunlong Software launched a refresh of their Orange Pi Zero board, namely Orange Pi Zero LTS, a couple of weeks ago. The company is now about to launch another SBC of the “Zero” family. Slightly larger than its predecessor, Orange Pi Zero2 is also quite more powerful with an Allwinner H6 quad core Cortex-A53 processor, and more versatile thanks to the addition of a USB 3.0 port, HDMI 2.0 video output, and a built-in microphone. Orange Pi Zero2 specifications: SoC – Allwinner H6 quad-core Arm Cortex-A53 processor with Arm Mali T720 GPU with support for OpenGL ES3.1/3.0/2.0/1.1, Microsoft DirectX 11 FL9_3 Memory – 512MB LPDDR3 (Allwinner AW52A8G32) Storage – 4GB eMMC Flash and microSD card up to 32GB Video Output – HDMI 2.0a port Video Decoding – 10-bit H265/HEVC up tp 4K60 or 6K30; H264/AVC up to 4K30; VP9 up to 4K30; AVS+/AVS up to 1080p60 Network Connectivity 802.11 […]

MINIX NEO S2 USB-C SSD Hub Review in Ubuntu 18.04 with Khadas Edge

MINIX NEO S2 Khadas Edge

MINIX NEO S1 & S2 are USB-C hubs with the usual HDMI and USB outputs, but also a built-in 120 GB & 240 GB SSD respectively. The company has sent me a sample of each, and in order to test the platform, I decided to do on a Khadas board running Ubuntu 18.04 with LXDE desktop environment (aka Lubuntu). I’ll start by checking out the packages’ content, before going through my experience with the MINIX NEO S2 USB-C hub in Ubuntu 18.04 with LXDE desktop environment. MINIX NEO S1 & S2 Unboxing Both packages are basically identical except for the different color, and one shows 120GB SSD capacity, while the other has 240GB The back side has some more details about the USB-C hub. I’ll focus on the 240GB model since it’s just the same, but around $13 to $20 more expensive, and it offers double the capacity, as well […]

Reading ID Card Data in Ubuntu with EZ100PU Smart Card Reader (Thai ID Edition)

Smart Card Reader Thai ID Card

I was asked help with configuring a smart card reader on a government computer running Windows 7, but this made me wonder what would happen if I connected the card reader to my Ubuntu laptop and whether I’d be able to read content from a Thai ID card. EZ100PU Smart Card Reader Let’s have a look at the card reader itself first. It’s a FAST ID EZ100PU smart card reader compliant with ISO7816 standard. That’s the product page of the specific model, but a search for EZ100PU only reveals the manufacturer may be InfoThink Technology based on Taiwan. The USB smart card reader comes with a CD that includes drivers for Windows, Linux, Mac OS, and Android, as well as an SDK with a demo program and sample code in C++, Visual Basic .NET, and C#. As we’ll see further below, the Linux driver is not needed as it works […]

How Do You Handle Backups in Linux? Hardware, Software, Configuration, etc…

Duplicity/Deja Vue backup restoration

Linux EXT-4 File System Corruption & Attempted Recovery There’s a file system corruption bug related to EXT-4 in Linux, and it happened to me a few times in Ubuntu 18.04. You are using your computer normally, then suddenly you can’t write anything to the drive, as the root partition has switched to read-only. Why? Here are some error messages:

What then happens is that you restart your PC, and get to the command where you are asked to run:

Change /dev/sda2 to whatever your drive is, and manually review errors. You can take note of the file modified, as you’ll likely have to fix your Ubuntu installation later on. Usually the fix consists of various package re-installations:

It happened to me two or three times in the past, and it’s a pain, but I eventually recovered. But this time, I was not so lucky. The system would […]

Orange Pi Zero LTS SBC Launched for $8.49 and Up

Buy Orange Pi Zero LTS Allwinner H2 SBC

Orange Pi Zero LTS is an update to Orange Pi Zero Allwinner H2+ board with the same specifications, but tweaks to the hardware that Shenzhen Xunlong Software claims lower power consumption and reduce heat. The SBC supports Armbian’s Debian and Ubuntu images, and best suited for headless applications that require network connectivity via Ethernet and/or WiFi such as smart speakers. The board also features one USB port, and two I/O headers for expansion. The good news is that you can now buy Orange Pi Zero LTS for the same price as the original model, namely $8.49 for the 256MB RAM version, and $10.49 for the 512MB model$10.49 for the 512MB model, excluding shipping costs ($4.73 to my location). Here’s a reminder of Orange Pi Zero LTS (v1.5) specifications: SoC – Allwinner H2+ quad-core Cortex A7 processor @ 1.2 GHz with Mali-400MP2 GPU @ 600 MHz System Memory – 256 to […]

Intel Mini PCs Linux Performance Comparison

Intel mini PC side-by-side comparison table

Recent vulnerabilities in Intel x86 microprocessors (Meltdown, Spectre, Foreshadow, RIDL, Fallout, ZombieLoad, etc.) are now addressed with mitigation patches for the Linux kernel although have resulted in some performance degradation. As a consequence, my previous comparison benchmarks could be somewhat misleading when compared with new results given the different versions of software at the time of execution. So I’ve repeated running my standard Phoronix Test Suite benchmarks on several of the latest mini PCs each running the latest updated Ubuntu 18.04.2 software with the same Ubuntu 4.15.0-54 kernel. Specifically, the mini PCs I’ve used are as follows: Intel NUC NUC7CJYSAL (Celeron J4005 Gemini Lake) Pepper JobsGLK-UC2X (Celeron N4100 Gemini Lake) Beelink Gemini X X45 (Celeron J4105 Gemini Lake) Beelink Gemini X X55 (Pentium Silver J5005 Gemini Lake) with updated BIOS Intel NUC NUC7PJYH (Pentium Silver J5005 Gemini Lake) Beelink L55 (i3-5005U Broadwell) On each mini PC, I’ve also run sbc-bench which is […]

PineBook Pro Arm Linux Laptop now up for pre-order for $199.99

Pinebook Pro Laptop

Pine64 unveiled a Pinebook Pro laptop prototype at FOSDEM 2019 as an update to the original Allwinner A64 powered Pinebook laptop, but instead of just being a toy to play with, Pinebook Pro aimed to be used as a daily driver thanks to a relatively powerful Rockchip RK3399 processor combined with 4GB RAM, and 64/128GB storage, and equipped with a 14″ Full HD display all for a target price of $200. Last May, we noticed some good progress on the software development side with a demo showcasing Ubuntu & Debian with MATE desktop, 4K video playback, 3D graphics acceleration, and USB-C video output.  The good news is that Pinebook Pro has just launched and can be pre-ordered for $199.99 on Pine64 store. [Update: If you are an existing forum member, you may want to redeem your coupon here] Pinebook Pro laptop specifications: SoC – Rockchip RK3399 big.LITTLE hexa-core Arm Cortex […]

EmbeddedTS embedded systems design