Linux Disk Management: A Complete Process from Mounting to Daily Maintenance

Linux Disk Management: A Complete Process from Mounting to Daily Maintenance

Physical Device Recognition In Linux, everything is a file. When you connect a new disk to the system, the Linux kernel detects this device through the udev event mechanism: # View the disk devices recognized by the system $ lsblk $ ls -l /dev/sd* Disk devices are typically represented by paths such as /dev/sda, /dev/sdb, … Read more

Measuring the Precision of High-Precision Timers in Linux Driver Development

Measuring the Precision of High-Precision Timers in Linux Driver Development

Introduction Today, we will evaluate the high-precision timers in the Linux kernel, while also conducting cross-testing using a Tektronix oscilloscope and a DS100 Mini digital oscilloscope. Due to project requirements for precise timing cycles, we need to assess its feasibility and verify whether the oscilloscope from Atomic Clock can support the embedded development process. Overview … Read more

The Power of the Linux ip Command!

The Power of the Linux ip Command!

Original link: https://developer.aliyun.com/article/1637555 In Linux systems, the <span>ip</span> command is a powerful tool for managing network interfaces and routing. Compared to the older <span>ifconfig</span> command, the <span>ip</span> command offers more features and finer control. This article will detail the common operations of the <span>ip</span> command to help users manage and configure networks more effectively. <span>ip</span> … Read more

The GNU/Linux Family

The GNU/Linux Family

The GNU/Linux operating system was created by Linus Torvalds in 1991 and has since grown through the collaborative efforts of top programmers worldwide, resulting in numerous distributions.1. Red Hat Family: Fedora, RHEL, CentOS, Rocky Linux2. Debian Family: Debian, Ubuntu, Mint, Deepin, Raspbian3. SUSE Family: SUSE Linux Enterprise, openSUSE4. Other Distributions: Arch Linux, Gentoo, Slackware, etc.

Guide to Calculating GPU Memory Requirements for LoRA and QLoRA Fine-Tuning: Understandable for Beginners

Guide to Calculating GPU Memory Requirements for LoRA and QLoRA Fine-Tuning: Understandable for Beginners

I have recently compiled a simple and easy-to-understand guide on the GPU memory requirements for fine-tuning with LoRA and QLoRA, which can help you estimate the memory needed when fine-tuning using LoRA and QLoRA. Below, we will explain step by step, requiring minimal background knowledge.1. What are LoRA and QLoRA? LoRA (Low-Rank Adaptation):This is a … Read more

Essential Tips for LoRA Fine-Tuning

Essential Tips for LoRA Fine-Tuning

As mentioned in previous articles, LoRA fine-tuning primarily targets the weight matrices of linear layers, such as the Q, K, and V projection matrices in the attention mechanism, as well as the weight matrices in the feedforward network (FFN). So, when fine-tuning a model with a Transformer architecture using LoRA, which weight matrices should we … Read more

What is the Low Power Mechanism of LoRa Devices?

What is the Low Power Mechanism of LoRa Devices?

Research on the Low Power Mechanism of LoRa Devices With the rapid development of Internet of Things (IoT) technology, Low Power Wide Area Network (LPWAN) technology has become one of the research hotspots in the field of wireless communication. LoRa technology, as one of the representatives of LPWAN technology, is widely used in smart cities, … Read more

Four Years Ago, the Bluetooth Alliance Excluded Huawei; Four Years Later, Huawei Integrates Bluetooth and Wi-Fi!

Four Years Ago, the Bluetooth Alliance Excluded Huawei; Four Years Later, Huawei Integrates Bluetooth and Wi-Fi!

The Bluetooth technology was born in 1994, invented by Ericsson, with the initial goal of enabling wireless audio transmission for wireless headsets. Now, Bluetooth applications are no longer limited to wireless headsets; keyboards and game controllers also have Bluetooth versions. However, the audio quality and stability of early Bluetooth were far from satisfactory. For instance, … Read more

Sensors + AI Models = The Brain of Autonomous Driving? Analyzing How Smart Cars’ ‘Five Senses’ Surpass Humans

Sensors + AI Models = The Brain of Autonomous Driving? Analyzing How Smart Cars' 'Five Senses' Surpass Humans

 If we compare a smart car to a “living organism,” then its sensors are its eyes, ears, and skin, responsible for perceiving the world, while the AI model acts as the brain, processing information and making decisions. The key to autonomous driving lies in the perfect combination of these two—perceiving the world, understanding the … Read more

Simulating Third Harmonic Generation with MATLAB

Simulating Third Harmonic Generation with MATLAB

Recently, I have been exploring the advanced features of MATLAB. In addition to common functionalities such as matrix operations and plotting functions/data graphs, MATLAB can also be used to create user interfaces and call programs written in other languages (including C, C++, Java, Python, FORTRAN). Numerical computation capabilities: The paper-like mathematical operations and high-quality, reliable … Read more