From owner-freebsd-mips@freebsd.org Mon Aug 14 21:10:08 2017 Return-Path: Delivered-To: freebsd-mips@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 4B09DDE4C53 for ; Mon, 14 Aug 2017 21:10:08 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-yw0-x229.google.com (mail-yw0-x229.google.com [IPv6:2607:f8b0:4002:c05::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 081046F0B8 for ; Mon, 14 Aug 2017 21:10:08 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-yw0-x229.google.com with SMTP id s143so62286406ywg.1 for ; Mon, 14 Aug 2017 14:10:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=TbIGxdlwAjNuU52kZdNr+3h4wsuA8206mkNnelCCw5w=; b=EcU5kqcqGLwq+ZeNhDDI0V4FkKqWugkyhEgAYVR8j1NSBgZMaBSDrmGqIvN2nVcqyk 2hrOpDZbSyoYxphkH/5+NT8jRLMELrHCDN2C0wEOqNlrCTgeBsE820/uFBvM0TlrvvGL 8nzPoNrJJyoFJM47nLmU3x1/U1+QhQDHAQcJQvsgP3/7vMKbbV9Ry5eCPlU/58ehJzWH gB95H1w3jT4hNFL9ziVyYEyZvuQftLPSZWGvdy5HSOfwxqXgfrTnHLpVplJWLQ3VmvnZ KZbNsaCCaqeVrc1AFM5vGwqrCoY/n2Li6bSBMpGLn10kO7vugBOiFvrPjQry32whG/K7 EK+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=TbIGxdlwAjNuU52kZdNr+3h4wsuA8206mkNnelCCw5w=; b=cUoANAFgv0SHtUhfQp/yoH4125o+kRPO2fSpPNZ1i76voIHq5v6kSkhOTzLwrPkbRu Bczp7bexxr8uRjtbGeFgL4yqv8O8MCQad2tgdfw0c1HO5ux1MIutUn1UNF95qn35X1zy KpnABSP9pvgCpbYd3vx29mAHofw3iHmqD5TZV3ODl2Ssb6IUd/euHvG4+MrxDErzoo2T QZEZXV3SrCCI/H21McwDDgXtqc8aZDtFCwMawlKSTFmqEXTNXEBL2PWKeOPunWXpDx/d eR354CLfHUWxO7lfhAhaO32VzXAeE4FIKICnuo/gw+wEC6hIqnckXtF9kmYffq/cQ+q2 /Svg== X-Gm-Message-State: AHYfb5hjNVmwF9Y9YmHhdHImPMxvhuHeer6jpbhv5RfUgsFq/NtTJ8ca 30ChgGc7yQKbKZe71DVZMUEEuOT5aHyJ X-Received: by 10.37.244.67 with SMTP id p3mr18536046ybe.33.1502745007121; Mon, 14 Aug 2017 14:10:07 -0700 (PDT) MIME-Version: 1.0 Received: by 10.13.203.145 with HTTP; Mon, 14 Aug 2017 14:10:06 -0700 (PDT) In-Reply-To: <539086.28647.qm@web101720.mail.ssk.yahoo.co.jp> References: <319927.83012.qm@web101708.mail.ssk.yahoo.co.jp> <539086.28647.qm@web101720.mail.ssk.yahoo.co.jp> From: Adrian Chadd Date: Mon, 14 Aug 2017 14:10:06 -0700 Message-ID: Subject: Re: performance by endian To: Mori Hiroki Cc: "freebsd-mips@freebsd.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Aug 2017 21:10:08 -0000 hm, which DDR bus does it have? -adrian On 25 July 2017 at 19:09, Mori Hiroki wrote: > Hi > > > Sorry I talk about AR9331 soc. > > I check boot log. > > RT3050 is this. > > > Cache info: > picache_stride =3D 4096 > picache_loopcount =3D 8 > pdcache_stride =3D 4096 > pdcache_loopcount =3D 4 > cpu0: MIPS Technologies processor v76.150 > MMU: Standard TLB, 32 entries (4K 16K 64K 256K 1M 16M 64M 256M pg sizes= ) > L1 i-cache: 4 ways of 256 sets, 32 bytes per line > L1 d-cache: 4 ways of 128 sets, 32 bytes per line > L2 cache: disabled Config1=3D0xbea3319e > Config2=3D0x80000000 > Config3=3D0x420 > > AR9331 is this. > > Cache info: > picache_stride =3D 4096 > picache_loopcount =3D 16 > pdcache_stride =3D 4096 > pdcache_loopcount =3D 8 > max line size =3D 32 > cpu0: MIPS Technologies processor v116.147 > MMU: Standard TLB, 16 entries (4K 16K 64K 256K 1M 16M 64M 256M pg sizes= ) > L1 i-cache: 4 ways of 512 sets, 32 bytes per line > L1 d-cache: 4 ways of 256 sets, 32 bytes per line > L2 cache: disabled > Config1=3D0x9ee3519e > Config2=3D0x80000000 > Config3=3D0x20 > Config7=3D0x0 > > I seem AR9331 have more cache than RT3050. > > awk script is this. > > BEGIN { > printf "%d=C2=A5n", fib(32) > } > > function fib(n) { > if (n < 2) return n > return fib(n - 2) + fib(n - 1) > } > > ----- Original Message ----- >> From: Adrian Chadd >> To: Mori Hiroki >> Cc: "freebsd-mips@freebsd.org" >> Date: 2017/7/26, Wed 02:14 >> Subject: Re: performance by endian >> >> well, how much cache, how much out-of-order is it? The AR9330 SoC has >> very limited cache :( >> >> >> >> -adrian >> >> >> On 24 July 2017 at 00:53, Mori Hiroki wrote: >>> Hi. >>> >>> I checked fib(32) by awk script. >>> >>> RT3050 is 80 sec >>> AR9330 is 99 sec >>> >>> >>> AR9330 is newer and clock is hight. But slow. >>> >>> Why this result ? >>> >>> I suspect this is endian issue. >>> >>> I have problem mruby performance at Atheros SOC. >>> It is slow almost double from same clock little >>> endian mips soc. >>> >>> Regards >>> >>> Hiroki Mori >>> _______________________________________________ >>> freebsd-mips@freebsd.org mailing list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-mips >>> To unsubscribe, send any mail to >> "freebsd-mips-unsubscribe@freebsd.org" >>