From owner-freebsd-current@FreeBSD.ORG Mon Apr 16 21:50:41 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E2035106566B; Mon, 16 Apr 2012 21:50:41 +0000 (UTC) (envelope-from lacombar@gmail.com) Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by mx1.freebsd.org (Postfix) with ESMTP id 4D1778FC0A; Mon, 16 Apr 2012 21:50:41 +0000 (UTC) Received: by wibhj6 with SMTP id hj6so7731382wib.13 for ; Mon, 16 Apr 2012 14:50:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=4uB6vNM0kPZN5RtbawCQPwwFC8hasZmEEHKwXCEuKIM=; b=uXFCBG3A5IKWnRsbVSu5AUctv7iBFBmlnPDo/f4Mdd7XOr8KC4Xzk8o5k7C9Nx1bcB AoxtMzUOam2Dyrpj8srRDTKxIjrEjaIQz7VOIzE2t+b/u6rKTaNCYSjoWvPqOgQpj06V 3yRSnPxMLKANrmkQi/0CByROxYPesv5cq8egBS674pFM72PFlQxuS1I9od6CsbaxkpUP V8wBWs0bS1ifnSHPgi/vrdP0nw8JL/41diAX02Xk62imuLgYdqnSI+3L1ZBYKupAjQnw EVGZg0ROIAa84uqrU6jfgz6cQXVC1uXUHUFtC8POlfNgVKiWPhejFa3trVbgm0bTC4O8 abHg== MIME-Version: 1.0 Received: by 10.180.107.132 with SMTP id hc4mr22267137wib.21.1334613040168; Mon, 16 Apr 2012 14:50:40 -0700 (PDT) Received: by 10.216.49.81 with HTTP; Mon, 16 Apr 2012 14:50:40 -0700 (PDT) In-Reply-To: References: Date: Mon, 16 Apr 2012 17:50:40 -0400 Message-ID: From: Arnaud Lacombe To: freebsd-stable , FreeBSD Current Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: Complete hang on 9.0-RELEASE X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Apr 2012 21:50:42 -0000 Hi, [for the record...] On Tue, Feb 14, 2012 at 11:41 AM, Arnaud Lacombe wrote= : > Hi folks, > > For the records, I was running some tests yesterday on top of a > 9.0-RELEASE, amd64, kernel when the box hanged. At the time of the > hang, the box was running a process with about 2800 threads with heavy > IPC between 1400 writers and 1400 readers. The box was in single user > mode (/bin/sh coming from FreeBSD 7.4-STABLE). Here is the beginning > of the dmesg: > > Copyright (c) 1992-2012 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > =A0 =A0 =A0 =A0The Regents of the University of California. All rights re= served. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 9.0-RELEASE #0: Tue Jan =A03 07:46:30 UTC 2012 > =A0 =A0root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 > CPU: Intel(R) Atom(TM) CPU D510 =A0 @ 1.66GHz (1666.70-MHz K8-class CPU) > =A0Origin =3D "GenuineIntel" =A0Id =3D 0x106ca =A0Family =3D 6 =A0Model = =3D 1c =A0Stepping =3D 10 > =A0Features=3D0xbfebfbff > =A0Features2=3D0x40e31d > =A0AMD Features=3D0x20000800 > =A0AMD Features2=3D0x1 > =A0TSC: P-state invariant, performance statistics > real memory =A0=3D 2137587712 (2038 MB) > avail memory =3D 2037841920 (1943 MB) > Event timer "LAPIC" quality 400 > ACPI APIC Table: <070611 APIC1125> > FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs > FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 HTT threads > =A0cpu0 (BSP): APIC ID: =A00 > =A0cpu1 (AP/HT): APIC ID: =A01 > =A0cpu2 (AP): APIC ID: =A02 > =A0cpu3 (AP/HT): APIC ID: =A03 > > I will restart the test and see if this happens again. > I reproduced the previous problem on 10-CURRENT from r233917, on the following platform (here running 8.2-RELEASE): FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Atom(TM) CPU D525 @ 1.80GHz (1800.01-MHz K8-class CPU) Origin =3D "GenuineIntel" Id =3D 0x106ca Family =3D 6 Model =3D 1c St= epping =3D 10 Features=3D0xbfebfbff Features2=3D0x40e31d AMD Features=3D0x20100800 AMD Features2=3D0x1 TSC: P-state invariant real memory =3D 2136539136 (2037 MB) avail memory =3D 2043772928 (1949 MB) ACPI APIC Table: <010312 APIC0947> FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 HTT threads cpu0 (BSP): APIC ID: 0 cpu1 (AP/HT): APIC ID: 1 cpu2 (AP): APIC ID: 2 cpu3 (AP/HT): APIC ID: 3 Complete system freeze while running about 2400 threads. I had to power cycle the system to get it back alive. I discussed a way to debug this with attilio@ on freebsd-stable@, but still did not had time to implement it. regards, - Arnaud