Community discussions

MikroTik App
 
fahedksa
Member Candidate
Member Candidate
Topic Author
Posts: 107
Joined: Mon Nov 27, 2006 2:27 pm

Cached files without queue lmit v3.11

Wed Jul 23, 2008 10:11 pm

Hay,
Is it possible to not limit the cached files
example if i have queue limit download speed to 2 mb for all active users. but wthen user want download file already avaliable in cache he will get the file at the speed of network

Please need help with codes
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26378
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: Cached files without queue lmit v3.11

Thu Jul 24, 2008 1:16 pm

this presentation from the Egypt MUM has some info on your question:
http://mum.mikrotik.com/presentations/EG07/sunday.pdf

there is even a video of it:
http://www.tiktube.com/2007/11/30/mum-e ... y-idajili/
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6695
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Re: Cached files without queue lmit v3.11

Thu Jul 24, 2008 4:38 pm

http://wiki.mikrotik.com/wiki/Queue_wit ... _Web-Proxy
Here is configuration example set limit 0 for queues, which are used for unlimited access.
 
cylent
Member
Member
Posts: 383
Joined: Sun May 28, 2006 10:30 am

Re: Cached files without queue lmit v3.11

Wed Jul 30, 2008 11:44 pm

this would be great if someone can show some rules on how to set it up?
 
raktim
Member Candidate
Member Candidate
Posts: 184
Joined: Fri Jun 15, 2007 7:22 am

Re: Cached files without queue lmit v3.11

Sat Oct 04, 2008 3:23 pm

i have 400 pppoe users. But i need help to make mangle rule which will mark the cached packet. then i will make a simple queue & put it at the first with unlimited bandwidth. May be it will help pppoe users to get access cached without queue limit.

can anyone plz help me abt the mangle rule???

thnxs,
raktim
 
raktim
Member Candidate
Member Candidate
Posts: 184
Joined: Fri Jun 15, 2007 7:22 am

Re: Cached files without queue lmit v3.11

Sat Oct 04, 2008 3:37 pm

i have tried but failed...
mangle.JPG
is it right way???
You do not have the required permissions to view the files attached to this post.
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8709
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: Cached files without queue lmit v3.11

Sat Oct 04, 2008 4:28 pm

what queue type did you set for selected rule?

if default-small, try change it to default
 
raktim
Member Candidate
Member Candidate
Posts: 184
Joined: Fri Jun 15, 2007 7:22 am

Re: Cached files without queue lmit v3.11

Sat Oct 04, 2008 5:44 pm

just simple queue..

can u plz tell me da difference between default-small & default




thnxs,
raktim
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8709
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: Cached files without queue lmit v3.11

Sat Oct 04, 2008 7:58 pm

What's new in 3.12:

*) changed behaviour of simple queues - queues with no limit and type default-small
and no children actually do not get installed, as if there was no queue;
so change the type from default-small to default
 
raktim
Member Candidate
Member Candidate
Posts: 184
Joined: Fri Jun 15, 2007 7:22 am

Re: Cached files without queue lmit v3.11

Sun Oct 05, 2008 6:49 am

Thnxs Chupaka... it's working.

thank u very much. :D

thnxs,
raktim
 
beny30
Member Candidate
Member Candidate
Posts: 137
Joined: Tue Aug 26, 2008 2:13 pm

Re: Cached files without queue lmit v3.11

Mon Oct 13, 2008 4:04 pm

I have the same problems, My Mikrotik Version is 3.13.
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8709
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: Cached files without queue lmit v3.11

Mon Oct 13, 2008 4:33 pm

beny30, the same problem = the same solution =)
 
beny30
Member Candidate
Member Candidate
Posts: 137
Joined: Tue Aug 26, 2008 2:13 pm

Re: Cached files without queue lmit v3.11

Mon Oct 13, 2008 5:00 pm

Thanks Chupaka, but it is not working for me. I want to ask you some questions if you can help me.
Do I need to set queue for PPPoE users in profiles or by simple queues?
I have configured my router like in this http://wiki.mikrotik.com/wiki/Queue_wit ... _Web-Proxy

Do I need to change any rule?

In my case this two Queue Tree does not change all the time they are 0
And one thing here

Queue Tree
0 name="downstream" parent=lan packet-mark=test-down
limit-at=32000 queue=default priority=8
max-limit=32000 burst-limit=0
burst-threshold=0 burst-time=0s

1 name="upstream" parent=global-in
packet-mark=test-up limit-at=32000
queue=default priority=8
max-limit=32000 burst-limit=0
burst-threshold=0 burst-time=0s

Can we change max-limit why it is used by web-proxy or by users?
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8709
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: Cached files without queue lmit v3.11

Mon Oct 13, 2008 5:17 pm

beny30, if you use PPPoE, try just setup bandwidth in Profile, and then mark output having dscp=4 with some packet mark, so it go round the PPPoE's dynamic queues

the example you pointed is for direct WAN access or Hotspot, I think
 
beny30
Member Candidate
Member Candidate
Posts: 137
Joined: Tue Aug 26, 2008 2:13 pm

Re: Cached files without queue lmit v3.11

Mon Oct 13, 2008 5:24 pm

I have three interfaces: WAN, LAN (LAN1 and LAN2) bridge.
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8709
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: Cached files without queue lmit v3.11

Mon Oct 13, 2008 5:30 pm

plus one interface per PPPoE user ;)

so try to do what I said
 
beny30
Member Candidate
Member Candidate
Posts: 137
Joined: Tue Aug 26, 2008 2:13 pm

Re: Cached files without queue lmit v3.11

Mon Oct 13, 2008 5:40 pm

I did it, it counts now too slow but if you look for a long time you see that the numbers change. Do I need to set any simple queue for unlimited traffic from the cache, how to check if they get files faster with LAN speed, how can I check if there are files in the cache?

Thanks in advace

Who is online

Users browsing this forum: RBrogen and 124 guests