A multi-threaded version of Field II
- 1 September 2014
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- No. 10510117,p. 2229-2232
Abstract
A multi-threaded version of Field II has been developed, which automatically can use the multi-core capabilities of modern CPUs. The memory allocation routines were rewritten to minimize the number of dynamic allocations and to make pre-allocations possible for each thread. This ensures that the simulation job can be automatically partitioned and the interdependence between threads minimized. The new code has been compared to Field II version 3.22, October 27, 2013 (latest free-ware version). A 64 element 5 MHz focused array transducer was simulated. One million point scatterers randomly distributed in a plane of 20 × 50 mm (width × depth) with random Gaussian amplitudes were simulated using the command calc scat. Dual Intel Xeon CPU E5-2630 2.60 GHz CPUs were used under Ubuntu Linux 10.02 and Matlab version 2013b. Each CPU holds 6 cores with hyper-threading, corresponding to a total of 24 hyper-threading cores. The averaged simulation time for 10 realizations for the old version was 85.1 s. A single thread run for the new version took 27.7 s; a speed-up of 3.1. Employing all 24 cores gave a simulation time of 3.27 s for the one million scatterers corresponding to a speed-up factor of 26 times. The speed-up in general depends on the transducer, scatterers and simulation, and it varies across applications between 13 and 30. The program is fully compatible with older versions, and only a single command has been added for setting the number of threads to use. The division of labor is automatically handled by the program. For a phantom with 100,000 scatterers, it is now possible to simulate a full 128 line image in around 42 seconds with full precision.Keywords
This publication has 13 references indexed in Scilit:
- Fast three-dimensional ultrasound cardiac imaging using multi-transmit beam forming: A simulation study2013
- Huygens on speed: Interactive simulation of ultrasound pressure fields2012
- Modeling nonlinear ultrasound propagation in heterogeneous media with power law absorption using a k-space pseudospectral methodThe Journal of the Acoustical Society of America, 2012
- 3C-2 Full-Wave Simulation of Finite-Amplitude Ultrasound in Heterogeneous MediaIEEE International Ultrasonics Symposium, 2007
- Fast simulation of ultrasound images2000
- The calculation of the transient near and far field of a baffled piston using low sampling frequenciesThe Journal of the Acoustical Society of America, 1997
- Computer Phantoms for Simulating Ultrasound B-Mode and CFM Images1997
- Pulsed transmit/receive response of ultrasonic piezoelectric transducersThe Journal of the Acoustical Society of America, 1981
- Transient Radiation from Pistons in an Infinite Planar BaffleThe Journal of the Acoustical Society of America, 1971
- Generation of acoustic pulses by baffled plane pistonsMathematika, 1969