Comparing with one-way wave migration algorithm, reverse time migration (RTM) is more attractive because of the theory advantages. Two-way wave equation has been used to extrapolate wave field in RTM, instead of separating the up going wave and down going wave. However, due to the large amount of computation and I/O, RTM is most time-consuming in industrial applications. In this article, we analyze several computational strategies and propose our method, which uses CPU/GPU as computational core and builds random velocity boundary, for solving I/O problem and computational efficiency problem. In the actual test, it has been proved that this method can largely decrease storage memory units and improve computational efficiency.