From owner-freebsd-current@freebsd.org Fri Jan 5 09:40:02 2018 Return-Path: Delivered-To: freebsd-current@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 D7F50EC05D8 for ; Fri, 5 Jan 2018 09:40:02 +0000 (UTC) (envelope-from theraven@FreeBSD.org) Received: from theravensnest.org (xvm-110-62.dc2.ghst.net [46.226.110.62]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "theravensnest.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7748680370; Fri, 5 Jan 2018 09:40:01 +0000 (UTC) (envelope-from theraven@FreeBSD.org) Received: from [192.168.1.65] (host86-154-8-90.range86-154.btcentralplus.com [86.154.8.90]) (authenticated bits=0) by theravensnest.org (8.15.2/8.15.2) with ESMTPSA id w059dtWf003943 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 5 Jan 2018 09:39:55 GMT (envelope-from theraven@FreeBSD.org) X-Authentication-Warning: mail: Host host86-154-8-90.range86-154.btcentralplus.com [86.154.8.90] claimed to be [192.168.1.65] Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: Programmatically cache line From: David Chisnall In-Reply-To: Date: Fri, 5 Jan 2018 09:39:50 +0000 Cc: Nathan Whitehorn , freebsd-current@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <1F3E7B40-1166-4045-AB9D-17D6FD70362F@FreeBSD.org> References: <20171230082812.GL1684@kib.kiev.ua> <08038E36-9679-4286-9083-FCEDD637ADCC@FreeBSD.org> <20180101103655.GF1684@kib.kiev.ua> <35d2d373-92f1-499f-f470-e4528b08b937@freebsd.org> <71E8D6E7-F833-4B7E-B1F1-AD07A49CAF98@FreeBSD.org> To: Jon Brawn X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 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: Fri, 05 Jan 2018 09:40:02 -0000 On 5 Jan 2018, at 02:46, Jon Brawn wrote: > This idea of Arm big.LITTLE systems having cache lines of different = lengths really, really bothers me - how on earth is the cache coherency = supposed to work in such a system? I doubt the usual cache coherency = protocols would work - probably need a really MESSY protocol to deal = with this config :-) I believe that the systems that have different cache line sizes (which = ARM explicitly tells partners not to do) don=E2=80=99t allow cores from = both the big and little clusters to be active at the same time - the OS = is supposed to migrate everything entirely from one cluster to the = other. The more complex designs, that allow mixes of cores from two or = three different clusters that I=E2=80=99m aware of all have the same = cache line size. David