From owner-freebsd-threads@FreeBSD.ORG Mon Aug 26 11:06:53 2013 Return-Path: Delivered-To: freebsd-threads@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 0ADC91BE for ; Mon, 26 Aug 2013 11:06:53 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id EC2622872 for ; Mon, 26 Aug 2013 11:06:52 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r7QB6qpG066102 for ; Mon, 26 Aug 2013 11:06:52 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r7QB6qfL066100 for freebsd-threads@FreeBSD.org; Mon, 26 Aug 2013 11:06:52 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 26 Aug 2013 11:06:52 GMT Message-Id: <201308261106.r7QB6qfL066100@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-threads@FreeBSD.org Subject: Current problem reports assigned to freebsd-threads@FreeBSD.org X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Aug 2013 11:06:53 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o threa/180652 threads [patch] compat32 problem in clock_getcpuclockid2 o threa/180496 threads clock_gettime() does not return CPU-time for zombie pr o threa/168417 threads pthread_getcpuclockid() does not work to specification o threa/163512 threads libc defaults to single threaded o threa/160708 threads possible security problem with RLIMIT_VMEM o threa/150959 threads [libc] Stub pthread_once in libc should call _libc_onc o threa/148515 threads Memory / syslog strangeness in FreeBSD 8.x ( possible o threa/141721 threads rtprio(1): (id|rt)prio priority resets when new thread o threa/135673 threads databases/mysql50-server - MySQL query lock-ups on 7.2 o threa/128922 threads threads hang with xorg running o threa/122923 threads 'nice' does not prevent background process from steali o threa/121336 threads lang/neko threading ok on UP, broken on SMP (FreeBSD 7 o threa/116668 threads can no longer use jdk15 with libthr on -stable SMP o threa/115211 threads pthread_atfork misbehaves in initial thread o threa/110306 threads apache 2.0 segmentation violation when calling gethost o threa/103975 threads Implicit loading/unloading of libpthread.so may crash o threa/80992 threads abort() sometimes not caught by gdb depending on threa o threa/79683 threads svctcp_create() fails if multiple threads call at the s threa/30464 threads [patch] pthread mutex attributes -- pshared 19 problems total. From owner-freebsd-threads@FreeBSD.ORG Mon Aug 26 13:33:29 2013 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id C0D8B594 for ; Mon, 26 Aug 2013 13:33:29 +0000 (UTC) (envelope-from trtrmitya@gmail.com) Received: from mail-la0-x232.google.com (mail-la0-x232.google.com [IPv6:2a00:1450:4010:c03::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4762824AD for ; Mon, 26 Aug 2013 13:33:29 +0000 (UTC) Received: by mail-la0-f50.google.com with SMTP id es20so2311082lab.9 for ; Mon, 26 Aug 2013 06:33:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:date:references :to:message-id:mime-version; bh=3pYzqQvtehc5M4Z7HG2gK37kuxzeYM+GF4+KTqQzwFs=; b=RSL+6lcuEewJoclD+plTcjdwkKxKFwYce4HVKSIMITY4QV+aw+5VQ2ySWp5cslida2 HpBJKk8jez7Q9dld2mk5AvHbsDWYGQSQjiM08CN7w0OVK1kSDMHxF9UsPJYCd1J7MUNi CncTlJ2UC4PsspL6fk+sJtpLorPH/u2UrImhIfv677H43yDSWTW6mmE3pHOIe2S1rJyz yXw0RRHrSkHFhNkewhkpMrR2cF7J1hkS8gVkBUtV7VZkg/1smsGj1Ga1xMLaVs0FCZl5 Uh/hIxlGn529zUxxKuvCz+ugrZ7XQrgWK4Hj95V3FZLL7uj053fTGy083epCyz6gUZ05 09Kg== X-Received: by 10.112.28.109 with SMTP id a13mr12929699lbh.3.1377524007175; Mon, 26 Aug 2013 06:33:27 -0700 (PDT) Received: from dhcp174-208-red.yandex.net (dhcp174-208-red.yandex.net. [95.108.174.208]) by mx.google.com with ESMTPSA id n15sm5853267laa.2.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 26 Aug 2013 06:33:26 -0700 (PDT) From: Dmitry Sivachenko Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: About CPU cores numbering an processor affinity Date: Mon, 26 Aug 2013 17:33:26 +0400 References: <1D21F5BC-63CD-4B33-9286-6687E62FDB15@gmail.com> To: freebsd-threads@freebsd.org Message-Id: <970B3263-4689-4F8A-B012-DA88A1266F45@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) X-Mailer: Apple Mail (2.1508) X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Aug 2013 13:33:29 -0000 Nobody answered on -hackers, I try to ask there. Begin forwarded message: > From: Dmitry Sivachenko > Subject: About CPU cores numbering an processor affinity > Date: 23 =D0=B0=D0=B2=D0=B3=D1=83=D1=81=D1=82=D0=B0 2013 =D0=B3., = 17:23:51 GMT+04:00 > To: hackers@freebsd.org >=20 > Hello! >=20 > I am using FreeBSD-9-STABLE on the following hardware: >=20 > FreeBSD/SMP: Multiprocessor System Detected: 24 CPUs > FreeBSD/SMP: 2 package(s) x 6 core(s) x 2 SMT threads >=20 > So I have 2 physical CPUs with 6 core each. >=20 > # cpuset -g > pid -1 mask: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, = 17, 18, 19, 20, 21, 22, 23 >=20 >=20 > So each of 24 cores are numbered 0..23. >=20 > 1) In what particular order are these cores numbered? Can I assume = that 0..11 correspond to 1st physical CPU and 12..23 to second? How SMT = threads are numbered within each core? >=20 > 2) This machine has Intel network adapter (em driver). I want to pin = network interrupt thread and proxy software to the same processor so = they share at least L2 or L3 cache. How can I do this? =46rom the one = hand, I see the following processes: >=20 > 11 root -92 - 0K 720K WAIT 19 146:38 0.00% = intr{irq260: em1:rx 0} > 11 root -92 - 0K 720K WAIT 19 15:11 0.00% = intr{irq261: em1:tx 0} >=20 > =46rom the other hand, the following processes seems to be unrelated = to network but they share same PID: > 11 root -60 - 0K 720K WAIT 1 131:20 0.00% = intr{swi4: clock} > 11 root -88 - 0K 720K WAIT 17 40:03 0.00% = intr{irq263: ahci0} > 11 root -72 - 0K 720K WAIT 22 17:35 0.00% = intr{swi1: netisr 0} > 11 root -88 - 0K 720K WAIT 3 3:08 0.00% = intr{irq256: mfi0} >=20 > Should I use "-x" option of cpuset for that purpose (to bind irq 260 = and 261 in my example)? >=20 > Thanks in advance! >=20 From owner-freebsd-threads@FreeBSD.ORG Tue Aug 27 05:04:22 2013 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 61CCA2BD for ; Tue, 27 Aug 2013 05:04:22 +0000 (UTC) (envelope-from davidxu@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 342B82AA2 for ; Tue, 27 Aug 2013 05:04:22 +0000 (UTC) Received: from xyf.my.dom (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r7R54LLr088894 for ; Tue, 27 Aug 2013 05:04:21 GMT (envelope-from davidxu@freebsd.org) Message-ID: <521C3381.3030207@freebsd.org> Date: Tue, 27 Aug 2013 13:05:05 +0800 From: David Xu User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/20130416 Thunderbird/17.0.5 MIME-Version: 1.0 To: freebsd-threads@freebsd.org Subject: Re: About CPU cores numbering an processor affinity References: <1D21F5BC-63CD-4B33-9286-6687E62FDB15@gmail.com> <970B3263-4689-4F8A-B012-DA88A1266F45@gmail.com> In-Reply-To: <970B3263-4689-4F8A-B012-DA88A1266F45@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Aug 2013 05:04:22 -0000 sysctl kern.sched.topology_spec ? On 2013/08/26 21:33, Dmitry Sivachenko wrote: > Nobody answered on -hackers, I try to ask there. > > Begin forwarded message: > >> From: Dmitry Sivachenko >> Subject: About CPU cores numbering an processor affinity >> Date: 23 августа 2013 г., 17:23:51 GMT+04:00 >> To: hackers@freebsd.org >> >> Hello! >> >> I am using FreeBSD-9-STABLE on the following hardware: >> >> FreeBSD/SMP: Multiprocessor System Detected: 24 CPUs >> FreeBSD/SMP: 2 package(s) x 6 core(s) x 2 SMT threads >> >> So I have 2 physical CPUs with 6 core each. >> >> # cpuset -g >> pid -1 mask: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23 >> >> >> So each of 24 cores are numbered 0..23. >> >> 1) In what particular order are these cores numbered? Can I assume that 0..11 correspond to 1st physical CPU and 12..23 to second? How SMT threads are numbered within each core? >> >> 2) This machine has Intel network adapter (em driver). I want to pin network interrupt thread and proxy software to the same processor so they share at least L2 or L3 cache. How can I do this? From the one hand, I see the following processes: >> >> 11 root -92 - 0K 720K WAIT 19 146:38 0.00% intr{irq260: em1:rx 0} >> 11 root -92 - 0K 720K WAIT 19 15:11 0.00% intr{irq261: em1:tx 0} >> >> From the other hand, the following processes seems to be unrelated to network but they share same PID: >> 11 root -60 - 0K 720K WAIT 1 131:20 0.00% intr{swi4: clock} >> 11 root -88 - 0K 720K WAIT 17 40:03 0.00% intr{irq263: ahci0} >> 11 root -72 - 0K 720K WAIT 22 17:35 0.00% intr{swi1: netisr 0} >> 11 root -88 - 0K 720K WAIT 3 3:08 0.00% intr{irq256: mfi0} >> >> Should I use "-x" option of cpuset for that purpose (to bind irq 260 and 261 in my example)? >> >> Thanks in advance! >> > > _______________________________________________ > freebsd-threads@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-threads > To unsubscribe, send any mail to "freebsd-threads-unsubscribe@freebsd.org" > From owner-freebsd-threads@FreeBSD.ORG Fri Aug 30 10:50:02 2013 Return-Path: Delivered-To: freebsd-threads@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id B247E813 for ; Fri, 30 Aug 2013 10:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 797272A30 for ; Fri, 30 Aug 2013 10:50:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r7UAo2FN003349 for ; Fri, 30 Aug 2013 10:50:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r7UAo2re003348; Fri, 30 Aug 2013 10:50:02 GMT (envelope-from gnats) Resent-Date: Fri, 30 Aug 2013 10:50:02 GMT Resent-Message-Id: <201308301050.r7UAo2re003348@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-threads@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, TGIgd2yjHTi3 Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 8CDA352B for ; Fri, 30 Aug 2013 10:44:52 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7AEF429ED for ; Fri, 30 Aug 2013 10:44:52 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r7UAiqE2053490 for ; Fri, 30 Aug 2013 10:44:52 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r7UAiqmG053489; Fri, 30 Aug 2013 10:44:52 GMT (envelope-from nobody) Message-Id: <201308301044.r7UAiqmG053489@oldred.freebsd.org> Date: Fri, 30 Aug 2013 10:44:52 GMT From: TGIgd2yjHTi3 To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: threads/181679: QtnMRQhEAk X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Aug 2013 10:50:02 -0000 >Number: 181679 >Category: threads >Synopsis: QtnMRQhEAk >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-threads >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Fri Aug 30 10:50:02 UTC 2013 >Closed-Date: >Last-Modified: >Originator: TGIgd2yjHTi3 >Release: 5aTL7lCc >Organization: 14l4XJGc >Environment: welllll i guess there are some shitty cars in here but hell its not my drmaes .more zonda's and skylines less maro's says my dream. >Description: welllll i guess there are some shitty cars in here but hell its not my drmaes .more zonda's and skylines less maro's says my dream. >How-To-Repeat: welllll i guess there are some shitty cars in here but hell its not my drmaes .more zonda's and skylines less maro's says my dream. >Fix: welllll i guess there are some shitty cars in here but hell its not my drmaes .more zonda's and skylines less maro's says my dream. >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-threads@FreeBSD.ORG Sat Aug 31 00:52:58 2013 Return-Path: Delivered-To: freebsd-threads@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id C36628CC; Sat, 31 Aug 2013 00:52:58 +0000 (UTC) (envelope-from jmg@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 96E972B62; Sat, 31 Aug 2013 00:52:58 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r7V0qwAI074786; Sat, 31 Aug 2013 00:52:58 GMT (envelope-from jmg@freefall.freebsd.org) Received: (from jmg@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r7V0qwNq074785; Sat, 31 Aug 2013 00:52:58 GMT (envelope-from jmg) Date: Sat, 31 Aug 2013 00:52:58 GMT Message-Id: <201308310052.r7V0qwNq074785@freefall.freebsd.org> To: rfh@rfhcompany.com, jmg@FreeBSD.org, freebsd-threads@FreeBSD.org From: jmg@FreeBSD.org Subject: Re: threads/181679: QtnMRQhEAk X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Aug 2013 00:52:58 -0000 Synopsis: QtnMRQhEAk State-Changed-From-To: open->closed State-Changed-By: jmg State-Changed-When: Sat Aug 31 00:52:41 UTC 2013 State-Changed-Why: spam http://www.freebsd.org/cgi/query-pr.cgi?pr=181679