当前位置:网站首页>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

边栏推荐
- I.MX6U-ALPHA开发板(C语言版本LED驱动实验)
- RHCSA 03 - 文件的基础权限
- 浅谈一篇优质的小红书文案需要具备什么
- One click compilation and deployment of MySQL
- 西部数据绿盘、蓝盘、黑盘、红盘和紫盘有什么区别
- I Build a simple microservice project
- RHCSA 01 - 创建分区与文件系统
- How to add custom API objects in kubernetes (1)
- leetcode刷题:二叉树04(二叉树的层序遍历)
- Global exposure and roller shutter exposure of industrial cameras
猜你喜欢
随机推荐
Interpretation of leveldb source code skiplist
指针数组和数组指针
Parameterization of controls in katalon
什么是上下文?
Pytest basic self-study series (I)
Restore the subtlety of window position
JS实现文字滚动 跑马灯效果
架构训练毕业设计+总结
透过JVM-SANDBOX源码,了解字节码增强技术原理
陪驾注意事项 这23点要注意!
Unity draws the trajectory of pinball and billiards
2021 RSC | Drug–target affinity prediction using graph neural network and contact maps
RPC技术
毕业三年,远程半年 | 社区征文
I was tortured by my colleague's null pointer for a long time, and finally learned how to deal with null pointer
What does software testing do? Find defects and improve the quality of software
Three years of graduation, half a year of distance | community essay solicitation
MIN_RTO 对话
Krypton saikr daily question - CTF
软件测试是干什么的 发现缺陷错误,提高软件的质量









