Community discussions

MikroTik App
 
sandman
newbie
Topic Author
Posts: 37
Joined: Sat Apr 07, 2007 2:13 am

Max number of users per PCQ Queue?

Sat Dec 13, 2008 5:52 am

I'm working on switching my 600+ simple queues to PCQ queues using Queue Tree. I have one PCQ queue that will have about 400 different users in it and even more in the future. I set it to Rate: 512k Limit: 50 and Total Limit: 20000. If I understand the PCQ examples correctly, that should be OK for up to 400 concurrent users.

My question is, can the PCQ queue I described above handle that number of users/connections OK?
Is there anything wrong with my settings of Rate: 512k Limit: 50 and Total Limit: 20000 for that queue?
What do you recommend the Limit value be set for best performance? The router has 2gigs of RAM, so memory isn't a factor.
 
dot-bot
Member Candidate
Member Candidate
Posts: 164
Joined: Tue Oct 11, 2005 7:05 pm

Re: Max number of users per PCQ Queue?

Sun Dec 14, 2008 2:29 pm

Try to test and monitor the config under load. Try tweaking a little to see any difference. Post your observations here :)
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8712
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: Max number of users per PCQ Queue?

Sun Dec 14, 2008 10:30 pm

if memory is not a factor, then increase your limit =)
I prefer greater values, less drops
 
sandman
newbie
Topic Author
Posts: 37
Joined: Sat Apr 07, 2007 2:13 am

Re: Max number of users per PCQ Queue?

Mon Dec 15, 2008 1:29 am

if memory is not a factor, then increase your limit =)
I prefer greater values, less drops
Memory is not a factor on this router (2 gigs of RAM). 50 is the default value for limit. Increasing it decreases drops, but doesn't that also increase latency in the network, when PCQ is actually queueing? I just want to fully understand the pros and cons of adjusting these setting. What's a good number to run the PCQ Limit at?

Thanks...
 
User avatar
gustkiller
Member
Member
Posts: 419
Joined: Sat Jan 07, 2006 5:15 am
Location: Brazil
Contact:

Re: Max number of users per PCQ Queue?

Mon Dec 15, 2008 2:01 am

if memory is not a factor, then increase your limit =)
I prefer greater values, less drops
Memory is not a factor on this router (2 gigs of RAM). 50 is the default value for limit. Increasing it decreases drops, but doesn't that also increase latency in the network, when PCQ is actually queueing? I just want to fully understand the pros and cons of adjusting these setting. What's a good number to run the PCQ Limit at?

Thanks...
sandman you are right. longer queue = more delay.
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8712
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: Max number of users per PCQ Queue?

Mon Dec 15, 2008 11:40 am

"longer queue = more delay"??? don't you think, that shorter queue = longer delay due to drop and following resend? =) queue do not pass data faster than rate in any case
 
dot-bot
Member Candidate
Member Candidate
Posts: 164
Joined: Tue Oct 11, 2005 7:05 pm

Re: Max number of users per PCQ Queue?

Mon Dec 15, 2008 12:04 pm

To fix delay of important traffic - give it more priority in your QoS setup. Post it in the forums for discussion.
 
User avatar
macgaiver
Forum Guru
Forum Guru
Posts: 1768
Joined: Wed May 18, 2005 5:57 pm
Location: Sol III, Sol system, Sector 001, Alpha Quadrant

Re: Max number of users per PCQ Queue?

Mon Dec 15, 2008 12:30 pm

Both parties are right and wrong at the same time.

It all depends on traffic type. For some it is better to have drops, but other packets must arrive without latency (VOIP for example), for others all packets must arrive and no matter when (any type of TCP).

As we have all this traffic together, it is necessary to find balance. In my case it is ~20-30 packets for every PCQ substream.
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8712
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: Max number of users per PCQ Queue?

Mon Dec 15, 2008 1:38 pm

'without latency' and 'bandwidth limiting' - can they coexist together? =)
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Re: Max number of users per PCQ Queue?

Mon Dec 15, 2008 1:47 pm

if you do not reach your limits :)

that way, user who did reach its limits, does not interfere with user that did not, and if you have high latency - you know (as an user) that you have to stop some netapp, so you get better latencies for what you need at that moment.
 
dot-bot
Member Candidate
Member Candidate
Posts: 164
Joined: Tue Oct 11, 2005 7:05 pm

Re: Max number of users per PCQ Queue?

Mon Dec 15, 2008 1:48 pm

I hope they will coexist like a piece of art, in my QoS setup. With extra effort to make it good.
 
User avatar
Ishtiaque
Frequent Visitor
Frequent Visitor
Posts: 54
Joined: Sat Jul 30, 2016 5:17 pm
Location: Bangladesh
Contact:

Re: Max number of users per PCQ Queue?

Fri Jun 02, 2017 1:23 am

