Article View: pl.comp.os.bsd
Article #21976Re: Czy ta maszyna jest przeciążona?
From: Sokim
Date: Mon, 05 Dec 2011 18:24
Date: Mon, 05 Dec 2011 18:24
58 lines
3680 bytes
3680 bytes
W dniu 04.12.2011 02:35, Łukasz Bromirski pisze:
> On 2011-12-04 00:14, Sokim wrote:
>> Hej,
>> nie jestem pewien jak mam traktować dane z topa. Load averages jest
>> ponad 1,
>> a nawet zdarza się ponad 1.4, ale jeden rdzeń ma 66.9% idle a drugi 99.6%
>> idle. W momencie największego obciążenia maszyna przetacza około 160Mbps
>> ruchu. Wtedy skaczą pingi na bramę albo do wp.pl o jakieś 20 ms. Nie
>> jest to
>> wina zapchanego łącza. Mógłby ktoś coś doradzić. Dzięki.
>
> Masz włączony polling na interfejsach? Dlaczego używasz nadal 6'ki?
> 160Mbit/s nic nie mówi o ruchu - ile to jest w pakietach na sekundę?
> Generalnie jeśli dużo małych lub wychodzi z tego coś w stylu IMIXa,
> polling powinien pomóc.
>
> Tak BTW, nie jestem pewien czy 64-bitowy system w czasach 6'ki to był
> dobry pomysł, pamiętam problemy ze skalowalnością. A widzę, że masz
> dummynet odpalony.
>
Hej,
uzyskałem dodatkowe informację z netstata.
Czy te błędy mogą być przez kabel? Czy to raczej będzie problem z
sieciówką? Dzięki za wszelkie sugestie.
# netstat -w 1 -I em0
input (em0) output
packets errs bytes packets errs bytes colls
15532 235 18232992 10697 0 2204091 0
15159 46 17864284 10673 0 2170364 0
15585 277 18280677 10829 0 2309020 0
15353 307 17981085 10653 0 2240165 0
15224 74 17485399 10573 0 2260054 0
15573 308 18279575 10684 0 2276399 0
15510 254 18082016 11162 0 2397092 0
15423 242 17951928 10968 0 2311766 0
15527 162 18188614 10931 0 2232718 0
14667 452 16584554 10876 0 2286115 0
15912 32 18737356 10670 0 2210455 0
# netstat -m
1550/3355/4905 mbufs in use (current/cache/total)
1545/2993/4538/25600 mbuf clusters in use (current/cache/total/max)
1545/2533 mbuf+clusters out of packet secondary zone in use (current/cache)
0/0/0/0 4k (page size) jumbo clusters in use (current/cache/total/max)
0/0/0/0 9k jumbo clusters in use (current/cache/total/max)
0/0/0/0 16k jumbo clusters in use (current/cache/total/max)
3495K/6824K/10320K 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/0/0 sfbufs in use (current/peak/max)
0 requests for sfbufs denied
0 requests for sfbufs delayed
0 requests for I/O initiated by sendfile
93 calls to protocol drain routines
Technical Details
Message-ID:
<jbj283$872$1@news.task.gda.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!news.task.gda.pl!not-for-mailReferences:
<jbeag7$241$1@news.task.gda.pl> <jbeipj$oad$1@inews.gazeta.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!news.task.gda.pl!not-for-mail From: Sokim <sokim@wp.pl> Newsgroups: pl.comp.os.bsd Subject: Re: Czy ta maszyna jest przeciążona? Date: Mon, 05 Dec 2011 19:24:22 +0100 Organization: CI TASK http://www.task.gda.pl/ Lines: 59 Message-ID: <jbj283$872$1@news.task.gda.pl> References: <jbeag7$241$1@news.task.gda.pl> <jbeipj$oad$1@inews.gazeta.pl> NNTP-Posting-Host: 195-248-254-51.trans.net.pl Mime-Version: 1.0 X-Trace: news.task.gda.pl 1323109443 8418 195.248.254.51 (5 Dec 2011 18:24:03 GMT) X-Complaints-To: abuse@news.task.gda.pl NNTP-Posting-Date: Mon, 5 Dec 2011 18:24:03 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; pl-PL; rv:1.9.2.18) Gecko/20110616 SUSE/3.1.11 Thunderbird/3.1.11 In-Reply-To: <jbeipj$oad$1@inews.gazeta.pl> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit