OPNsense Forum

Archive => 16.7 Legacy Series => Topic started by: brando56894 on August 12, 2016, 10:54:32 pm

Title: Problems With Traffic Shaping
Post by: brando56894 on August 12, 2016, 10:54:32 pm
I've read the help section and messed around with it for a few days but it still doesn't seem like I'm getting the results that I want.

I do a lot of torrenting and downloading other large files via Usenet and HTTP, but I also stream a lot of media inside my network and sometimes externally to my friends. I'm also hosting a VM (192.168.1.84) with a Plex server for my friend and ideally I'd like to reserve about 25 Mbps of my upload for her, specifically for Plex, to make sure that she can always stream media from my server to her device smoothly, no matter what I'm doing.

The top priority in my network should be Nvidia's GameStream from my desktop (192.168.1.37) to their GeForce Now streaming service (from their SuperComputers to your Shield, port list (https://www.reddit.com/r/theNvidiaShield/comments/2rkzgr/shield_portable_gamestream_tips_that_helped_out_a/)) should be given top priority. After that, I would like to give SSH and Web traffic second priority. I host a web server on 192.168.1.16 so that should be given high priority as well. Lastly should be my peer to peer traffic, which would be Usenet and Torrents. Ideally I would like to limit these to about 75% of my total bandwidth, and have them be the lowest priority. I would like Usenet traffic to be a higher priority than Torrent traffic since I use that more often. Torrents should be the lowest priority since I mostly just seed torrents and don't download that often. I have about 100+ torrents currently seeding.

I've set up my Pipes, Queues, and Rules as you see below, and when I'm downloading a few torrents that is only using about 50% of my total bandwidth, web traffic slows to a crawl (about 10-35 Mbps on a 100 Mbps Verizon Fios connection), so that would tell me that I don't have my Traffic Shaping setup correctly. If I pause all the torrents, everything is snappy again!

It's definitely not a problem with performance of my hardware since I'm using an Intel(R) Atom(TM) CPU D2550 @ 1.86GHz (4 cores) with 4 GB of RAM, only 32% of which is utilized and only about 10% of my processor is utilized when all torrents are seeding and about 3 are downloading.

Pipes
(http://thumbnails116.imagebam.com/49950/19e7ef499497882.jpg) (http://www.imagebam.com/image/19e7ef499497882)

Queues
(http://thumbnails116.imagebam.com/49950/1bcabd499497883.jpg) (http://www.imagebam.com/image/1bcabd499497883)

Rules
(http://thumbnails116.imagebam.com/49950/ba57c5499497885.jpg) (http://www.imagebam.com/image/ba57c5499497885)
Title: Re: Confused About Traffic Shaping
Post by: brando56894 on August 20, 2016, 06:49:15 pm
No one can help me with this?