[FUG-BR] RES: freebsd 8.2 - tuning de rede

kmkz bleh jsibsd em gmail.com
Sexta Março 11 11:51:15 BRT 2011


Eduardo,

parece que houve uma melhora depois que desativei o PF:

--- 10.20.0.2 ping statistics ---
127 packets transmitted, 127 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.163/0.289/0.678/0.067 ms

--- 10.20.0.2 ping statistics ---
109 packets transmitted, 109 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.166/0.313/2.107/0.218 ms

--- 10.20.0.2 ping statistics ---
102 packets transmitted, 102 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.138/0.382/9.108/0.874 ms


Em 11 de março de 2011 11:24, Eduardo Schoedler
<eschoedler em viavale.com.br>escreveu:

> Chegou a desabilitar o PF para testar ?
>
>
> > -----Mensagem original-----
> > De: freebsd-bounces em fug.com.br [mailto:freebsd-bounces em fug.com.br] Em
> > nome de kmkz bleh
> > Enviada em: sexta-feira, 11 de março de 2011 11:22
> > Para: Lista Brasileira de Discussão sobre FreeBSD (FUG-BR)
> > Assunto: Re: [FUG-BR] freebsd 8.2 - tuning de rede
> >
> > O cabo é um CAT6 blindado. Não sei como está o cabo porque estou a kms
> > de
> > distancia desta operação.
> >
> > Vou colocar mais algumas informações:
> >
> > gw# netstat -nm
> > 6395/2950/9345 mbufs in use (current/cache/total)
> > 6393/3037/9430/2097152 mbuf clusters in use (current/cache/total/max)
> > 6392/2184 mbuf+clusters out of packet secondary zone in use
> > (current/cache)
> > 0/0/0/12800 4k (page size) jumbo clusters in use
> > (current/cache/total/max)
> > 0/0/0/6400 9k jumbo clusters in use (current/cache/total/max)
> > 0/0/0/3200 16k jumbo clusters in use (current/cache/total/max)
> > 14400K/6811K/21212K bytes allocated to network (current/cache/total)
> > 0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters)
> > 0/0/0 requests for jumbo clusters denied (4k/9k/16k)
> > 0/6/6656 sfbufs in use (current/peak/max)
> > 0 requests for sfbufs denied
> > 0 requests for sfbufs delayed
> > 0 requests for I/O initiated by sendfile
> > 0 calls to protocol drain routines
> >
> > Deixei o nmbclusters com esse valor:
> >
> > kern.ipc.nmbclusters=2097152
> >
> > gw# limits
> > Resource limits (current):
> >   cputime              infinity secs
> >   filesize             infinity kB
> >   datasize               524288 kB
> >   stacksize               65536 kB
> >   coredumpsize         infinity kB
> >   memoryuse            infinity kB
> >   memorylocked         infinity kB
> >   maxprocesses             5547
> >   openfiles               11095
> >   sbsize               infinity bytes
> >   vmemoryuse           infinity kB
> >   pseudo-terminals     infinity
> >   swapuse              infinity kB
> >
> > gw# vmstat -z
> > ITEM                     SIZE     LIMIT      USED      FREE  REQUESTS
> > FAILURES
> >
> > mbuf_packet:              256,        0,     6400,     2176,
> > 351387694,        0
> > mbuf:                     256,        0,        4,      765,
> > 502813275,        0
> > mbuf_cluster:            2048,  2097152,     8577,      853,
> > 145329250,        0
> > mbuf_jumbo_page:         4096,    12800,        0,        0,
> > 0,        0
> > mbuf_jumbo_9k:           9216,     6400,        0,        0,
> > 0,        0
> > mbuf_jumbo_16k:         16384,     3200,        0,        0,
> > 0,        0
> > mbuf_ext_refcnt:            4,        0,        0,      406,
> > 3,        0
> >
> > pf.conf:
> >
> > set limit { states 1000000, frags 100000 }
> > set optimization normal
> >
> > scrub in all
>
> -------------------------
> Histórico: http://www.fug.com.br/historico/html/freebsd/
> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>


Mais detalhes sobre a lista de discussão freebsd