ptrblck:

In your live training code, you should remove the synch.


Yes, I am aware of this. Nevertheless the effective training time is not changing and there does not seem to be a way of improving the speed of training.
Anyway, now I understand what is causing the bottleneck.
Thanks for you help