当前位置:网站首页>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
边栏推荐
- Perf simple process for multithreaded profile
- C language bidirectional linked list first edition
- 2021 RSC | Drug–target affinity prediction using graph neural network and contact maps
- 量子力学习题
- Katalon uses script to query list size
- RHCSA 07 - 用户与群组管理
- Emlog user registration plug-in is worth 80 yuan
- 01 QEMU starts the compiled image vfs: unable to mount root FS on unknown block (0,0)
- y55.第三章 Kubernetes从入门到精通 -- HPA控制器及metrics-server(二八)
- How to add custom API objects in kubernetes (1)
猜你喜欢
dried food! Generation of rare samples based on GaN
指针数组和数组指针
苹果CMS仿西瓜视频大气响应式视频模板源码
Leetcode skimming: binary tree 08 (maximum depth of n-ary tree)
Pointer array and array pointer
深入解析结构化异常处理(SEH) - by Matt Pietrek
ctf-pikachu-XSS
多位科技公司创始人向Entrepreneur First提供高达1.58亿美元的C轮融资,协助其投资下一代全球创新者
UnicodeDecodeError: ‘gbk‘ codec can‘t decode byte 0x98 in position 1093: illegal multibyte sequence
北漂程序员,月薪20K,一年攒15W,正常吗?
随机推荐
Imitation of "game bird" source code, mobile game issue evaluation, open service, open test collection, game download website template
PPt 教程,如何在 PowerPoint 中将演示文稿另存为 PDF 文件?
十字路口通行优先权,十字路口通行规则图解
Evolution of MySQL database architecture
透过JVM-SANDBOX源码,了解字节码增强技术原理
Interpretation of leveldb source code skiplist
How to add custom API objects in kubernetes (1)
指针数组和数组指针
【愚公系列】2022年7月 Go教学课程 002-Go语言环境安装
毕业三年,远程半年 | 社区征文
C语言单向链表练习
leetcode刷题:二叉树09(二叉树的最小深度)
Pytest basic self-study series (I)
Tcp- simple understanding of three handshakes and four waves
什么是上下文?
C language bidirectional linked list first edition
Pointer array and array pointer
(指針)自己寫一個比較字符串大小的函數,功能與strcmp類似。
(指针)自己写一个比较字符串大小的函数,功能与strcmp类似。
(pointer) write a function to compare the size of strings by yourself, which is similar to StrCmp.