[FUG-BR] RES: Bge0 e FreeBSD.

2010-01-22 Por tôpico Eduardo Schoedler
E aí, novidades sobre o problema ?

-
Histórico: http://www.fug.com.br/historico/html/freebsd/
Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd


Re: [FUG-BR] RES: Bge0 e FreeBSD.

2010-01-22 Por tôpico Matheus Cucoloto
Bom dia.

2010/1/22 Eduardo Schoedler eschoed...@viavale.com.br

 E aí, novidades sobre o problema ?

 -
 Histórico: http://www.fug.com.br/historico/html/freebsd/
 Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd




-- 
---
Matheus Cucoloto
Unix Expertise
Voip Expertise

WiTec - Wi Telecom
Fix: +55 44 36194203
Cel: +55 44 99216200
Sip: sip://1...@sipwicne1.grupoirapida.com.br
-
Histórico: http://www.fug.com.br/historico/html/freebsd/
Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd


Re: [FUG-BR] RES: Bge0 e FreeBSD.

2010-01-22 Por tôpico Matheus Cucoloto
2010/1/22 Eduardo Schoedler eschoed...@viavale.com.br

 E aí, novidades sobre o problema ?



Bom dia.

Então...

Mais uma noite de trabalho e o resultado foi:

 input(Total)   output
   packets  errs  bytespackets  errs  bytes colls
 69074 0   33396030  69058 0   33296992 0
 70214 0   34581706  70179 0   34469716 0
 68854 0   34335176  68825 0   34230444 0
 65893 0   31321556  65847 0   31218318 0
 66450 0   29536268  66436 0   29434424 0
 66200 0   31793260  66166 0   31687672 0
 65294 0   31925960  65261 0   31823412 0
 65581 0   31584054  65567 0   31487664 0
 65919 0   30649070  65873 0   30531314 0
 71187 0   35389114  71178 0   35294468 0
 70615 0   35373244  70580 0   35256734 0
 70761 0   36687284  70720 0   36558234 0
 69331 0   35336904  69275 0   35207282 0
 73113 0   35792378  73086 0   35667212 0
 72523 0   35639974  72500 0   35544634 0
 71080 0   35465936  71045 0   35344748 0
 69356 0   33400414  69337 0   33297696 0
 70033 0   33515858  70002 0   33393676 0
 69389 0   34787444  69371 0   34680578 0
 70827 0   34089884  70795 0   33975098 0
 68987 0   34349994  68955 0   34241792 0

   bge1bge0   Total
 Kbps in  Kbps out   Kbps in  Kbps out   Kbps in  Kbps out
95757.47  17558.51  54182.59  131799.8  149940.1  149358.3
96816.23  16188.94  56005.61  135872.7  152821.8  152061.7
97213.54  17815.45  53701.77  132379.4  150915.3  150194.8
92561.73  16781.38  55053.06  129956.8  147614.8  146738.2
93174.40  16595.95  56569.33  132469.4  149743.7  149065.4
93607.77  16706.08  55444.06  131550.8  149051.8  148256.8
94913.13  18582.23  57510.34  133180.1  152423.5  151762.3
94399.77  19319.25  61388.02  135558.3  155787.8  154877.6
93143.93  17924.18  55715.91  129872.9  148859.8  147797.1
99706.27  17351.43  58022.10  139705.0  157728.4  157056.4
96284.44  17844.76  56161.61  133968.3  152446.1  151813.0
100820.8  18698.39  56737.90  138052.2  157558.7  156750.6
94386.06  18861.08  56359.79  131184.6  150745.8  150045.7
92801.79  18367.76  60831.99  134506.0  153633.8  152873.8
95206.45  18141.78  58372.55  134782.6  153579.0  152924.4
92836.85  19326.63  56173.16  128876.0  149010.0  148202.7
98910.99  17776.68  56508.55  136931.8  155419.5  154708.5
99704.72  17130.06  57243.05  138969.8  156947.8  156099.9
101048.0  16150.51  54686.64  138701.7  155734.7  154852.2

Nenhuma perda de pacote.

Isso de manhã né, tem que ver a tarde aonde o negocio pega.

Modificações realizadas:

No kernel:

HZ=100

Tirei tudo o que não ia ser usado ficando apenas o GENERIC enchuto e o
IPFW(em casos de necessidade).


Sysctl:

net.inet.ip.ttl=128
net.inet.tcp.maxtcptw=40960
net.isr.direct=0
kern.polling.burst_max=1000
kern.polling.each_burst=1000
kern.polling.reg_frac=100
kern.polling.user_frac=1
kern.polling.idle_poll=0


loader.conf:

kern.ipc.nmbclusters=165536
kern.ipc.maxsockets=165536
vm.kmem_size=2G
kern.maxbcache=512M


Alterações físicas:

Desliguei o server, tirei da tomada, abri, tirei e coloquei as memorias,
abençoei com agua benta, pendurei um alho nos cabos de rede e liguei.


Mais uma vez obrigado a todos pela força.

Abraços.

-- 
---
Matheus Cucoloto
Unix Expertise
Voip Expertise
-
Histórico: http://www.fug.com.br/historico/html/freebsd/
Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd


[FUG-BR] RES: Bge0 e FreeBSD.

2010-01-22 Por tôpico Eduardo Schoedler
Matheus Cucoloto escreveu:
 Nenhuma perda de pacote.
 Isso de manhã né, tem que ver a tarde aonde o negocio pega.


E o MTU ? Você está usando Jumbo Frames ?

--
Eduardo Schoedler

-
Histórico: http://www.fug.com.br/historico/html/freebsd/
Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd


Re: [FUG-BR] RES: Bge0 e FreeBSD.

