Maximum Bandwidth Value for Limiters
-
Hi all,
What is the highest bandwidth limit that Limiters in pfSense support? The reason I ask is that during some experimenting today I set the limiter's bandwidth to 9500 Mbit/s and received an error that this value was too large. What determines this maximum value and can it be increased? How high can Limiters be set in pfSense? Thanks in advance!
-
Upon further investigation (simple trial and error) it appears that the upper limit is 4294 Mbit/s or 4.294 Gbit/s before the system log complains that the bandwidth value is too large. Does anyone know why this is the upper limit? Is it due to a memory limitation or just a hard coded limit? Can the limit be increased and would this be appropriate to request on Redmine? Thanks again for your help.
-
@tman222 That would be 409610241024 = 2^32 = 4294967296 so max unsigned 32 bit integer. Can't help with how to change it. :) It presumably depends on how it is being handled in the upstream code. But, with all new routers 64 bit and Netgate releasing 10 Gbit connections it seems logical to make it higher. I'd say go ahead and make a redmine entry. It could just be old input validation.
BTW, nice bandwidth.
-
@steveits said in Maximum Bandwidth Value for Limiters:
@tman222 That would be 409610241024 = 2^32 = 4294967296 so max unsigned 32 bit integer. Can't help with how to change it. :) It presumably depends on how it is being handled in the upstream code. But, with all new routers 64 bit and Netgate releasing 10 Gbit connections it seems logical to make it higher. I'd say go ahead and make a redmine entry. It could just be old input validation.
BTW, nice bandwidth.
Thanks @SteveITS - that makes a lot more sense now. Unfortunately no multi-gig internet access here just yet, but there have been rumors that it may be coming this year (fingers crossed).