Queue size=0 problem

I want to shape traffic without any queded packets. Any packets above the limit should be dropped immediately. Just like it is described in http://wiki.mikrotik.com/wiki/Manual:Queue_Size as 100% shaper. But when i set queue size to 0 the traffic stops. It doesn’t matter which type of queue i choose, the result is the same for all. Is there a way to achieve that 100% shaper?

I don’t have an answer for your question, but I do wonder why you’d want to drop traffic that isn’t being used by any other queues, when it could borrow that traffic/bandwidth until it’s needed by the higher priority queues.

I can’t think of any downside to using unused bandwidth from higher priority queues. As soon as it’s needed, it will start dropping traffic to meet the queue priority and resource limitations.

-Greg

@Adam84
Use PFIFO kind of queue and ‘pfifo-limit’ parameter as described in Wiki:
http://wiki.mikrotik.com/wiki/Manual:Queue#PFIFO.2C_BFIFO_and_MQ_PFIFO

HTH,

I did that, and it doesn’t work as described in wiki. When I set queue type to pfifo with pfifo-limit=0 (according to wiki it should work as 100% shaper), it’s impossible to reach max-bandwidth of queue. It drops everything, and none traffic is passing.

@Adam84
pfifo-limit=1
‘0’ means there is no buffer space for any packet, hence everything is dropped.

HTH,

I also tried that, with pfifo-limit=1 and max-bandwidth of queue set to 2M there is only around 300k achievable. IMO there is no way to achieve 100% shaper in RoS as described in wiki. Some packets always will be queded (even if max-bandwidth isn’t reached).

I have same problem . To prevent DOS/DDOS attacks to overload queuing process of router . My researches shows less queue size = less cpu usage under attack to clients .