Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Feb 2012 19:09:17 +0200
From:      =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= <kes-kes@yandex.ru>
To:        =?windows-1251?B?yu7t/Oru4iDF4uPl7ejp?= <kes-kes@yandex.ru>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: VERY slow performance on igb+FreeBSD8.2+mpd5.6
Message-ID:  <1002485010.20120223190917@yandex.ru>
In-Reply-To: <1454516861.20120223091945@yandex.ru>
References:  <1454516861.20120223091945@yandex.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Çäðàâñòâóéòå, Êîíüêîâ.

Âû ïèñàëè 23 ôåâðàëÿ 2012 ã., 9:19:45:


ÊÅ> #uname FreeBSD 8.3-PRERELEASE #2 r231881: Thu Feb 23 00:53:28 UTC 2012
ÊÅ> è Version 5.6 (root@ 10:03 20-Feb-2012)
ÊÅ> http://www.speedtest.net/result/1790445113.png
ÊÅ> try to reconnect to mpd 10-20times and you get next:
ÊÅ> http://www.speedtest.net/result/1790454801.png

ÊÅ>  mpd has no any sessions except this one.

ÊÅ> net.graph.recvspace=524288
ÊÅ> net.graph.maxdgram=524288

ÊÅ> net.inet.ip.dummynet.io_fast=1
ÊÅ> net.inet.ip.dummynet.pipe_slot_limit=1000

ÊÅ> dev.igb.0.rx_processing_limit=4096
ÊÅ> dev.igb.1.rx_processing_limit=4096
ÊÅ> dev.igb.2.rx_processing_limit=4096
ÊÅ> dev.igb.3.rx_processing_limit=4096

ÊÅ> net.route.netisr_maxqlen=4096

ÊÅ> hw.igb.rxd=4096
ÊÅ> hw.igb.txd=4096
ÊÅ> hw.igb.max_interrupt_rate=32000

ÊÅ> net.isr.defaultqlimit=4096
ÊÅ> net.link.ifqmaxlen=10240

ÊÅ> net.graph.maxdata=32768
ÊÅ> net.graph.maxalloc=32768

ÊÅ> net.inet.tcp.tcbhashsize=4096         # tcb hash size
ÊÅ> net.inet.tcp.syncache.hashsize=1024   # syncache hash size
ÊÅ> net.inet.tcp.syncache.bucketlimit=100 # syncache bucket limit
ÊÅ> net.isr.bindthreads=0                 # do not bind threads to CPUs
ÊÅ> net.isr.direct=0                      # interrupt handling via multiple CPU
ÊÅ> net.isr.direct_force=0                # "
ÊÅ> net.isr.maxthreads=4                  # Max number of threads for
ÊÅ> NIC IRQ balancing (4 cores in box)

ÊÅ> vmstat -z | grep Gra
ÊÅ> ITEM                     SIZE     LIMIT      USED      FREE  REQUESTS  FAILURES
ÊÅ> NetGraph items:            72,    32770,        0,      377,   143887,        0
ÊÅ> NetGraph data items:       72,    32770,        0,      435,   241884,        0

Can any one help to debug that problem?

-- 
Ñ óâàæåíèåì,
 Êîíüêîâ                          mailto:kes-kes@yandex.ru




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1002485010.20120223190917>