检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:黄河 任见 佘庆 钱晨 杨帆 Huang He;Ren Jian;She Qing;Qian Chen;Yang Fan(Shanghai Huayuan Chuangxin Software Co.,Ltd.,Shanghai 200062,China;Software Engineering Institute,East China Normal University,Shanghai 200062,China)
机构地区:[1]上海华元创信软件有限公司,上海200062 [2]华东师范大学软件工程学院,上海200062
出 处:《计算机应用与软件》2023年第1期273-279,297,共8页Computer Applications and Software
基 金:国家科技重大专项(2017ZX01041201-002,2017ZX01038102);上海市软件和集成电路产业发展专项(190241)。
摘 要:传统的文件系统日志服务无法满足嵌入式系统异常记录的实时性需求。在国产ReWorks嵌入式实时操作系统中设计实现了一种基于内存的日志服务,通过记录异常信息到日志内存中,在热重启后仍然可以从内存中获取复位前所记录的系统异常日志信息。通过在国产FT2000A/2硬件平台的验证和分析,对其实时性和可用性实现了进一步优化。测试数据表明,内存日志服务记录一条完整异常信息到内存日志平均耗时约为文件日志的0.5%,内存文件系统的写性能近270 MB/s,是SSD硬盘文件系统的6倍,具有高实时性、热重启不丢失、非阻塞等特性,对实时系统的异常分析定位与故障统计排查提供了有力支撑。Traditional file-system logging service cannot meet the real-time logging requirement of exception recording in embedded systems. Therefore, we design and realize the memory-based logging service in ReWorks, a commercial embedded real-time operating system in China. The logging service wrote the exception information into the memory, and could retain them after hot system rebooting. The logging service was tested and verified on the FT2000A/2 hardware platform, and we optimized its real-time performance and runtime availability. The test results show that the average time taken for the memory log service to record a complete exception information to the memory log is about 0.5% of the file log. The write performance of the memory file system is approaching 270 MB/s, which is 6 times that of the SSD hard disk file system. With high real-time performance, hot restart without loss, non-blocking and other characteristics, it can provide help for the analysis and positioning of abnormal problems and the statistical troubleshooting.
关 键 词:嵌入式实时系统 内存日志服务 字符串拷贝 用户信息 锐华
分 类 号:TP316.2[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:3.20.233.31