Community discussions

MikroTik App
 
byzon
newbie
Topic Author
Posts: 30
Joined: Fri Mar 24, 2006 8:09 pm

How mutch clients on one Microtic ?

Sun Jul 23, 2006 2:51 am

Is there a limit on the Queues ?
And do somebody have a big number of clients ? if so , lets say ?

I have a 1100 people on one machine , it works good :)

The machine is Intel(R)2.7 , 1000 MiB of ram , When there are more people in the network the CPU is 60 - 70 %
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6697
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Sun Jul 23, 2006 8:25 am

There is not any queue limit.
Certainly, queues require some router's resources (60-70% CPU load means, that CPU is working :D ).
There are ways to optimize your queues (e.g. using PCQ, etc.), if you have 1100 queues entries.
 
byzon
newbie
Topic Author
Posts: 30
Joined: Fri Mar 24, 2006 8:09 pm

Sun Jul 23, 2006 11:42 pm

I have been reached queue1772 :) what exacly you mean "optimize" can u explain exacly , soory for the english it is bad :)
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26918
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Mon Jul 24, 2006 8:08 am

if you have 1100 queues with the same speed limit, it just wastes your resources. just make one PCQ queue (see manual) that will limit all your users each with the same limit (you will replace 1100 queues with 1-2)
 
Ozelo
Member
Member
Posts: 338
Joined: Fri Jun 02, 2006 3:56 am

Mon Jul 24, 2006 5:55 pm

if you have 1100 queues with the same speed limit, it just wastes your resources. just make one PCQ queue (see manual) that will limit all your users each with the same limit (you will replace 1100 queues with 1-2)
Could this be done on a PPPOE server which every ppp interface have a dynamic simple queue? Thanks in advance..
 
ParisDragon
newbie
Posts: 32
Joined: Wed May 24, 2006 9:52 pm
Location: NorthEast Texas, USA
Contact:

Mon Jul 24, 2006 9:30 pm

if you have 1100 queues with the same speed limit, it just wastes your resources. just make one PCQ queue (see manual) that will limit all your users each with the same limit (you will replace 1100 queues with 1-2)
The way I understand PCQ queues it shares that bandwidth equally among all users, in this case 1100 users would each have an equal share of bandwidth, if the queue is set to 2M for example and 4 users who should get 2M each are sharing it at the same time, they each get 512k?

Is there some way that is would give them each 2M?
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6697
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Tue Jul 25, 2006 8:34 am

ParisDragon,
you can use PCQ in the another way too.
e.g. mark clients and specify certain bandwidth 2M/2M.
Of course you should have 8M line, if you want 4 users to get 2M/2M.
 
ParisDragon
newbie
Posts: 32
Joined: Wed May 24, 2006 9:52 pm
Location: NorthEast Texas, USA
Contact:

Tue Jul 25, 2006 4:36 pm

ParisDragon,
you can use PCQ in the another way too.
e.g. mark clients and specify certain bandwidth 2M/2M.
Of course you should have 8M line, if you want 4 users to get 2M/2M.
Let's hope Mikrotik takes our suggestions of Bandwidth queue groups where each member of the group gets the bandwidth assigned for the group.
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6697
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Tue Jul 25, 2006 8:09 pm

 
ParisDragon
newbie
Posts: 32
Joined: Wed May 24, 2006 9:52 pm
Location: NorthEast Texas, USA
Contact:

Tue Jul 25, 2006 10:54 pm

It would be if you didnt have to use IPs or subnets to define them, for example, grouped would be using a firewall address list or a group of IPs defined somewhere (ex. 128k users, 512k users) and inside the group was the IPs of the clients needing this shaping, then the simple queue could have Target "128k users" instead of an IP etc.

Here is a mock up using the link you sent:

1. Setup PCQ queue types - one for download and one for upload. dst-address is classifier for user's download traffic, src-address for upload traffic:

/queue type add name="PCQ_download128k" kind=pcq pcq-rate=128000 pcq-classifier=dst-address
/queue type add name="PCQ_upload64k" kind=pcq pcq-rate=64000 pcq-classifier=src-address

/queue type add name="PCQ_download512k" kind=pcq pcq-rate=512000 pcq-classifier=dst-address
/queue type add name="PCQ_upload128k" kind=pcq pcq-rate=128000 pcq-classifier=src-address


2. Setup your IP groups to define users to utilize this:
/add ip group "128k Users"
/ip group 0 add ip-addresse=192.168.0.12
/ip group 0 add ip-addresse=192.168.0.17
/ip group 0 add ip-addresse=192.168.0.21
/ip group 0 add ip-addresse=192.168.0.7
/add ip group "512k Users"
/ip group 1 add ip-addresse=192.168.0.9
/ip group 1 add ip-addresse=192.168.0.217
/ip group 1 add ip-addresse=192.168.0.24
/ip group 1 add ip-addresse=192.168.1.10

3. Simple Queue for download/upload:

/queue simple add queue=PCQ_upload64k/PCQ_download128k target-group="128k users"

/queue simple add queue=PCQ_upload128k/PCQ_download512k target-group="512k users"
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6697
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Wed Jul 26, 2006 7:40 am

1) User groups are defined in 'ip firewall address-list' in the same way.
2) You can use queue tree instead of simple queues to accomplish scenario in described way.
 
wildbill442
Forum Guru
Forum Guru
Posts: 1055
Joined: Wed Dec 08, 2004 7:29 am
Location: Sacramento, CA

Wed Jul 26, 2006 4:38 pm

Could this be done on a PPPOE server which every ppp interface have a dynamic simple queue? Thanks in advance..
I would like to know this as well.. By default the PPPoE dynamic queues use a Default-small queue type. So in theory, if you were to change the default-small queue type from the default (PFIFO) to PCQ I believe you could achieve this... Test it and report back, or if someone has done this before please confirm!

Thanks.
 
byzon
newbie
Topic Author
Posts: 30
Joined: Fri Mar 24, 2006 8:09 pm

Thu Aug 10, 2006 11:44 pm

With pcq work great ! From 70, 95 CPU Load my CPU is 25 , 40 good ! thanks all !
 
prawira
Member
Member
Posts: 363
Joined: Fri Feb 10, 2006 5:11 am
Contact:

How to get the graphs of each customer usages ?

Sat Aug 12, 2006 9:13 am

Good to see the 70-95% drop to 25%..

but.. one question left...

How to see the graph of each customer usages ?

Paul
 
byzon
newbie
Topic Author
Posts: 30
Joined: Fri Mar 24, 2006 8:09 pm

Tue Aug 15, 2006 1:24 pm

I dont have a idea :)

Who is online

Users browsing this forum: negavoid2, snowzach and 100 guests