hello folks,
I am able to limit download and upload for p2p with this:
/ip firewall mangle
0 p2p=all-p2p action=passthrough mark-flow=p2p mark-connection=p2p
/queue type
0 X name="p2p-download-limit" parent=global-in flow=p2p limit-at=0 queue=default priority=1 max-limit=16000000
burst-limit=0 burst-threshold=0 burst-time=0
1 X name="p2p-upload-limit" parent=global-out flow=p2p limit-at=0 queue=default priority=1 max-limit=4000000 burst-limit=0
burst-threshold=0 burst-time=0
but what happens is
a) shaping upload speed seems to affect download speed also (ie. when not limited to 4Mbps, download can be 30Mbps, when limiting upload to 4Mbps, download can only be 7-9Mbps or so. I don't know why).
b) when limiting any of download/upload, seems like users are getting EQUAL chunks of speed, something like PCQ kicks in. I have nothing defined in /queue type except defaults. Ie. when I limit download speed to 10Mbps, users can download 6kB/s PER ONE downloading THREAD, so if they download 50 files at once with DC++, they can get 300kB/s, when they download 10 files at once, they get 60kB/s. I can't understand this, it behaves like some PCQ or so. If there is no limit on download, user can download at whatever speed is the other side able to supply (20Mbps makes no problem).
I'm lost, this is definitely my problem, my knowledge lacks. Is anyone able to provide simple configuration that is going to limit p2p UPLOAD speed ONLY?
I don't want to limit download any way, just upload scares me. Reason : on my line I have 30Mbps full-duplex, I can download and upload 30Mbps at once on ethernet in providers room, but radios are not capable of delivering 60Mbps total, so when my people 'feed' internet with data (30Mbps constant, fast line is fast line), they are efficiently LIMITING us in download. And you know what is more important to people, do you? So I would like to see 30Mbps down, 10Mbps up or so. I want to limit P2P upload traffic ONLY, I don't want to limit ALL uploads.
thnx, mp3turbo.