if memory is not a factor, then increase your limit =)
I prefer greater values, less drops
Dear ,
In PCQ
How Much packet is exceptional in Limit ? Limit 500 and Total Limit 100000 ? for 200 Users at 2Mbps Rate ?
Please and please suggest me , i am in large confusion about Limit And Total Limit ....... Please :(
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8712
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: Max number of users per PCQ Queue?

Fri Jun 02, 2017 9:38 am

Currently we're using Limit set to 64 or 96 (at Rates about 5-50 mbps)
Multiply it by the number of clients - and use the result as Max-Limit
 
User avatar
Ishtiaque
Frequent Visitor
Frequent Visitor
Posts: 54
Joined: Sat Jul 30, 2016 5:17 pm
Location: Bangladesh
Contact:

Re: Max number of users per PCQ Queue?

Sat Jun 03, 2017 12:30 am

Currently we're using Limit set to 64 or 96 (at Rates about 5-50 mbps)
Multiply it by the number of clients - and use the result as Max-Limit
Dear
At first i am thanking you for this math ,

Dear now see is this ok ? Rate 2M Limit 96 Total Limit 19200 for 200 users ...

Dear is this correct configuration ?
and what is the correct value in PPPoE server of MTU and MRU ? Please ? :-?
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8712
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: Max number of users per PCQ Queue?

Mon Jun 05, 2017 4:01 pm

Dear now see is this ok ? Rate 2M Limit 96 Total Limit 19200 for 200 users ...

Dear is this correct configuration ?
yep, should work okay
and what is the correct value in PPPoE server of MTU and MRU ? Please ? :-?
what if you don't change the default values? :)
 
User avatar
Ishtiaque
Frequent Visitor
Frequent Visitor
Posts: 54
Joined: Sat Jul 30, 2016 5:17 pm
Location: Bangladesh
Contact:

Re: Max number of users per PCQ Queue?

Tue Jun 06, 2017 12:34 am

Dear now see is this ok ? Rate 2M Limit 96 Total Limit 19200 for 200 users ...

Dear is this correct configuration ?
yep, should work okay
and what is the correct value in PPPoE server of MTU and MRU ? Please ? :-?
what if you don't change the default values? :)
Dear ,
Thank you so much for the answer ,
and MTU and MRU if i keep default values than all PPPoE clients disconnects in a gap of 8/10 hours , and i can't catch it where is the fault , if set MTU and MRU to 1492 than clients disconnects in a gap of 20/24 hours
it is horrible for me .
my pppoe server keep alive timeout is default 10 , and default profile is set as default .....
authincation PAP .. given a picture here Image

Please Dear Help and train me :(
 
User avatar
Ishtiaque
Frequent Visitor
Frequent Visitor
Posts: 54
Joined: Sat Jul 30, 2016 5:17 pm
Location: Bangladesh
Contact:

Re: Max number of users per PCQ Queue?

Wed Jun 07, 2017 1:06 am

Please Dear Help .......... :(

Please Help :( :( :(
Last edited by Ishtiaque on Fri Jun 09, 2017 1:37 am, edited 2 times in total.
 
User avatar
Ishtiaque
Frequent Visitor
Frequent Visitor
Posts: 54
Joined: Sat Jul 30, 2016 5:17 pm
Location: Bangladesh
Contact:

Re: Max number of users per PCQ Queue?

Wed Jun 07, 2017 1:23 am

Dear now see is this ok ? Rate 2M Limit 96 Total Limit 19200 for 200 users ...

Dear is this correct configuration ?
yep, should work okay
and what is the correct value in PPPoE server of MTU and MRU ? Please ? :-?
what if you don't change the default values? :)
Here Is Default Value Dear ........ :(

Image

I am Really Confused and i am not a Specialist Of MT ......... (

Please Help ......... :(
Last edited by Ishtiaque on Fri Jun 09, 2017 1:35 am, edited 1 time in total.
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8712
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: Max number of users per PCQ Queue?

Wed Jun 07, 2017 5:34 pm

The client disconnects with what reason? I can't see any connection between MTU and disconnections
 
User avatar
Ishtiaque
Frequent Visitor
Frequent Visitor
Posts: 54
Joined: Sat Jul 30, 2016 5:17 pm
Location: Bangladesh
Contact:

Re: Max number of users per PCQ Queue?

Thu Jun 08, 2017 1:12 am

The client disconnects with what reason? I can't see any connection between MTU and disconnections
Dear disconnect may be happening for my other hardware's
But Is it okay to use default configuration in PPPoe Server ? MTU MRU ? on given Image ?

Please Help .... :(
May Be i am disturbing you too much
Please Forgive Me ... :(
 
User avatar
Ishtiaque
Frequent Visitor
Frequent Visitor
Posts: 54
Joined: Sat Jul 30, 2016 5:17 pm
Location: Bangladesh
Contact:

Re: Max number of users per PCQ Queue?

Fri Jun 09, 2017 1:22 am

Read on this post. After reading the whole post, we can get solutions to deal with the trouble quickly and safely. Thanks for your nice sharing.

You Are Welcome Dear :)
 
User avatar
Ishtiaque
Frequent Visitor
Frequent Visitor
Posts: 54
Joined: Sat Jul 30, 2016 5:17 pm
Location: Bangladesh
Contact:

Re: Max number of users per PCQ Queue?

Fri Jun 09, 2017 1:34 am

Dear now see is this ok ? Rate 2M Limit 96 Total Limit 19200 for 200 users ...

Dear is this correct configuration ?
yep, should work okay
and what is the correct value in PPPoE server of MTU and MRU ? Please ? :-?
what if you don't change the default values? :)
Image

I Just want to know what is the Perfect Value For PPPoE servers MTU and MRU Dear ,
Please Suggest Dear ........ :(
 
User avatar
Ishtiaque
Frequent Visitor
Frequent Visitor
Posts: 54
Joined: Sat Jul 30, 2016 5:17 pm
Location: Bangladesh
Contact:

Re: Max number of users per PCQ Queue?

Sat Oct 20, 2018 7:23 pm

MTU - 1480
MRU - 1480
Is this For worldwide Settings ?
Thanks all my Brothers.
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8712
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: Max number of users per PCQ Queue?

Sun Oct 21, 2018 10:32 pm

It's not to fragment tunnelled packets with ethernet MTU 1500. So everything depends on your conditions.
 
User avatar
Ishtiaque
Frequent Visitor
Frequent Visitor
Posts: 54
Joined: Sat Jul 30, 2016 5:17 pm
Location: Bangladesh
Contact:

Re: Max number of users per PCQ Queue?

Sun Oct 21, 2018 11:09 pm

It's not to fragment tunnelled packets with ethernet MTU 1500. So everything depends on your conditions.
Oh Sorry !
I forgot to tell that these are the PPPoE
MTU and MRU ......
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8712
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: Max number of users per PCQ Queue?

Mon Oct 22, 2018 3:27 pm

PPPoE overhead is 8 bytes, so if your Ethernet MTU is 1500 bytes, PPPoE MTU can be up to 1492 bytes.
 
User avatar
Ishtiaque
Frequent Visitor
Frequent Visitor
Posts: 54
Joined: Sat Jul 30, 2016 5:17 pm
Location: Bangladesh
Contact:

Re: Max number of users per PCQ Queue?

Wed Oct 31, 2018 12:02 am

Is there any way to transfer lot more bytes by PPPoE service . We are in MTU AND MRU JAIL with 1480 ..


Love's for you Chupka.
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8712
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: Max number of users per PCQ Queue?

Wed Oct 31, 2018 8:43 am

What's wrong with 1480 (or 1492, as I said earlier)? What jail do you mean?
 
User avatar
Ishtiaque
Frequent Visitor
Frequent Visitor
Posts: 54
Joined: Sat Jul 30, 2016 5:17 pm
Location: Bangladesh
Contact:

Re: Max number of users per PCQ Queue?

Thu Nov 01, 2018 10:39 pm

What's wrong with 1480 (or 1492, as I said earlier)? What jail do you mean?
Guru
There is some limitations in transmission in MTU AND MRU in PPPoE service , but without PPPoE we can set transmission to 1500 MTU, this is faster then 1480 !! Is not it ?
So how can I maximize transmission rate by PPPoE ?
Sorry for my English....
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8712
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: Max number of users per PCQ Queue?

Thu Nov 01, 2018 11:06 pm

What do you mean saying "faster"? You just need a little more packets to transmit the same amount of data. It's definitely not a jail.

Do you have any numbers? Like "with 1492 pppoe mtu I download at 100 mbps, but with 1484 pppoe mtu I can only download at 60 mbps" or something...
 
User avatar
Ishtiaque
Frequent Visitor
Frequent Visitor
Posts: 54
Joined: Sat Jul 30, 2016 5:17 pm
Location: Bangladesh
Contact:

Re: Max number of users per PCQ Queue?

Thu Nov 01, 2018 11:18 pm

Yes guru I facing problem, my all users under PPPoE service, all have 32Mps Rate , and they are always complaining me for slow browsing, but streaming video is ok . What can I do ? Leave PPPoE service ?
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8712
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: Max number of users per PCQ Queue?

Fri Nov 02, 2018 12:04 am

Any examples of slow browsing? Like screenshot of Network tab in Developer Tools during page opening in Chrome?

Anyway, I don't think that 1,3% difference in payload size are even observable by your users :)
 
User avatar
Ishtiaque
Frequent Visitor
Frequent Visitor
Posts: 54
Joined: Sat Jul 30, 2016 5:17 pm
Location: Bangladesh
Contact:

Re: Max number of users per PCQ Queue?

Fri Nov 02, 2018 12:10 am

Sure guru I will give you many screen shots of my slow browsing
 
User avatar
Ishtiaque
Frequent Visitor
Frequent Visitor
Posts: 54
Joined: Sat Jul 30, 2016 5:17 pm
Location: Bangladesh
Contact:

Re: Max number of users per PCQ Queue?

Sat Aug 10, 2019 3:37 am

Chupka,
You were totally correct in all these answers,
Yes Guru means Master and you are the Master 😊 💐
Love you.

Who is online

Users browsing this forum: sindy and 32 guests