Even in shieldwall they will run at their maximum speed they can have with a raised shield, which is slower than running without blocking, but faster than walking.
This is an issue because a shield wall made of different kind of troops will quickly dissolve with a F1 > F4 (advance) with troops advancing at different max speed.