From owner-freebsd-questions@FreeBSD.ORG Thu Jan 29 15:39:43 2009 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 4B84A1065670 for ; Thu, 29 Jan 2009 15:39:43 +0000 (UTC) (envelope-from matrix@itlegion.ru) Received: from corpmail.itlegion.ru (corpmail.itlegion.ru [84.21.226.211]) by mx1.freebsd.org (Postfix) with SMTP id 9068F8FC0C for ; Thu, 29 Jan 2009 15:39:42 +0000 (UTC) (envelope-from matrix@itlegion.ru) Received: (qmail 91164 invoked from network); 29 Jan 2009 18:39:41 +0300 Received: from unknown (HELO ?192.168.0.12?) (192.168.0.12) by 84.21.226.211 with SMTP; 29 Jan 2009 18:39:41 +0300 Message-ID: <4981CDAA.9000001@itlegion.ru> Date: Thu, 29 Jan 2009 18:39:22 +0300 From: Artem Kuchin Organization: IT Legion User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: Mel References: <498196B8.1060101@itlegion.ru> <200901290628.50945.fbsd.questions@rachie.is-a-geek.net> In-Reply-To: <200901290628.50945.fbsd.questions@rachie.is-a-geek.net> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: 6.8 became very slow X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jan 2009 15:39:43 -0000 Mel =D0=C9=DB=C5=D4: > On Thursday 29 January 2009 02:44:56 Artem Kuchin wrote: > =20 >> I have a very strange situation here. There was a hosting box with 5 >> jails. >> Everything is 6.4 >> It was running twe driver with RAID 5. >> >> Then i had a crash and had to reinstall the system. >> >> So, i have installed FREEBSD 6.8, cvsed the latest, rebuilt everything= >> and then >> just copied jails from the prev installation. So, the host system is 6= =2E8 >> and the jails are 6.4. >> Also, raid is MIRROR now, not RAID5. >> =20 > > If you had to reinstall, you may have missed a boot loader configuratio= n. I=20 > would investigate how your raid5 went to MIRROR, that would certainly a= ccount=20 > for the high system time if the OS and raid card think differently abou= t the=20 > raid system used. > How you'd go about this, is for someone else to answer. I personally wo= uld=20 > compare daily runs and dmesg's saved from before reinstall with current= =20 > installation. > =20 I am sure this is not the case because the new raid was simply recreated = manually using 3ware bios and then freebsd installed and then old data copied from backup. BTW, here are the interrupts: interrupt total rate irq14: ata0 47 0 irq15: ata1 4818547 3 irq28: em0 137807398 105 irq72: twe0 66970618 51 cpu0: timer 2606991398 2000 cpu1: timer 2596549865 1992 cpu2: timer 2606991199 2000 cpu3: timer 2596549863 1992 Total 10616678935 8145 And here is vmstat -i output from another box running 7.1 interrupt total rate irq1: atkbd0 1478 0 irq6: fdc0 1 0 irq14: ata0 69 0 irq17: pcm0 twe0 37631996 27 irq21: fxp0 30360322 21 irq22: fxp1 86882 0 irq23: rl0 31359763 22 cpu0: timer 556023401 399 cpu1: timer 557037363 399 Total 1212501275 870 So, this 6.4 gets 9 times more interrupts (mostly timer). Is is okay? -- Artem