You use all the while in order to say that something happens continually or that it happens throughout the time when something else is happening. All the while the people at the next table watched me eat
A while is a period of time. They walked on in silence for a while He was married a little while ago Working at low intensity means that you can continue to perform the activity for a long while