当前位置:网站首页>FT2000+下LPC中断绑核使用说明
FT2000+下LPC中断绑核使用说明
2022-07-04 03:53:00 【Felven】
目前FT2000+ 64核下多采用LPC中断,为了确保中断不丢以及中断响应延迟在一定范围内,可以对中断进行绑核处理,以下为银河麒麟下操作的示例。
1、修改系统启动参数,设置核隔离
(至少需要设置两个核,一个运行应用,一个绑定中断)
在终端中输入vi /etc/boot/grub/grub.cfg

在启动参数最后一行增加isolcpus=10,11 (根据实际应用修改,如果应用用多个核,就指定核号,需要给中断额外多预留一个核)

2、设置中断绑核和应用绑核
在启动脚本中增加中断绑核操作,可放在/etc/rc.local中。使用的核为上面隔离出来的核,如下图所示
将中断绑定到11核

应用程序中使用10核进行运行,也可以在程序代码中设置绑核操作,不一定要使用taskset

边栏推荐
- 如何远程办公更有效率 | 社区征文
- 北漂程序员,月薪20K,一年攒15W,正常吗?
- C语言单向链表练习
- VIM add interval annotation correctly
- Redis cluster uses Lua script. Lua script can also be used for different slots
- RHCSA 08 - automount配置
- Touch your hand and bring you a commonjs specification
- I.MX6U-ALPHA开发板(模仿STM32驱动开发实验)
- 软件测试是干什么的 发现缺陷错误,提高软件的质量
- 领导:谁再用redis过期监听实现关闭订单,立马滚蛋!
猜你喜欢

ctf-pikachu-XSS

Ppt tutorial, how to save a presentation as a PDF file in PowerPoint?

Two commonly used graphics can easily realize data display

透过JVM-SANDBOX源码,了解字节码增强技术原理

5张图告诉你:同样是职场人,差距怎么这么大?

2021 RSC | Drug–target affinity prediction using graph neural network and contact maps

What does software testing do? Find defects and improve the quality of software

Parameterization of controls in katalon

leetcode刷题:二叉树06(对称二叉树)

R语言dplyr中的Select函数变量列名
随机推荐
Small record of thinking
Touch and take you to implement an EventEmitter
ROS2中CMake编译选项的设置
2020 Bioinformatics | TransformerCPI
I was tortured by my colleague's null pointer for a long time, and finally learned how to deal with null pointer
Modstartblog modern personal blog system v5.2.0 source code download
How was my life in 2021
Operation of ES6
NFT新的契机,多媒体NFT聚合平台OKALEIDO即将上线
[webrtc] M98 Ninja build and compile instructions
Detailed explanation of event cycle
软件测试是干什么的 发现缺陷错误,提高软件的质量
精品网址导航主题整站源码 wordpress模板 自适应手机端
Redis:集合Set类型数据的操作命令
RHCSA 03 - 文件的基础权限
dried food! Generation of rare samples based on GaN
架构实战营 - 第 6 期 模块九之毕业设计
Pointer array and array pointer
Touch your hand and bring you a commonjs specification
西部数据绿盘、蓝盘、黑盘、红盘和紫盘有什么区别