当前位置:网站首页>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
边栏推荐
- PPt 教程,如何在 PowerPoint 中将演示文稿另存为 PDF 文件?
- leetcode 121 Best Time to Buy and Sell Stock 买卖股票的最佳时机(简单)
- 程序员远程办公喜忧参半| 社区征文
- 十字路口通行优先权,十字路口通行规则图解
- VIM mapping command
- C语言单向链表练习
- (pointer) write a function to compare the size of strings by yourself, which is similar to StrCmp.
- ROS2中CMake编译选项的设置
- [microservice openfeign] @feignclient detailed explanation
- Pytest basic self-study series (I)
猜你喜欢
Understand the principle of bytecode enhancement technology through the jvm-sandbox source code
Pointer array and array pointer
Graduation project: design seckill e-commerce system
2020 Bioinformatics | TransformerCPI
Keysight N9320B射频频谱分析仪解决轮胎压力监测方案
多位科技公司创始人向Entrepreneur First提供高达1.58亿美元的C轮融资,协助其投资下一代全球创新者
架构训练毕业设计+总结
什么是上下文?
R语言dplyr中的Select函数变量列名
Wechat official account infinite callback authorization system source code
随机推荐
ModStartBlog 现代化个人博客系统 v5.2.0 源码下载
(指针)自己写一个比较字符串大小的函数,功能与strcmp类似。
Leetcode skimming: binary tree 09 (minimum depth of binary tree)
ctf-pikachu-XSS
RHCSA 06 - suid, sgid, sticky bit(待补充)
JS realizes the effect of text scrolling marquee
Restore the subtlety of window position
[microservice openfeign] @feignclient detailed explanation
RHCSA 04 - 进程管理
How to telecommute more efficiently | community essay solicitation
EIG在智利推出可再生能源平台Grupo Cerro
十字路口通行优先权,十字路口通行规则图解
[Logitech] m720
B. All Distinct
Configuration and hot update of nocturnal simulator in hbuildx
软件测试是干什么的 发现缺陷错误,提高软件的质量
精品网址导航主题整站源码 wordpress模板 自适应手机端
hbuildx中夜神模拟器的配置以及热更新
02 specific implementation of LS command
[microservices openfeign] two degradation methods of feign | fallback | fallbackfactory