摘要
随着光纤技术在嵌入式领域中的应用,通信数据量不断增加,高速采集网络上的数据并正确地存储到磁盘上已成为整个系统的瓶颈。本文从系统基本功能模块出发结合生产者/消费者(Producer-Consumer)模型,对多线程并发、直接读写扇区、异步I/O等技术在系统中的应用进行分析;对系统模型进行抽象,用数学方法对系统进行可行性分析。实验表明,数据采集系统中采用多线程多缓冲的方式在性能上有一定的提高。
With the optical fiber technology used in embedded systems,the amount of communication data grows in the past years.How to move data that store in the memory to disk in a high speed and correct way becomes the bottleneck of data acquisition system.This article starts with the basic function modules which are combined with producer-consumer model,and analyzes multi-thread concurrency,direct read and write disk devices without passing through file system,asynchronous I/O and other technologies used in the system.The paper Abstracts the system model and uses mathematical methods to give a feasibility analysis for the system.Experiments show that the performance of system which adopts multi-thread concurrency method is improved with a certain extent.
出处
《计算机与现代化》
2012年第11期51-54,58,共5页
Computer and Modernization