From owner-freebsd-hackers@freebsd.org Sat Apr 1 01:05:45 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6CC3ED257EB for ; Sat, 1 Apr 2017 01:05:45 +0000 (UTC) (envelope-from vangyzen@FreeBSD.org) Received: from smtp.vangyzen.net (hotblack.vangyzen.net [IPv6:2607:fc50:1000:7400:216:3eff:fe72:314f]) by mx1.freebsd.org (Postfix) with ESMTP id 4A370F40 for ; Sat, 1 Apr 2017 01:05:45 +0000 (UTC) (envelope-from vangyzen@FreeBSD.org) Received: from ford.home.vangyzen.net (unknown [76.164.15.242]) by smtp.vangyzen.net (Postfix) with ESMTPSA id 82D105646B; Fri, 31 Mar 2017 20:05:44 -0500 (CDT) Subject: Re: One Priority Per Run Queue To: Warner Losh , "freebsd-hackers@freebsd.org" References: <1aafd6a2-828c-06f5-bdac-e4c953a403b5@FreeBSD.org> From: Eric van Gyzen Message-ID: Date: Fri, 31 Mar 2017 20:05:43 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Apr 2017 01:05:45 -0000 On 03/29/2017 16:18, Warner Losh wrote: > How does this scheme prevent starvation of low priority processes? Or > rather, how will this change after this change. I don't know. How does the current scheme do this? I had thought the rationale for assigning four priorities to each run queue was that it was "good enough" and the smaller number of run queues reduced the overhead of the scheduler. Is there a more interesting reason that I'm missing? (This wouldn't be the first time.) Cheers, Eric