From owner-freebsd-questions@FreeBSD.ORG Fri Dec 23 21:44:13 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 933AD10656D1 for ; Fri, 23 Dec 2011 21:44:13 +0000 (UTC) (envelope-from kes-kes@yandex.ru) Received: from forward1.mail.yandex.net (forward1.mail.yandex.net [IPv6:2a02:6b8:0:602::1]) by mx1.freebsd.org (Postfix) with ESMTP id A7E888FC0C for ; Fri, 23 Dec 2011 21:44:12 +0000 (UTC) Received: from smtp3.mail.yandex.net (smtp3.mail.yandex.net [77.88.46.103]) by forward1.mail.yandex.net (Yandex) with ESMTP id DC17F12434D6; Sat, 24 Dec 2011 01:44:10 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1324676650; bh=LRtB7Y1K6g1TVZSeHZQGq2/EKajgsrrOA0l4ajRet4k=; h=Date:From:Reply-To:Message-ID:To:CC:Subject:In-Reply-To: References:MIME-Version:Content-Type:Content-Transfer-Encoding; b=V23Y1kvIFaC6DiR/s5HZX9xZsmR3lGpZSewYxad56m0/cUpMo1BFXikL8YO0jO8OR DduwCRcuDDNU5KFyJ+bQ0Iqci6I/tnJGbetRReGRh0a6ezO+2vycceEtbgGOl2ehye WbFcgpxFFtSpBWKXqa3IE6UKfYURg2s5ycQYxwJ0= Received: from smtp3.mail.yandex.net (localhost [127.0.0.1]) by smtp3.mail.yandex.net (Yandex) with ESMTP id AFC111BA0342; Sat, 24 Dec 2011 01:44:10 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1324676650; bh=LRtB7Y1K6g1TVZSeHZQGq2/EKajgsrrOA0l4ajRet4k=; h=Date:From:Reply-To:Message-ID:To:CC:Subject:In-Reply-To: References:MIME-Version:Content-Type:Content-Transfer-Encoding; b=V23Y1kvIFaC6DiR/s5HZX9xZsmR3lGpZSewYxad56m0/cUpMo1BFXikL8YO0jO8OR DduwCRcuDDNU5KFyJ+bQ0Iqci6I/tnJGbetRReGRh0a6ezO+2vycceEtbgGOl2ehye WbFcgpxFFtSpBWKXqa3IE6UKfYURg2s5ycQYxwJ0= Received: from unknown (unknown [77.93.52.19]) by smtp3.mail.yandex.net (nwsmtp/Yandex) with ESMTP id iASKSvBd-iASOkT4E; Sat, 24 Dec 2011 01:44:10 +0400 X-Yandex-Spam: 1 Date: Fri, 23 Dec 2011 23:44:07 +0200 From: =?utf-8?B?0JrQvtC90YzQutC+0LIg0JXQstCz0LXQvdC40Lk=?= X-Mailer: The Bat! (v4.0.24) Professional Organization: =?utf-8?B?0KfQnyDQmtC+0L3RjNC60L7QsiwgRnJlZUxpbmU=?= X-Priority: 3 (Normal) Message-ID: <1829572790.20111223234407@yandex.ru> To: Daniel Staal In-Reply-To: <3A4BDC1D114ED73D51E019BA@mac-pro.magehandbook.com> References: <1374625746.20111217102942@yandex.ru> <3A4BDC1D114ED73D51E019BA@mac-pro.magehandbook.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re[2]: high load system do not take all CPU time X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: =?utf-8?B?0JrQvtC90YzQutC+0LIg0JXQstCz0LXQvdC40Lk=?= List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2011 21:44:13 -0000 Здравствуйте, Daniel. Вы писали 18 декабря 2011 г., 17:52:00: DS> --As of December 17, 2011 10:29:42 AM +0200, Коньков Евгений DS> is alleged to have said: >> How to debug why system do not use free CPU resouces? >> >> On this pictures you can see that CPU can not exceed 400tics >> http://piccy.info/view3/2368839/c9022754d5fcd64aff04482dd360b5b2/ >> http://piccy.info/view3/2368837/a12aeed98681ed10f1a22f5b5edc5abc/ >> http://piccy.info/view3/2368836/da6a67703af80eb0ab8088ab8421385c/ >> >> >> On these pictures you can see that problems begin with trafic on re0 >> when CPU load rise to "maximum" >> http://piccy.info/view3/2368834/512139edc56eea736881affcda490eca/ >> http://piccy.info/view3/2368827/d27aead22eff69fd1ec2b6aa15e2cea3/ >> >> But there is 25% CPU idle yet at that moment. DS> >># top -SIHP >> last pid: 93050; load averages: 1.45, 1.41, 1.29 >> up 9+16:32:06 10:28:43 237 processes: 5 running, 210 sleeping, 2 >> stopped, 20 waiting >> CPU 0: 0.8% user, 0.0% nice, 8.7% system, 17.7% interrupt, 72.8% idle >> CPU 1: 0.0% user, 0.0% nice, 9.1% system, 20.1% interrupt, 70.9% idle >> CPU 2: 0.4% user, 0.0% nice, 9.4% system, 19.7% interrupt, 70.5% idle >> CPU 3: 1.2% user, 0.0% nice, 6.3% system, 22.4% interrupt, 70.1% idle >> Mem: 843M Active, 2476M Inact, 347M Wired, 150M Cache, 112M Buf, 80M Free >> Swap: 4096M Total, 15M Used, 4080M Free DS> --As for the rest, it is mine. DS> You are I/O bound; most of your time is spent in interrupts. The CPU is DS> dealing with things as fast as it can get them, but it has to wait for the DS> disk and/or network card to get them to it. The CPU is not your problem; DS> if you need more performance, you need to tune the I/O. (And possibly get DS> better I/O cards, if available.) that is strange, but I get worse network perfomance with *igb* than I have with *re* even with less! network traffic I get 100% CPU load than I have with for comparison: in case of re I have 350Mbit now just 250Mbit and already reach limit. http://piccy.info/view3/2397812/70bfa4cb5f2530e99ce298b7c1d9b94d/ # uname -a FreeBSD meta-up 9.0-PRERELEASE FreeBSD 9.0-PRERELEASE #3: Wed Dec 21 14:29:05 EET 2011 :/usr/obj/usr/src/sys/KES_KERN_v10 i386 -- С уважением, Коньков mailto:kes-kes@yandex.ru