当前位置:网站首页>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
边栏推荐
- 如何远程办公更有效率 | 社区征文
- C语言单向链表练习
- 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
- Redis:哈希hash类型数据操作命令
- One click compilation and deployment of MySQL
- Confession code collection, who says program apes don't understand romance
- leetcode刷题:二叉树06(对称二叉树)
- leetcode刷题:二叉树09(二叉树的最小深度)
- 2020 Bioinformatics | TransformerCPI
猜你喜欢
深入解析结构化异常处理(SEH) - by Matt Pietrek
分布式系统:what、why、how
Confession code collection, who says program apes don't understand romance
Imitation of "game bird" source code, mobile game issue evaluation, open service, open test collection, game download website template
统计遗传学:第三章,群体遗传
leetcode刷题:二叉树04(二叉树的层序遍历)
Tcp- simple understanding of three handshakes and four waves
Two commonly used graphics can easily realize data display
指针数组和数组指针
NFT新的契机,多媒体NFT聚合平台OKALEIDO即将上线
随机推荐
Myslq delete followed by limit
RHCSA 01 - 创建分区与文件系统
leetcode刷题:二叉树07(二叉树的最大深度)
网络 - VXLAN
“找工作不要太在意工资”,这是我听过最大的谎言
西部数据绿盘、蓝盘、黑盘、红盘和紫盘有什么区别
ModStartBlog 现代化个人博客系统 v5.2.0 源码下载
精品网址导航主题整站源码 wordpress模板 自适应手机端
Why use node
软件测试是干什么的 发现缺陷错误,提高软件的质量
(指针)自己写一个比较字符串大小的函数,功能与strcmp类似。
RHCSA 04 - 进程管理
Pytest basic self-study series (I)
hbuildx中夜神模拟器的配置以及热更新
一位毕业生的自我分享
Ppt tutorial, how to save a presentation as a PDF file in PowerPoint?
Leetcode skimming: binary tree 08 (maximum depth of n-ary tree)
Virtual commodity account trading platform source code_ Support personal QR code collection
ROS2中CMake编译选项的设置
Touch your hand and bring you a commonjs specification