2010-01-22 Por tôpico Matheus Cucoloto
2010/1/22 Eduardo Schoedler eschoed...@viavale.com.br


 E o MTU ? Você está usando Jumbo Frames ?

 --
 Eduardo Schoedler



Não não a interface esta padrão e sem polling.

# ifconfig bge0
bge0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
options=19bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4
ether 00:21:5a:f5:63:cc
media: Ethernet autoselect (1000baseTX full-duplex)
status: active

# ifconfig bge1
bge1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
options=19bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4
ether 00:21:5a:f5:63:cd
media: Ethernet autoselect (100baseTX full-duplex)
status: active

TOP:

last pid: 17917;  load averages:  0.22,  0.30,
0.27
up 0+11:30:39  14:21:20
98 processes:  5 running, 79 sleeping, 14 waiting
CPU:  0.0% user,  0.0% nice,  8.0% system,  0.0% interrupt, 92.0% idle
Mem: 190M Active, 110M Inact, 327M Wired, 264K Cache, 418M Buf, 3321M Free
Swap: 2048M Total, 2048M Free

  PID USERNAME  THR PRI NICE   SIZERES STATE   C   TIMECPU COMMAND
   12 root1 171 ki31 0K16K CPU22 684:40 100.00% idle:
cpu2
   13 root1 171 ki31 0K16K CPU11 684:40 100.00% idle:
cpu1
   14 root1 171 ki31 0K16K RUN 0 653:56 90.97% idle:
cpu0
   11 root1 171 ki31 0K16K CPU33 611:57 88.96% idle:
cpu3
   26 root1 -68- 0K16K -   3  77:10 15.97% bge0
taskq
   27 root1 -68- 0K16K -   0  34:02  7.96% bge1
taskq


NETSTAT:

input(Total)   output
   packets  errs  bytespackets  errs  bytes colls
 85033 0   35528064  85003 0   35393848 0
 84850 0   35060630  84831 0   34939822 0
 88368 0   34664626  88339 0   34539264 0
 84601 0   35486336  84602 0   35379358 0
 86523 0   36559200  86512 0   36445144 0
 88674 0   35677640  88657 0   35553420 0
 85460 0   35200282  85449 0   35091470 0
 85810 0   34702054  85801 0   34582500 0
 81923 0   33533818  81896 0   33400202 0
 82805 0   34390014  82796 0   34279744 0


80mil pacotes e zero erros.


VIVA



-- 
---
Matheus Cucoloto
Unix Expertise
Voip Expertise
-
Histórico: http://www.fug.com.br/historico/html/freebsd/
Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd


[FUG-BR] RES: Bge0 e FreeBSD.

2010-01-21 Por tôpico Eduardo Schoedler
Matheus Cucoloto escreveu:
 Então cara, para você ter noção da confusão até fluke foi passado na
 estrutura fisica e nada.

Como está o MTU das suas interfaces ? está em 
Seu switch suporta jumbo frames ?

Tenta fazer um LAGG e veja se ajuda.


Sds,

--
Eduardo Schoedler

-
Histórico: http://www.fug.com.br/historico/html/freebsd/
Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd


Re: [FUG-BR] RES: Bge0 e FreeBSD.

2010-01-21 Por tôpico Nilson
2010/1/21 Eduardo Schoedler eschoed...@viavale.com.br:
 Matheus Cucoloto escreveu:
 Então cara, para você ter noção da confusão até fluke foi passado na
 estrutura fisica e nada.

 Como está o MTU das suas interfaces ? está em
 Seu switch suporta jumbo frames ?

Bem lembrado o MTU! Quais os MTUs dos teus links?
-
Histórico: http://www.fug.com.br/historico/html/freebsd/
Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd


[FUG-BR] RES: Bge0 e FreeBSD.

2010-01-21 Por tôpico Eduardo Schoedler
Nilson escreveu:
 2010/1/21 Eduardo Schoedler eschoed...@viavale.com.br:
  Matheus Cucoloto escreveu:
  Então cara, para você ter noção da confusão até fluke foi passado na
  estrutura fisica e nada.
 
  Como está o MTU das suas interfaces ? está em
  Seu switch suporta jumbo frames ?
 
 Bem lembrado o MTU! Quais os MTUs dos teus links?

O default é 1500.

# ifconfig bge0
bge0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST ***mtu 1500***
options=1bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING
inet 200.xxx.xxx.10 netmask 0xffe0 broadcast 200.xxx.xxx.31
ether 00:13:72:xx:xx:xx
media: Ethernet autoselect (100baseTX full-duplex)
status: active

Se você está usando jumbo frames, no ifconfig provavelmente estará em 9000.
Mas você *tem de ter certeza absoluta* que o switch suporta jumbo frames.

# ifconfig
bge0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST ***mtu 9000***
options=1aTXCSUM,VLAN_MTU,VLAN_HWTAGGING
inet 10.xxx.xxx.xxx netmask 0xff00 broadcast 10.xxx.xxx.xxx
ether 00:12:3f:xx:xx:xx
media: Ethernet autoselect (100baseTX full-duplex)
status: active

Com certeza essas minhas interfaces não tem tanto tráfego quanto as suas.

Sugiro postar essa dúvida na lista MASOCH-L [1] também, ou até mesmo na GTER
[2].
Os caras lá estão acostumados com ambientes assim: bgp, multi-homed e com
BASTANTE tráfego.


Referências:
[1] https://eng.registro.br/mailman/listinfo/masoch-l
[2] https://eng.registro.br/mailman/listinfo/gter

Sds,

--
Eduardo Schoedler

-
Histórico: http://www.fug.com.br/historico/html/freebsd/
Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd