<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">ACS</journal-id><journal-title-group><journal-title>Atmospheric and Climate Sciences</journal-title></journal-title-group><issn pub-type="epub">2160-0414</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/acs.2017.73027</article-id><article-id pub-id-type="publisher-id">ACS-77947</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Earth&amp;Environmental Sciences</subject></subj-group></article-categories><title-group><article-title>
 
 
  Research on Exception of Meteorological Satellite Ground System Application Based on Resource Bottleneck
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Xiangang</surname><given-names>Zhao</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Manyun</surname><given-names>Lin</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Weixia</surname><given-names>Lin</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Lizi</surname><given-names>Xie</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Cunqun</surname><given-names>Fan</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>National Satellite Meteorological Center, BeiJing, China</addr-line></aff><author-notes><corresp id="cor1">* E-mail:<email>zxk668@126.com(WL)</email>;</corresp></author-notes><pub-date pub-type="epub"><day>03</day><month>07</month><year>2017</year></pub-date><volume>07</volume><issue>03</issue><fpage>367</fpage><lpage>373</lpage><history><date date-type="received"><day>June</day>	<month>26,</month>	<year>2017</year></date><date date-type="rev-recd"><day>Accepted:</day>	<month>July</month>	<year>24,</year>	</date><date date-type="accepted"><day>July</day>	<month>27,</month>	<year>2017</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  Meteorological satellite ground application system resources are limited. Abnormal satellite missions often lead to hopple of system resources. In order to analyze the problem, this paper presents an anomaly analysis method for meteorological satellite ground system based on resource bottleneck. Through the CPU, memory and I/O, several types of resources in-depth were analyzed to find the bottleneck caused by the problem, thus providing recommendations for application optimization. Experimental analysis shows that the proposed method can reasonably analyze the resource bottleneck of CPU, memory and I/O, and draw a good conclusion. To solve the meteorological satellite application system application anomaly caused by the bottleneck of the problem, the application of optimization to a certain extent plays a positive role.
 
</p></abstract><kwd-group><kwd>Satellite</kwd><kwd> Ground Application System</kwd><kwd> Resource Bottlenecks</kwd><kwd> Application Exception</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>Meteorological satellite application system is large and complex. Some applications need a lot of data, which often makes the ground system resources occur bottlenecks. And the emergence of these bottlenecks is often due to the application of the operation caused by abnormal. How to study the anomalies of meteorological satellite ground system through the bottleneck of resources has become an urgent problem to be solved in satellite application system.</p><p>Some of the results have been achieved in related research on application anomalies. Biswas S. [<xref ref-type="bibr" rid="scirp.77947-ref1">1</xref>] described Valor, a sound, precise, software-only region conflict detection analysis that achieves high performance by eliminating the costly analysis on each read operation that prior approaches require. Valor instead logs a region’s reads and lazily detects conflicts for logged reads when the region ends. Velmourougan S. [<xref ref-type="bibr" rid="scirp.77947-ref2">2</xref>] proposed a set of generic good practices to be observed during each phase of the software development life cycle (SDLC) for establishing the application system with sound exception handling mechanism.</p><p>Hassan M. M. [<xref ref-type="bibr" rid="scirp.77947-ref3">3</xref>] proposed a state-of-the-art with respect to issues of importance concerning software testability and an important quality attribute: software robustness.</p><p>Sawadpong P. [<xref ref-type="bibr" rid="scirp.77947-ref4">4</xref>] proposed exception-based software metrics that are based on the structural attributes of exception handling call graphs. They empirically validate the proposed metrics through a case study of Hadoop Core using data mined from software repositories and defect reports.</p><p>Barbosa E. [<xref ref-type="bibr" rid="scirp.77947-ref5">5</xref>] proposed Exception Handling Policies Language (EPL), a domain-specific language to specify and verify exception handling policies.</p><p>Si Y. W. [<xref ref-type="bibr" rid="scirp.77947-ref6">6</xref>] proposed a run-based exception prediction algorithm to predict temporal exceptions in workflows. The proposed algorithm is divided into two phases, design-time and run time. At design-time, all possible runs are generated from a workflow and their estimated execution time and mapping probability are calculated. At run time, temporal exceptions are predicted by analyzing the runs. Abrantes J. [<xref ref-type="bibr" rid="scirp.77947-ref7">7</xref>] proposed a practical approach to preserve the exception policy of a system or a family of systems along with its evolution, based on the definition and automatic checking of exception handling design rules.</p><p>This paper addresses the anomalies of meteorological satellite ground system applications due to bottlenecks in resources, optimizing system applications.</p></sec><sec id="s2"><title>2. Exception and Bottleneck Analysis</title><p>Exception is the concept of software system sense. It refers to a software system that behaves abnormally or resource occupancy is due to the inherent flaws in code design and implementation. Such as memory leaks, floating-point computational capability exceptions, IO read and write assignments, and so on [<xref ref-type="bibr" rid="scirp.77947-ref8">8</xref>] [<xref ref-type="bibr" rid="scirp.77947-ref9">9</xref>] . Usually an exception in the case of the interaction with the hardware, such as memory allocation, file read and write.</p><p>The bottleneck is the concept of the hardware system. It refers to the process of loading an application running in hardware resources affected by high uptime and operational efficiency of operations, due to the high demand for hardware resources beyond the existing hardware level [<xref ref-type="bibr" rid="scirp.77947-ref10">10</xref>] . Which leads to CPU scheduling bottlenecks, parallel computing power, IO performance bottlenecks and so on.</p><p>By analyzing and identifying anomalies and bottlenecks, it is possible to visually analyze the risk of downtime in the course of the operation. Through the specific analysis of specific bottlenecks to give the corresponding hardware optimization recommendations and software optimization recommendations.</p><sec id="s2_1"><title>2.1. CPU Resource Exception and Bottlenecks</title><p>1) CPU scheduling bottlenecks</p><p>It refers to the application of the thread for a long time in a queue state, or application to start the process or thread too much. CPU scheduling capacity is limited, CPU performance bottlenecks.</p><p>Check the strategy: CPU_SoftIRQ + CPU_IRQ (CPU context switch) showed a significant monotonically increasing trend.</p><p>2) CPU computing power bottlenecks</p><p>Multi-core CPU is long time 100% occupied, and IO is less. This shows that CPU computing power bottlenecks.</p><p>Check the strategy: Calculate the 25% time of the CPU_CPI (average CPU average number of clock cycles per instruction) Time concentration C25%. When C25% &lt; 1/3 that CPU has the computing power bottleneck.</p><p>3) CPU parallel computing power utilization</p><p>The application only takes one CPU and does not extend to other CPUs. The application is only written in a single process mode, even if the other CPU load is low cannot be used.</p><p>Check the strategy: for all the CPU core occupancy rate, extract the highest average of the five CPU core for the calculation of variance. When the calculated variance is that the CPU core in most of the time occupancy rate distribution of discrete trends, CPU parallel computing power shows utilization.</p></sec><sec id="s2_2"><title>2.2. Floating Point Computing Exception and Bottlenecks</title><p>1) Floating point operation bottlenecks</p><p>CPU floating point computing power is not sufficient to meet the application requirements.</p><p>Check the strategy: CPU_All_Flops (CPU floating point calculation occupancy rate) maximum M ≥ 70%. CPU floating point calculation occupancy rate is too high. That is, floating-point computing capacity bottlenecks.</p><p>2) Floating point calculation is exploited exception</p><p>The target job is a floating point intensive computing application. CPU floating point computing power is not fully utilized.</p><p>Check strategy: CPU_All_Flops (CPU floating point calculation occupancy rate) Mean E ≤ 5%. That is considered to floating point computing power of an exception.</p></sec><sec id="s2_3"><title>2.3. Memory Resource Exception and Bottlenecks</title><p>1) Memory leak exception</p><p>Memory occupancy continues to grow, there is no stable line, and there is a potential risk of memory leaks.</p><p>Check strategy: Mem_All_MemRatio occupancy rate showed a clear upward trend and an increase of more than 10%. That is, the risk of leakage of memory.</p><p>2) Memory allocation bottlenecks</p><p>CPU idle time is longer. Memory occupancy rate is still in a high state. CPU waits for memory toggle. And there are memory bottlenecks.</p><p>Check the strategy: When the following conditions are met at the same time, that there is a bottleneck in memory allocation.</p><p>a) CPU_All_Idle (CPU idle occupancy) showed a clear upward trend and an increase of more than 10%;</p><p>b) Mem_All_MemRatio (physical memory occupancy rate) has a longer time (more than 15 seconds) remains above 90%.</p></sec><sec id="s2_4"><title>2.4. IO Resource Exception and Bottlenecks</title><p>1) IO read and write assignments exception</p><p>CPU occupancy rate is negatively correlated with IO read and write rate. When the CPU is occupied, the system does not have the file to read and write. While the application is reading and writing files without synchronizing CPU execution. Both do not make full use of resources at the same time</p><p>Check the strategy: CPU_All_Sys + CPU_All_User (active CPU usage) and Disk_All_Read + Disk_All_Write (IO read and write total) showed a significant negative correlation.</p><p>2) IO resource bottlenecks</p><p>The waiting time for reading and writing data requests continues to increase. Multiple processes compete for IO resources at the same time.</p><p>Check the strategy: Disk_All_SeqWait = Disk_All_Await − Disk_All_Svctm (IO waiting queue total time - IO average service time) showed a significant increasing trend.</p><p>3) IO performance bottlenecks</p><p>Disk read and write rates cannot keep up with task requests. Disk read and write tasks queued too long.</p><p>Check the strategy: Disk_All_Avgqu (IO queuing length) shows a clear increasing trend.</p></sec></sec><sec id="s3"><title>3. Analysis of Exception and Bottleneck</title><sec id="s3_1"><title>3.1. CPU Parallel Computing Power Utilization</title><p>As shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>, the application’s five CPU cores (core 0, 4, 12, 20, 28) during the application run, each core CPU active occupancy in three time periods are in a discrete distribution status. That is, the operation of these operations are not evenly shared in the CPU core. Such as in 20:52:10-20:53:02 time period only a CPU core occupancy rate is higher, and other CPU core is idle state. Ideally, several CPU cores with a high primary occupancy rate should maintain a more consistent and averaged CPU activity during application run. So while nearly half of all CPU cores are at 100% occupancy, there is still a risk that the application may have insufficient CPU computing power.</p><p>As shown in <xref ref-type="fig" rid="fig2">Figure 2</xref>, at least one CPU core is occupied by almost zero at almost every time point before the application runs the entire run time, especially before 20:54:37. And with the change of time, low CPU core is in the ever-changing (such as 20:45:46 before the core of the low occupancy rate of 36, and about 20:50:00 is the core of the core occupancy rate of 8). This indicates that the target application is in the process of frequent CPU core switching.</p><fig id="fig1"  position="float"><label><xref ref-type="fig" rid="fig1">Figure 1</xref></label><caption><title> Case 1 of CPU parallel exception</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/11-4700576x2.png"/></fig><fig id="fig2"  position="float"><label><xref ref-type="fig" rid="fig2">Figure 2</xref></label><caption><title> Case 2 of CPU parallel exception</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/11-4700576x3.png"/></fig></sec><sec id="s3_2"><title>3.2. IO Resource Bottlenecks</title><p>As shown in <xref ref-type="fig" rid="fig3">Figure 3</xref>, the blue line represents the IO average service time (Disk_All_Svctm). The red line is the average IO wait time (Disk_All_Await). It can be seen from the figure, in fact, the blue line is in a slow upward trend and a large range of jitter. Although the red line as a whole did not change the magnitude, did not show a clear downward trend. Even in the late IO average service time has a downward trend but the red line still maintained before the level. This shows that IO requests more. Although the performance of the disk itself to ensure that the request queue is no significant growth trend, IO service speed is still unable to effectively ease the IO wait time delay. So it can be considered multiple processes at the same time in competing IO resources, and there is a IO resource bottleneck.</p><fig id="fig3"  position="float"><label><xref ref-type="fig" rid="fig3">Figure 3</xref></label><caption><title> Case of IO resource bottlenecks</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/11-4700576x4.png"/></fig><fig id="fig4"  position="float"><label><xref ref-type="fig" rid="fig4">Figure 4</xref></label><caption><title> Case of IO read and write assignments exception</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/11-4700576x5.png"/></fig></sec><sec id="s3_3"><title>3.3. IO Read and Write Assignments Exception</title><p>IO read and write assignments exception example shown in <xref ref-type="fig" rid="fig4">Figure 4</xref>. Obviously, during this time the CPU active occupancy (CPU_Active) and IO read rate showed a significant negative correlation. You can think of an IO read and write assignment exception. Considering the short duration of the exception, it should be necessary to refer to the distribution of CPU and IO related parameters before and after the time period.</p></sec></sec><sec id="s4"><title>4. Conclusion</title><p>This paper analyzes the resource bottlenecks caused by the abnormal application of meteorological satellite application system. This paper presents an anomaly analysis method for meteorological satellite ground system based on resource bottleneck, analysis of common abnormal state of several kinds of resources from system. And through the CPU parallel computing power and I/O read and write the distribution of experimental analysis, found that the distribution of resources of the two resources, which plays a positive role in some extent on the application of optimization.</p></sec><sec id="s5"><title>Acknowledgments</title><p>The work presented in this study is supported by National High-tech R&amp;D Program (2011AA12A104).</p></sec><sec id="s6"><title>Cite this paper</title><p>Zhao, X.G., Lin, M.Y., Lin, W.X., Xie, L.Z. and Fan, C.Q. (2017) Research on Exception of Meteorological Satellite Ground System Application Based on Resource Bottleneck. Atmospheric and Climate Sciences, 7, 367-373. http://dx.doi.org/10.4236/acs.2017.73027</p></sec></body><back><ref-list><title>References</title><ref id="scirp.77947-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Biswas, S., Zhang, M., Bond, M.D., et al. (2015) Valor: Efficient, Software-Only Region Conflict Exceptions. ACM SIGPLAN Notices, 50, 241-259.https://doi.org/10.1145/2858965.2814292</mixed-citation></ref><ref id="scirp.77947-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Velmourougan, S., Ponnurangam, D. and Ramachandran, B. (2015) Software Development Life Cycle Model to Inculcate Exception Handling. International Journal of Computer Aided Engineering &amp; Technology, 7, 401-420.https://doi.org/10.1504/IJCAET.2015.071300</mixed-citation></ref><ref id="scirp.77947-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Hassan, M.M., Afzal, W., Blom, M., et al. (2015) Testability and Software Robustness: A Systematic Literature Review. 2015 41st Euromicro Conference on Software Engineering and Advanced Applications, Funchal, 26-28 August 2015, 341-348.https://doi.org/10.1109/SEAA.2015.47</mixed-citation></ref><ref id="scirp.77947-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Sawadpong, P. and Allen, E.B. (2016) Software Defect Prediction Using Exception Handling Call Graphs: A Case Study. IEEE, International Symposium on High Assurance Systems Engineering, IEEE, Orlando, FL, 7-9 January 2016, 55-62.https://doi.org/10.1109/HASE.2016.13</mixed-citation></ref><ref id="scirp.77947-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Barbosa, E., Garcia, A., Robillard, M., et al. (2016) Enforcing Exception Handling Policies with a Domain-Specific Language. IEEE Transactions on Software Engineering, 42, 559-584. https://doi.org/10.1109/TSE.2015.2506164</mixed-citation></ref><ref id="scirp.77947-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Si, Y.W., Hoi, K.K., Biuk-Aghai, R.P., et al. (2016) Run-Based Exception Prediction for Workflows. Journal of Systems &amp; Software, 113, 59-75.https://doi.org/10.1016/j.jss.2015.11.024</mixed-citation></ref><ref id="scirp.77947-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Abrantes, J. and Coelho, R. (2015) Specifying and Dynamically Monitoring the Exception Handling Policy. The International Conference on Software Engineering and Knowledge Engineering, Taipei, 24 November 2015, 370-374. https://doi.org/10.18293/SEKE2015-133</mixed-citation></ref><ref id="scirp.77947-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Sundaresan, V. and Voldman, A.H. (2016) Prevention of Classloader Memory Leaks in Multitier Enterprise Applications. U.S. Patent 9,229,744.</mixed-citation></ref><ref id="scirp.77947-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Hyojin, C., Chulwoo, P., Kang, U., et al. (2016) Semiconductor Memory Device with Operation Functions to Be Used during a Modified Read or Write Mode. U.S. Patent 9,292,425.</mixed-citation></ref><ref id="scirp.77947-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Chan, T.S.C., Zhu, W., Cho, J., et al. (2017) Data Storage Device Increasing Sequence Detector Clock Frequency When Bottleneck Condition Is Detected. U.S. Patent 9,619,379.</mixed-citation></ref></ref-list></back></article>