QOS Wont work

Post new topic   Reply to topic    DD-WRT Forum Index -> X86 based Hardware
Author Message
plazma
DD-WRT User


Joined: 22 Feb 2012
Posts: 68

PostPosted: Fri Jun 06, 2014 21:31    Post subject: QOS Wont work Reply with quote
Hi, after a recent free upgrade of my cable connection i got tired of the fact my poor old router (one of sashs most hated devices) a 1043 restricting the potential of the upgraded line.

So i dug out an old intel atom N270 (2.5 TDP) board i had laying around and threw in a secondary relteak PCI Gigabit network card (so i had two Gigabit cards), i know its pci, i will need to order a mini pcie replacement one as there is only pci and mini pcie on the board has.. anyway.

The system boots and works fine, internet speed is fantastic and im getting well of 100Mbps (more than i expect out of the little PCI CARD).

However the moment i turn QOS on the internet (wan) traffic crawls to pre dialup speeds (at a guess 9600bps). Ive running exactly the same QOS settings ive always used with mips based routers running dd-wrt, i tried other types HTB HFCS / SQF FQ_CODEL, set the QOS or upload download to 0 / the correct values, turned out small packet priority... nothing the moment i turn QOS on it all grinds to a halt.

Im running the public VGA, which should support QOS right?!?

So my question is where am i going wrong, is QOS broken on X86 builds or do i need a certain build number.

The other thing... which is a bit strange, normally i can connect to my cable modems (in brige mode) interface by going to 192.160.100.1, this works fine with dd-wrt on the 1043 but doesnt on the x86 box.

Checking eth0 is the wan port and eht1 is assinged to br0 as i would expect.

After seeing the potential for speed of X86 i dont ever want to go back to the lower power mips based routers again..

I really hope someone can help throw some light on it.
Sponsor
Sash
DD-WRT Guru


Joined: 20 Sep 2006
Posts: 17619
Location: Hesse/Germany

PostPosted: Wed Jun 11, 2014 23:10    Post subject: Reply with quote
1st of all...tp-links are my favorite brank routers...

2nd we need more info on the setup

_________________
Forum Guidelines...How to get help
&
Forum Rules
&
RTFM/STFW
&
Throw some buzzwords into the WIKI search Exclamation
_________________
I'm NOT rude, just offer pure facts!
_________________
Atheros (TP-Link & Clones, etc ) debrick service in EU
_________________
Guide on HowTo be Safe, Secure and Protect Your Online Anonymity!
plazma
DD-WRT User


Joined: 22 Feb 2012
Posts: 68

PostPosted: Thu Jun 12, 2014 0:18    Post subject: Reply with quote
Hi sash, thanks for replying.

Yeah i like the tplinks to, just not the 1043 v1 and its flakey pre final n wireless lol, i figured you and brain slayer were also pretty sick of repeating to people why the wireless was flakey on the v1 and having people bash ddwrt, when its the wirless chip at fault.

