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

边栏推荐
- Interpretation of leveldb source code skiplist
- 深入解析结构化异常处理(SEH) - by Matt Pietrek
- 西部数据绿盘、蓝盘、黑盘、红盘和紫盘有什么区别
- 领导:谁再用redis过期监听实现关闭订单,立马滚蛋!
- 一位毕业生的自我分享
- VIM mapping command
- Modstartblog modern personal blog system v5.2.0 source code download
- Leader: who uses redis expired monitoring to close orders and get out of here!
- leetcode刷题:二叉树09(二叉树的最小深度)
- Leetcode skimming: binary tree 04 (sequence traversal of binary tree)
猜你喜欢
随机推荐
Tcp- simple understanding of three handshakes and four waves
Graduation project: design seckill e-commerce system
y55.第三章 Kubernetes从入门到精通 -- HPA控制器及metrics-server(二八)
ctf-pikachu-XSS
Global exposure and roller shutter exposure of industrial cameras
C language bidirectional linked list first edition
Programmers' telecommuting is mixed | community essay solicitation
Two commonly used graphics can easily realize data display
什么是上下文?
(指针)编写函数void fun(int x,int *pp,int *n)
B. All Distinct
Flink learning 6: programming model
Perf simple process for multithreaded profile
The difference between bagging and boosting in machine learning
Pytest basic self-study series (I)
Leetcode skimming: binary tree 09 (minimum depth of binary tree)
Use NRM and NVM to manage your NPM source and node versions
EIG在智利推出可再生能源平台Grupo Cerro
Why is the probability of pod increasing after IPtable
[webrtc] M98 Ninja build and compile instructions









