WXWei Xu

Wei Xu

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article

Previous Organizations / Institutes

The organizations / institutes from the scholar's other articles in the past ten years


Wei Xu has a total of 14 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    Design and Implementation of Pin-like Instrumentation Tools for the LoongArch

    by Linping Gao, Wei Xu, Yibo Mu, Wenjun Xie

    This paper presents the design and implementation of several instrumentation tools supporting the LoongArch platform, modeled after Intel Pin. Each tool consists of four primary components: main function, analysis function, instrumentation function, and termination function. These tools utilize five distinct levels of API granularity: instruction level, basic block level, trace level, image level, and routine level. Implemented in C++, these tools enable dynamic binary instrumentation, facilitating the comprehensive analysis of instructions, functions, registers, memory access patterns, and control flow. To validate the accuracy and practical utility of these tools, we developed several simple C/C++ programs for validation. Furthermore, our source code has been made publicly accessible on Github for broader evaluation and use.

  • Open Access

    Porting and Enhancing the XV6 Kernel for LoongArch ArchitectureElevating Functionality: A Unified Approach to Kernel Porting and Enhancement

    by Qi Li, Wei Xu, Siyue Chen, Ziwen Pang

    This project focuses on the porting of the RISC-V xv6 kernel, originally utilized in MIT's educational context, to the LoongArch architecture. While some attempts have been made within the LoongArch community to port the xv6 kernel, a comprehensive kernel port along with a detailed porting manual remains absent. In response, this endeavor presents a holistic kernel porting solution coupled with an in-depth manual. The resulting kernel and manual not only stand as an accomplishment in themselves but also serve as valuable resources for forthcoming endeavors in the field of kernel porting.

  • Open Access

    Experimental design and analysis of polyhedral optimization algorithm based on LoongArch64 architecture

    by Jia He, Wei Xu

    The purpose of this paper is to research and experiment polyhededral model algorithm on the LoongArch64 architecture. In order to reduce the burden on programmers and adapt to the development of parallel programs on the Loongson multi-core chip, using the polyhedral model algorithm to automatically parallelize the program: calculate the program control flow information and active variable information, extract the program polyhedral feature iteration domain, schedule. The tree and memory access relationship calculate the dependency relationship between instances, and optimize the program parallelization to meet the dependency relationship, improving data locality and program parallelism. In this paper, it is tested that the optimization of the polyhedral model can effectively improve the data locality characteristics.

  • Open Access

    The Design and Practice of Linux Kernel Based Experiments for Operating System Course

    by Wei Xu, Xiaoyang Wang, Haoyu Mao, Yongkun Li

    This paper proposes an experimental teaching scheme of operating system aiming at cultivating students' system ability and innovation ability. Based on the new version of the Linux kernel, the teaching group designed an open and layered experimental scheme. The experimental scheme content includes four experiments: introduction experiment, system calls, memory allocation and statistics, and file system. Each experiment is designed in layers, including basic parts and optional parts, of which the optional part gives students a lot of freedom for self-exploration. In addition, the teaching group carried out teaching practice and summary in the aspects of experiment organization and experiment management. After three years of teaching practice, the experimental scheme improves the advanced, innovative and challenging degree of operating system course practice, and better solves problems such as the outdate experimental system. The teaching results show that this experimental scheme can effectively improve students' understanding of operating system related concepts, enhance students' system ability and innovation ability, and achieve good results.


  • Computer Network Comprehensive Experiment Design Focusing on Program Implementation

    by Wei Xu, Jianliang Lu

    In the course teaching, it is found that most of the current computer network experiment teaching uses virtual simulation software such as Wireshark and Packet Tracer to conduct verification experiments, and lacks the source code program design experiments. Simple verification experiments are not difficult enough to exercise students' engineering ability and innovation ability. Stanford University CS144 course experiment, let students use source code programming to complete the design of TCP protocol and netwrok router step by step, this hard-core experimental method can allow students to deeply understand the operating mechanism of the network. Since the CS144 experimental framework has been shared on the Internet for several years, there are many reference codes on the Internet. In order to improve the effectiveness of the experiment, the teaching group specially designed two comprehensive experiments based on the CS144 experiment framework. The designed comprehensive experiment includes routing information protocol experiment and routing table search algorithm experiment. The comprehensive experimental framework requires students to use C++ language to realize the main functions of routing information protocol and routing table search algorithm, and a special testbed is designed to test the students' codes. Through the use of comprehensive experiments, it will help students master the underlying logic and details of network technology, become familiar with the methods of computer network programming, and help students improve their engineering practice ability and innovation ability.