This simple project is designed to load data especially video data parallelly to improve the whole system efficiency.The framework is shown following:
We fork
fig 1: serially loading data, the cpu usage with only 5.3%
fig 2: fork 10 threads to load data, the cpu usage with nearly 30%, almost 6 times than the serial version.
fig 3: fork 30 threads to load data
The blog written in Chinese at site https://blog.csdn.net/LoseInVain/article/details/80311534.