I initially tried the latest beta, which is what had the issue with, qos grinding everything to a halt, when i tried earlier builds, 221188 for example of one i tried, i got a kernel panic on boot (not sure why, possily the older 2.x kernel (2.4 maybe).

Just to test out if its the hardware ive loaded openwrt 12.09rc2 (stable branch) and with and without qos i got full speed 162mb however the latest build of ddwrt got me 115mb ish pre turning on qos.

So now thinking about it even though the latest beta booted i can only assume it was having an issue of some form before i had even turned on qos and turning it on only made matters worse.

Hardware wise its an n270 itx atom board, usb storage (in hard drive emulation mode), 2gb ram, both network adapters are rtl gigabit (should be the same driver, one on board and one on pci) no wifi (as i knew public vga wouldnt support it).

If you have any suggestions or want me to test anything i can switch usb drives to boot and test.

I would prefer to be able to use ddwrt over openwrt in the long run, its always served me well on other devices and projects, there is so many small things ive discover in setting it up that i find are either missing on openwrt or are not as well thought out or as easy to setup.

Having now seen the light of using lower power x86 im keen to overcome the issue so i can share the x86 ddwrt love and spread to others.

Besides ive always found the ddwrt support community is always more friendly and helpful Smile

Code:
cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 28
model name      : Intel(R) Atom(TM) CPU N270   @ 1.60GHz
stepping        : 2
microcode       : 0x218
cpu MHz         : 1595.900
cache size      : 512 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov                                                                      pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc arch_perfmon                                                                      pebs bts aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 xtpr pdcm movbe lah                                                                     f_lm dts
bogomips        : 3191.80
clflush size    : 64
cache_alignment : 64
address sizes   : 32 bits physical, 32 bits virtual
power management:


I think both the network controllers fall under the remit of the the rtl8169 driver.

Code:
cat /proc/iomem
00000000-0000ffff : reserved
00010000-0009ebff : System RAM
0009ec00-0009ffff : reserved
000a0000-000bffff : PCI Bus 0000:00
  000a0000-000bffff : Video RAM area
000c0000-000fffff : PCI Bus 0000:00
  000c0000-000c7fff : Video ROM
  000e0000-000fffff : reserved
    000f0000-000fffff : System ROM
00100000-7f4b4fff : System RAM
  01000000-0132c323 : Kernel code
  0132c324-014267ff : Kernel data
  01476000-014b2fff : Kernel bss
7f4b5000-7f4dffff : ACPI Non-volatile Storage
7f4e0000-7f5d5fff : reserved
7f5d6000-7f5d7fff : ACPI Tables
7f5d8000-7f5d9fff : ACPI Non-volatile Storage
7f5da000-7f5fdfff : reserved
7f5fe000-7f5fefff : System RAM
7f5ff000-7f5fffff : ACPI Non-volatile Storage
7f600000-7f607fff : ACPI Tables
7f608000-7f60dfff : ACPI Non-volatile Storage
7f60e000-7f62afff : reserved
7f62b000-7f6fffff : System RAM
7f700000-7fffffff : RAM buffer
80000000-ffffffff : PCI Bus 0000:00
  80000000-80000fff : Intel Flush Page
  c0000000-cfffffff : 0000:00:02.0
  dfc00000-dfcfffff : PCI Bus 0000:05
    dfc00000-dfc1ffff : 0000:05:00.0
    dfc20000-dfc200ff : 0000:05:00.0
      dfc20000-dfc200ff : r8169
  dfd00000-dfdfffff : PCI Bus 0000:01
    dfd00000-dfd1ffff : 0000:01:00.0
  dfe00000-dfe7ffff : 0000:00:02.1
  dfe80000-dfefffff : 0000:00:02.0
  dff00000-dff3ffff : 0000:00:02.0
  dff40000-dff403ff : 0000:00:1f.2
    dff40000-dff403ff : ahci
  dff41000-dff413ff : 0000:00:1d.7
    dff41000-dff413ff : ehci_hcd
  e0000000-ffbfffff : reserved
    e0000000-efffffff : PCI MMCONFIG 0000 [bus 00-ff]
      e0000000-efffffff : pnp 00:01
    fc800400-fc800fff : pnp 00:09
    fec00000-fec003ff : IOAPIC 0
    fed14000-fed17fff : pnp 00:01
    fed18000-fed18fff : pnp 00:01
    fed19000-fed19fff : pnp 00:01
    fed20000-fed23fff : pnp 00:09
    fee00000-fee00fff : Local APIC
      fee00000-fee00fff : pnp 00:09
    ffb00000-ffbfffff : pnp 00:09
  ffe00000-ffefffff : PCI Bus 0000:01
    ffe00000-ffe03fff : 0000:01:00.0
      ffe00000-ffe03fff : r8169
    ffe04000-ffe04fff : 0000:01:00.0
      ffe04000-ffe04fff : r8169
  fff00000-ffffffff : reserved


Video is Intel 945GME Chipset
Sash
DD-WRT Guru


Joined: 20 Sep 2006
Posts: 17619
Location: Hesse/Germany

PostPosted: Tue Jun 17, 2014 18:06    Post subject: Reply with quote
1,6ghz should be enought to nat 500mbps.

firewall, qos/tc setup?

_________________
Forum Guidelines...How to get help
&
Forum Rules
&
RTFM/STFW
&
Throw some buzzwords into the WIKI search Exclamation
_________________
I'm NOT rude, just offer pure facts!
_________________
Atheros (TP-Link & Clones, etc ) debrick service in EU
_________________
Guide on HowTo be Safe, Secure and Protect Your Online Anonymity!
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> X86 based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum