In an era of complex networked parallel heterogeneous systems, simulating independently only parts, components, or attributes of a system-under-design is a cumbersome, inaccurate, and inefficient approach. Moreover, by considering each part of a system in an isolated manner, and due to the numerous and highly complicated interactions between the different components, the system optimization capabilities are severely limited. The presented fully-distributed simulation framework (called as COSSIM) is the first known open-source, highperformance simulator that can handle holistically system-of-systems including processors, peripherals and Extension of Conference Paper: N. Tampouratzis et al. An Open-Source Extendable, Highly-Accurate, and Security Aware CPS Simulator. 2017 13th International Conference on DCOSS. When we presented COSSIM at DCOSS, it was a CPStailored simulator with limited capabilities and the corresponding evaluation results were, thus, also limited. COSSIM can now support the simulation of Cloud and HPC infrastructures as well, so the work presented in this article extends the work in DCOSS in several aspects: (a) we extended the synchronization system in a novel way so as to allow it to be decentralized/distributed itself while we evaluated it utilizing multiple HLA servers on different physical machines to demonstrate that COSSIM is a fully-distributed framework, with no centralized components. In the conference paper, a simple centralized approach was described, and (b) we extend the COSSIM capabilities in order to support a wide range of different real network protocols by developing the micro-router functionality. In the conference paper, COSSIM could support only wired Ethernet interconnections, so (c) we extended its capabilities so as to allow for different tradeoff between accuracy and simulation times; no such capabilities have been supported in the 1st version of COSSIM. (d) We have extended our complete framework so as to be able to handle a thousand simulated nodes; the original COSSIM simulator could support up to 32 processing nodes. (e) Several real-world use cases of parallel applications are ported to our new system and evaluated across different metrics. For example, we evaluated the new version of COSSIM when simulating up to 1024 X86-based and ARM-based nodes in a cluster that contains 200 physical cores. In addition, in the current article, COSSIM has been evaluated in terms of all the additional features implemented (i.e., accuracy, scalability, and performance) when executing the widely-used Netperf benchmark suite, which allows it to be compared against similar solutions that may appear in the future. Furthermore, a new real-world use case has been added in the evaluation section (Section 6.4), which clearly demonstrates that COSSIM accurately simulates a complete real system. (f) Finally, in order to further increase the impact of our work to the HPC/Cloud/CPS community, the complete source code with its documentation has now become freely distributed through GitHub.
N. T...