From owner-freebsd-threads@FreeBSD.ORG Thu Jan 15 03:16:46 2009 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7F7F01065674 for ; Thu, 15 Jan 2009 03:16:46 +0000 (UTC) (envelope-from pramod@juniper.net) Received: from exprod7og113.obsmtp.com (exprod7og113.obsmtp.com [64.18.2.179]) by mx1.freebsd.org (Postfix) with ESMTP id 468D18FC14 for ; Thu, 15 Jan 2009 03:16:46 +0000 (UTC) (envelope-from pramod@juniper.net) Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob113.postini.com ([64.18.6.12]) with SMTP ID DSNKSW6qnlBip5u2XOC2wM3pRnt5qvkewlrs@postini.com; Wed, 14 Jan 2009 19:16:46 PST Received: from p-emfe01-sac.jnpr.net (66.129.254.72) by P-EMHUB01-HQ.jnpr.net (172.24.192.35) with Microsoft SMTP Server id 8.1.336.0; Wed, 14 Jan 2009 18:57:50 -0800 Received: from emailcorp3.jnpr.net ([66.129.254.13]) by p-emfe01-sac.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Wed, 14 Jan 2009 18:57:50 -0800 Received: from 172.24.24.209 ([172.24.24.209]) by emailcorp3.jnpr.net ([66.129.254.13]) with Microsoft Exchange Server HTTP-DAV ; Thu, 15 Jan 2009 02:57:50 +0000 User-Agent: Microsoft-Entourage/12.0.0.071130 Date: Wed, 14 Jan 2009 18:57:57 -0800 From: Pramod Srinivasan To: Message-ID: Thread-Topic: Priority scheduling in 6.x Thread-Index: Acl2vRFsQ5ix+ococ0+YiP/8ZMqG9Q== MIME-Version: 1.0 X-OriginalArrivalTime: 15 Jan 2009 02:57:50.0153 (UTC) FILETIME=[0D57E390:01C976BD] Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Priority scheduling in 6.x X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jan 2009 03:16:46 -0000 Hi, I have 3 threads low, medium and high , and the scheduling policy is set to SCHED_FIFO. The priority of the threads are at 28,29,30 respectively. Looks like on FreeBSD 6.x, the priority of the threads are not honored while scheduling the threads, but the same test on FreeBSD 7.x seems to work fine. Are there known issues with the priority scheduling in FreeBSD 6.x or am I doing something wrong? (I am using libthr) Any input highly appreciated. Thanks, Pramod