Simulation generally needs reliable and efficient communication. Most present communication mechanism, e.g. MPI, involves buffer copying, which leads to high cost. In this paper, we propose a zero-copy intra-node message passing approach DISHM which partitions shared memory into segments and each intra-node process uses one segment to receive messages. Each segment consists of two levels of index L1 and L2 that both control the use of space in the host segment, and processes read from and write to shared memory directly, thereby eliminating copying buffers. As experimental results show, DISHM exhibits nearly equivalent performance to MPI for small message and superior performance for large message - DISHM costs less time by 43%, 40% and 55% respectively in pure communication, communication with contention and real simulation within a single node.
An easy templateless method to synthesize porous carbon nanofibers (CNFs) having radially-oriented mesopores is reported, using selective gasification with nano-sized catalyst particles and hydrogen as the gasification reagent. The gasification generated pores whose size corresponds to that of the catalyst particle used for the drilling. The pores were formed along the graphitic layers, reflecting the structural alignment in the CNFs. The pore size and structure can be controlled by selection of catalyst and gasification conditions.