天堂国产午夜亚洲专区-少妇人妻综合久久蜜臀-国产成人户外露出视频在线-国产91传媒一区二区三区

當(dāng)前位置:主頁 > 科技論文 > 計(jì)算機(jī)論文 >

飛騰1000A處理器網(wǎng)絡(luò)驅(qū)動的實(shí)現(xiàn)和優(yōu)化

發(fā)布時(shí)間:2018-04-01 01:33

  本文選題:飛騰處理器 切入點(diǎn):DMA 出處:《國防科學(xué)技術(shù)大學(xué)》2013年碩士論文


【摘要】:飛騰1000A微處理器是國防科學(xué)技術(shù)大學(xué)計(jì)算機(jī)學(xué)院自主研制的一款高性能通用微處理器,它采用SPARC v9指令集,芯片內(nèi)集成4個(gè)64位處理器核,每核8線程,主頻達(dá)到1GHz~1.2GH。芯片上還集成了大量的外圍接口,如以太網(wǎng)接口、SATA接口、USB接口、串口、I2C接口等I/O接口。具有性能高、功耗低、可靠性高等優(yōu)點(diǎn),主要面向服務(wù)器、桌面及高端嵌入式系統(tǒng)等應(yīng)用領(lǐng)域。該處理器芯片內(nèi)部集成了網(wǎng)絡(luò)控制器IP,但缺乏相應(yīng)的控制器驅(qū)動程序,由于飛騰平臺的特殊性,linux下的網(wǎng)卡驅(qū)動程序經(jīng)過移植仍然不能在飛騰平臺上正常的工作,因此需要重新開發(fā)出一款適合飛騰1000A微處理器的網(wǎng)絡(luò)驅(qū)動程序。隨著高速互連網(wǎng)絡(luò)的發(fā)展,網(wǎng)絡(luò)應(yīng)用對網(wǎng)絡(luò)性能的要求不斷提升,設(shè)備驅(qū)動程序不僅要在功能上達(dá)要到應(yīng)用的實(shí)際需求,而且要在性能方面也要達(dá)到常用的千兆網(wǎng)絡(luò)環(huán)境的使用需求,因此還需要對完成的驅(qū)動程序進(jìn)行優(yōu)化,以滿足當(dāng)下的不斷增長的網(wǎng)絡(luò)性能的要求。本文通過研究飛騰處理器網(wǎng)絡(luò)控制器相關(guān)的硬件原理以及l(fā)inux下設(shè)備驅(qū)動框架的知識,設(shè)計(jì)和實(shí)現(xiàn)飛騰1000A微處理器中網(wǎng)絡(luò)控制器的驅(qū)動,并針對飛騰1000A的特點(diǎn)進(jìn)行了優(yōu)化。在研究的過程中,提出了飛騰平臺下的網(wǎng)絡(luò)驅(qū)動程序的整體架構(gòu),提出了基于DMA描述符環(huán)的網(wǎng)絡(luò)數(shù)據(jù)包的收發(fā)機(jī)制,并在此基礎(chǔ)上完成了驅(qū)動程序的基本功能。再結(jié)合飛騰1000A微處理器平臺的特點(diǎn),提出了一系列的驅(qū)動程序優(yōu)化的方法,如:IP頭地址對齊、中斷和輪詢混合的接收機(jī)制、使用軟件進(jìn)行分片的技術(shù),使得系統(tǒng)的網(wǎng)絡(luò)性能得到了很大的提升。經(jīng)過對系統(tǒng)網(wǎng)絡(luò)性能的峰值測試和對比測試,表明當(dāng)前系統(tǒng)網(wǎng)絡(luò)已經(jīng)達(dá)到了千兆網(wǎng)絡(luò)環(huán)境的使用需求,基本上完成了預(yù)期的工作任務(wù)。在對完成的驅(qū)動程序的網(wǎng)絡(luò)性能和功能的測試中,發(fā)現(xiàn)了之前的優(yōu)化方法的一些缺陷,也提出了針對缺陷的一些解決的構(gòu)想,雖然未實(shí)現(xiàn),但對于后續(xù)的持續(xù)改進(jìn)工作有很大的指導(dǎo)意義。最讓人遺憾的是,此次驅(qū)動未能發(fā)揮飛騰處理器的多核多線的優(yōu)點(diǎn),因此在論文的最后提出了RFS和RPS的技術(shù),希望在之后的研究中能將這兩個(gè)技術(shù)運(yùn)用在驅(qū)動程序中,充分發(fā)揮飛騰處理器多核多線的優(yōu)點(diǎn),使得網(wǎng)絡(luò)性能得到更大的提升。
[Abstract]:Feiten1000A microprocessor is a high performance general-purpose microprocessor developed by the computer School of National University of National Defense Science and Technology. It uses SPARC v9 instruction set and integrates 4 64 bit processor cores with 8 threads per core with a main frequency of 1 GHz / 1.2GH.A large number of peripheral interfaces are also integrated on the chip, such as Ethernet interface, SATA interface, USB interface, serial port, I2C interface, and so on.It has the advantages of high performance, low power consumption and high reliability. It is mainly oriented to server, desktop and high-end embedded systems.The processor chip has integrated the network controller IPs, but it lacks the corresponding controller drivers. Because of the particularity of the Flying platform, the network card drivers under Linux still can not work normally on the Flying platform after transplanting.Therefore, it is necessary to develop a new network driver for Flying 1000 A microprocessor.With the development of high speed interconnection network, the requirement of network application for network performance is increasing. The device driver should not only meet the actual demand of application in function,In order to meet the requirements of the commonly used gigabit network environment, we also need to optimize the driver to meet the requirements of the growing network performance.In this paper, we design and implement the network controller driver in Fiteng 1000A microprocessor by studying the hardware principle of FITT processor network controller and the knowledge of device driver framework under linux, and optimize the characteristics of Flying 1000A microprocessor.In the process of research, the whole architecture of network driver based on Flying platform is put forward, and the mechanism of sending and receiving network data packets based on DMA descriptor ring is put forward, and the basic function of the driver is completed.Combined with the characteristics of Feiten1000A microprocessor platform, a series of driver optimization methods are put forward, such as: IP header address alignment, interrupt and polling mixed receiving mechanism, using software slicing technology,The network performance of the system has been greatly improved.Through the peak test and contrast test of the system network performance, it is shown that the current system network has met the requirements of the gigabit network environment, and has basically completed the expected work tasks.In the testing of the network performance and function of the completed driver, we found some defects in the previous optimization method, and put forward some ideas to solve the defect, although it was not realized,However, it has great guiding significance for the follow-up continuous improvement work.The most regrettable thing is that the driver has not been able to take advantage of the multi-core and multi-wire features of the Flying processor. Therefore, at the end of this paper, the technologies of RFS and RPS are proposed, and it is hoped that these two technologies can be used in the driver program in the future research.The advantages of multi-core and multi-wire are brought into full play and the network performance is greatly improved.
【學(xué)位授予單位】:國防科學(xué)技術(shù)大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2013
【分類號】:TP332

【共引文獻(xiàn)】

相關(guān)期刊論文 前2條

1 鄭翔;岳浩嶺;;嵌入式Linux系統(tǒng)下CC1101的驅(qū)動與應(yīng)用[J];單片機(jī)與嵌入式系統(tǒng)應(yīng)用;2014年02期

2 張俊;馬云飛;姚萌萌;;IKE框架實(shí)現(xiàn)和功能擴(kuò)充的研究[J];電腦知識與技術(shù);2014年02期

相關(guān)碩士學(xué)位論文 前2條

1 張梟波;基于Linux平臺的多機(jī)器人系統(tǒng)移動自組織網(wǎng)絡(luò)研究與實(shí)現(xiàn)[D];西南交通大學(xué);2014年

2 毛若羽;基于MAC層的軌道交通快速切換研究[D];南京大學(xué);2014年

,

本文編號:1693397

資料下載
論文發(fā)表

本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/1693397.html


Copyright(c)文論論文網(wǎng)All Rights Reserved | 網(wǎng)站地圖 |

版權(quán)申明:資料由用戶abce7***提供,本站僅收錄摘要或目錄,作者需要刪除請E-mail郵箱bigeng88@qq.com