1 / 15

ASIPP

ASIPP. PCS 系统长脉冲实验对策 报告人:袁旗平 2008 年 11 月 21 日. 汇报内容. 问题背景 PCS 系统分析 拟采用方案 初步测试结果. 问题背景. 长脉冲稳态放电是 EAST 运行的目标之一,下轮 EAST 实验目标是 60s 放电。内存的限制导致 PCS 无法满足长脉冲放电的需要,目前只能通过减少保存数据量来延长放电时间,无法从根本上解决长脉冲放电问题。. 汇报内容. 问题背景 PCS 系统分析 拟采用方案 初步测试结果. PCS 系统分析. 内存限制的原因:

kato
Télécharger la présentation

ASIPP

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. ASIPP PCS系统长脉冲实验对策 报告人:袁旗平 2008年11月21日

  2. 汇报内容 • 问题背景 • PCS系统分析 • 拟采用方案 • 初步测试结果

  3. 问题背景 长脉冲稳态放电是EAST运行的目标之一,下轮EAST实验目标是60s放电。内存的限制导致PCS无法满足长脉冲放电的需要,目前只能通过减少保存数据量来延长放电时间,无法从根本上解决长脉冲放电问题。

  4. 汇报内容 • 问题背景 • PCS系统分析 • 拟采用方案 • 初步测试结果

  5. PCS系统分析 内存限制的原因: 1)采集卡、反射内存卡的配置 2)锁内存mlockall的限制

  6. PCS系统分析  在Linux 2.4下,D-TACQ196需要分配连续的内存段,故在/etc/grub.conf中需配置相关参数,如MEM参数,限定了可使用内存; 在Linux系统下,反射内存卡需要在/etc/grub.conf中指定MEM参数,最大可配置MEM=850M;  在PCS中,锁内存mlockall将内存范围中的所有页面都将在 RAM 中锁定,而且在任何环境下都不会被交换调出直到munlockall解锁,保证了系统运行的效率。但在Linux 2.4 或更早的版本中,mlockall只能锁住可用RAM的一半,限定了可用内存。

  7. PCS系统分析 如何解决内存限制问题? 1)在Linux 2.6下, D-TACQ196采用动态申请内存的方式,无需再定义MEM等参数 2)在Linux 2.6.9以后的版本,特权进程mlockall没有限制 3)在RFM内存配置问题解决前,利用pcsrt3向各系统传输数据 PCS采用Linux 2.6.9以上内核,对目前硬件结构进行调整

  8. 汇报内容 • 问题背景 • PCS系统分析 • 拟采用方案 • 初步测试结果

  9. 拟采用方案 利用PCS实时进程间通信API函数,一个实时CPU可以直接写数据到另一个实时CPU的内存块中 pcsrt1,pcsrt2分别将控制命令和boundary信息写入pcsrt3的内存块中。 pcsrt3获得数据后,写入定义好的RFM映射内存地址中。

  10. commands boundary 拟采用方案 VMIC RFM2g Performance Test (DMA Threshold is 16) --------------------------------------------------- Bytes Read MBps Write MBps 4 0.8 2.8 8 2.6 6.5 12 2.9 9.2 16 3.1 11.5 20 3.3 13.6 24 3.4 15.4 28 3.4 17.1 32 3.5 18.6 64 3.7 21.1 96 3.8 21.1 128 3.8 21.1 256 3.9 21.1 384 3.9 21.1 512 3.9 21.1 640 3.9 21.1 768 3.9 21.1 896 3.9 21.1 1024 3.9 21.1 node1,node2 node0 node3

  11. 拟采用方案 该方案下的PCS系统,共使用4个物理CPU做实时控制,虚拟名分别为CPUA,CPUB,CPUC,CPUD,所在物理机器、功能和可用内存如下表所示

  12. 汇报内容 • 问题背景 • PCS系统分析 • 拟采用方案 • 初步测试结果

  13. 反射内存卡RFM的测试

  14. 反射内存卡RFM的测试

  15. ASIPP 谢谢

More Related