As you know, osm doesn't collect traffic data. So for routing it gives priority to trunk over primary road. By making ring roads trunk router Will give priority to ring road over internal core roads when ever there are these two options internal roads and ring roads.