Community discussions

 
User avatar
civilman
just joined
Topic Author
Posts: 12
Joined: Wed Jun 09, 2010 11:10 am
Location: Moscow
Contact:

stream video from internet - bandwidth problem

Sat Jun 26, 2010 1:02 am

Hello community!

I have such configuration:
internet optic 30Mbit <-> dlink l2 sw <-> mikrotik x86 (quad core - good server) <-> dlink l2 sw (same) <-> dlink optical l2 sw <-> my optic channel 100mbit <-> zyxes router <-> ethernet to my computer.

Mikrotik do NAT, FW, PPPoE, simple & queue tree, radius, ... Processor's usage like 1-3%.

My computer, based on source/dest IP mangle & queue have 20M limit-at value and internet link used at rate like 5-9mbit (at the moment of the testing)
/queue tree print
name="Up" parent=global-in limit-at=20M priority=8 max-limit=30M burst-limit=0 burst-threshold=0 burst-time=0s
name="Down" parent=global-out limit-at=29M priority=8 max-limit=29M burst-limit=0 burst-threshold=0 burst-time=0s
(Upload rule) name="10.1.2.25-up" parent=Up packet-mark=2103 limit-at=7M queue=default priority=5 max-limit=7M burst-limit=0 burst-threshold=0 burst-time=0s
(Download rule) name="10.1.2.25" parent=Down packet-mark=2103 limit-at=20M queue=default priority=5 max-limit=20M burst-limit=0 burst-threshold=0 burst-time=0s

/ip firewall mangle print
chain=postrouting action=mark-packet new-packet-mark=2103 passthrough=yes dst-address=10.1.2.25
chain=prerouting action=mark-packet new-packet-mark=2103 passthrough=yes src-address=10.1.2.25

My problem that i can download p2p torrent files with good speed (at 1.5-2.3M/sec, like around 20Mbits) BUT if i try to see some video from youtube i have bad bandwidth.
Please advice what to see? What to check?

I am also find interesting thing: when i test bandwidth with http://www.speedtest.net site i got different result's at download (form 5 o 50Mbit's - i don't have 50Mbit link!!) and stable 6.5Mbit upload as you can see at queue tree... Why so? dunno...

Edit post: I try to test Btest server - i got exactly what i have at shaper - 19.6M/6.5M... but when i change Global rule Down to 150M and my shaper value to 100M i got 24-25M/6.5M.... why i can't pass 100M traffic?!
Dmitriy
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8292
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: stream video from internet - bandwidth problem

Sat Jun 26, 2010 3:45 am

try to increase lengths of your queues
Russian-speaking forum: https://forum.mikrotik.by/. Welcome!

For every complex problem, there is a solution that is simple, neat, and wrong.

MikroTik. Your life. Your routing.
 
User avatar
civilman
just joined
Topic Author
Posts: 12
Joined: Wed Jun 09, 2010 11:10 am
Location: Moscow
Contact:

Re: stream video from internet - bandwidth problem

Sat Jun 26, 2010 12:43 pm

Morning!

I try 50 -> 200 packets at default and ethernet-default change - did not help...
 
User avatar
civilman
just joined
Topic Author
Posts: 12
Joined: Wed Jun 09, 2010 11:10 am
Location: Moscow
Contact:

Re: stream video from internet - bandwidth problem

Mon Jun 28, 2010 8:19 pm

Up to topic!

Any advice for my problem?
Main problem that stream video from internet goes with delay... may be some wrong config of the mikrotik shaper?
 
PrvtPilot
newbie
Posts: 25
Joined: Thu Apr 23, 2009 3:46 am
Location: California, USA
Contact:

Re: stream video from internet - bandwidth problem

Mon Jun 28, 2010 8:33 pm

Hi,

Had that same problem with my system. It was all about the queues. I tried what you did increasing the packets and that actually made things worse.

The solution for me was to implement a different queue type, here are the settings:

Name: clientqueue (change to what ever you want)
Kind: sfq
Perturb: 5
Allot: 1514

Once I switched to that queue type my problem went away. Try setting a client or two to that queue type first and see what happens.

Hope this helps.
Dean
 
bafh
Frequent Visitor
Frequent Visitor
Posts: 83
Joined: Sun Jun 27, 2010 3:59 pm
Location: Libau, Lettland

Re: stream video from internet - bandwidth problem

Mon Jun 28, 2010 8:39 pm

Wrong network builder.
 
User avatar
civilman
just joined
Topic Author
Posts: 12
Joined: Wed Jun 09, 2010 11:10 am
Location: Moscow
Contact:

Re: stream video from internet - bandwidth problem

Mon Jun 28, 2010 9:56 pm

PrvtPilot - thx i try...

bafh - instead of stupid comments say something useful.
 
bafh
Frequent Visitor
Frequent Visitor
Posts: 83
Joined: Sun Jun 27, 2010 3:59 pm
Location: Libau, Lettland

Re: stream video from internet - bandwidth problem

Mon Jun 28, 2010 10:03 pm

Pay someone who knows how to.
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8292
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: stream video from internet - bandwidth problem

Mon Jun 28, 2010 11:06 pm

bafh, is it ad of you, or you advertize someone else? :D
Russian-speaking forum: https://forum.mikrotik.by/. Welcome!

For every complex problem, there is a solution that is simple, neat, and wrong.

MikroTik. Your life. Your routing.
 
User avatar
civilman
just joined
Topic Author
Posts: 12
Joined: Wed Jun 09, 2010 11:10 am
Location: Moscow
Contact:

Re: stream video from internet - bandwidth problem

Mon Jun 28, 2010 11:23 pm

hey! hey!

help me ;) i can't understand... I have better "traceroute" to youtube than my friends, have better speed ~20M, but my friends with bad trace & ping & low bandwidth have no problem at all... movie load faster than you can see it, but in my case i have some lags with video... ;(

I try sqf type of queue - that did not help... situation the same.

btw torrents work FINE... at 20M rate.

HELP! what to see? what to change? need some logs/traces/config files?
 
User avatar
civilman
just joined
Topic Author
Posts: 12
Joined: Wed Jun 09, 2010 11:10 am
Location: Moscow
Contact:

Re: stream video from internet - bandwidth problem

Wed Jun 30, 2010 8:21 am

Problem solved!

The solution is to change mode of Ethernet on fiber convertors to 100mbit full-duplex, instead of auto mode.

Thx to all! Shaper work fine!
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8292
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: stream video from internet - bandwidth problem

Fri Jul 02, 2010 2:48 pm

hmmm... were there some errors on your ethernet interface?..
Russian-speaking forum: https://forum.mikrotik.by/. Welcome!

For every complex problem, there is a solution that is simple, neat, and wrong.

MikroTik. Your life. Your routing.
 
User avatar
civilman
just joined
Topic Author
Posts: 12
Joined: Wed Jun 09, 2010 11:10 am
Location: Moscow
Contact:

Re: stream video from internet - bandwidth problem

Fri Jul 02, 2010 2:54 pm

errors was at:
Uplink internet <-> ethernet port (100mbit full duplex manual) <-> ethernet2optic converter (in mode automatic)

Who is online

Users browsing this forum: Google [Bot] and 66 guests