You can also try torrenting with webshield (or all shields) off. If its caused by avast, you should see the speed back with shields off.
What avast edition? Free? Pro? Ais? What os? Xp? Win 7?
Lukáš