From owner-freebsd-mips@freebsd.org Thu Aug 24 04:29:49 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 26BA9DD5463 for ; Thu, 24 Aug 2017 04:29:49 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from nh503-vm4.bullet.mail.kks.yahoo.co.jp (nh503-vm4.bullet.mail.kks.yahoo.co.jp [183.79.56.190]) by mx1.freebsd.org (Postfix) with SMTP id 9387C698CF for ; Thu, 24 Aug 2017 04:29:48 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from [183.79.100.139] by nh503.bullet.mail.kks.yahoo.co.jp with NNFMP; 24 Aug 2017 04:27:15 -0000 Received: from [183.79.101.63] by t502.bullet.mail.kks.yahoo.co.jp with NNFMP; 24 Aug 2017 04:27:15 -0000 Received: from [127.0.0.1] by omp507.mail.kks.yahoo.co.jp with NNFMP; 24 Aug 2017 04:27:15 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 425929.72313.bm@omp507.mail.kks.yahoo.co.jp Received: (qmail 94926 invoked by uid 60001); 24 Aug 2017 04:27:15 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.jp; s=yj20110701; t=1503548835; bh=g6/GfTOthjijYYrfZuLDVrJG84LiZ8BY6M/7iKB++JM=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:References:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=h4a2R3GamqVnCpuzfvoH5gffD1f/1zUI0VIBpgJkZZ0nCIdubOlNskl/dPH7mVEJUZQ23n+xVZAqnf0YK2irHmJLslZaZVjUjq40hSxPbWwQcA8YbJZPR26UWisUibwkimvDlcqk5NUEOfMb6tBdk3t8xDrjh5/gCTpmdIR0jAg= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:References:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=WUcAsm2bSwxhNJAK++BJEoIZbMWdZx7lMTxrSohD0mMGw206RKpmsclXbmS51VSznu69FgEosQAEf/jqBDndYh3/rmwqSFaHEu+NcQX+fMJTeGXZ2pdYWn0Z1WMxYnmTuq54jjQ3c50cQoeDaujoOikUqtEiCxBTmI0jUr4mig0=; Message-ID: <2796.80438.qm@web101711.mail.ssk.yahoo.co.jp> X-YMail-OSG: X5HvUCsVM1lkiLQ2SmQQL45Ru._h4Ghh1.OrEZARyPUu9TEW4hzl5IeMSTqDpRqpcT_C_TgNIaPnh0WpS2f1U2tSlp0o5ZKJMDBlq1dH_xk80jJ5_bDBog6tQOWNE_nV4ZTMnFZcd6fSh4KuE3vw6bhy_ZelZSUNqeGHQmmID2h4VAOhH_.p7ja9iJsWxVpPze3VUsi59QDFevSQ21G6WGO0FyVMhNM50Fp41W3wc5330BvtydIT8qnLPxQhAgdqUW9P8IdTfG0FxF6j_d.ouK7AkeAmGxX5hcEnXwfin5n6uTOX1C0cvizPCmFUjqgwtNOyQawsUkh800jppKpQj8ltuk23bnoGrLTH0DeiNX711tvmwdSX1ZK72kPL.LjeZCtuvz8vJe5qM_XHvMc63hpjLb_mdmOt2EQMiR_ug79JD.Ob1u_8YC7FDBsVh0qD5ggXCWgWCOOU6arAdrKhvTrBddwisc1T932Dik1En.H465JKcYUIJrk8jtlolgx.wXNGLeZyF4cxzkG7_zv9zj.WKzD7Qbd72UPKMCfjCRDGqt0w3CB_kU53uaZtTj_SiNv4o9lZ8daXKhs71AnCcHcqlKE1Yqw9164KfMg.aB5cNA-- Received: from [203.165.246.165] by web101711.mail.ssk.yahoo.co.jp via HTTP; Thu, 24 Aug 2017 13:27:14 JST X-Mailer: YahooMailWebService/0.8.111_73 X-YMail-JAS: 74rF7bIVM1nm4Iwn0o.IDGlz1PLDLmq3n9HNoXL0wOWs7_qfdDo20pLtXhLelS1XGQ602bn5_e_gv0aIrY3VtLDaBDWavg29lJl8bnZuf8dYTHcn0aQwNJp5SOnEoNDyeq_y References: <319927.83012.qm@web101708.mail.ssk.yahoo.co.jp> <539086.28647.qm@web101720.mail.ssk.yahoo.co.jp> Date: Thu, 24 Aug 2017 13:27:14 +0900 (JST) From: Mori Hiroki Reply-To: Mori Hiroki Subject: Re: performance by endian To: Adrian Chadd Cc: "freebsd-mips@freebsd.org" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 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: Thu, 24 Aug 2017 04:29:49 -0000 Hi=0A=0AAR9331 is ONION OMEGA. This module have Winbond W9751G6KB=0ADDR2 me= mory.=0A=0A=0AI checked=A0AR9331 DDR TAP register at boot time.=0A=0ATAP_CO= NTROL_0(0x1800001c) =3D 0xf=0ATAP_CONTROL_1(0x18000020) =3D 0x10 of 0xf=0A= =0AI think this is=A0ar7240_ddr_ap_init() result in=A0u-boot code.=0A=0AI d= on't know what is TAP. But is this relation to this=0Aproblem ?=0A=0AHiroki= Mori=0A=0A----- Original Message -----=0A> From: Adrian Chadd =0A> To: Mori Hiroki =0A> Cc: "freebsd-m= ips@freebsd.org" =0A> Date: 2017/8/15, Tue 06:10= =0A> Subject: Re: performance by endian=0A> =0A> hm, which DDR bus does it = have?=0A> =0A> =0A> =0A> -adrian=0A> =0A> =0A> On 25 July 2017 at 19:09, Mo= ri Hiroki wrote:=0A>> Hi=0A>> =0A>> =0A>> Sorry I= talk about AR9331 soc.=0A>> =0A>> I check boot log.=0A>> =0A>> RT3050 is= this.=0A>> =0A>> =0A>> Cache info:=0A>> =A0 picache_stride=A0 =A0 =3D 40= 96=0A>> =A0 picache_loopcount =3D 8=0A>> =A0 pdcache_stride=A0 =A0 =3D 40= 96=0A>> =A0 pdcache_loopcount =3D 4=0A>> cpu0: MIPS Technologies processo= r v76.150=0A>> =A0 MMU: Standard TLB, 32 entries (4K 16K 64K 256K 1M 16M 6= 4M 256M pg sizes)=0A>> =A0 L1 i-cache: 4 ways of 256 sets, 32 bytes per li= ne=0A>> =A0 L1 d-cache: 4 ways of 128 sets, 32 bytes per line=0A>> =A0 L2= cache: disabled =0A> Config1=3D0xbea3319e=0A>> =A0 Config2=3D0x80000000=0A>> =A0 Config3=3D0x420=0A>> =0A>> AR93= 31 is this.=0A>> =0A>> Cache info:=0A>> =A0 picache_stride=A0 =A0 =3D 409= 6=0A>> =A0 picache_loopcount =3D 16=0A>> =A0 pdcache_stride=A0 =A0 =3D 40= 96=0A>> =A0 pdcache_loopcount =3D 8=0A>> =A0 max line size=A0 =A0 =3D 32= =0A>> cpu0: MIPS Technologies processor v116.147=0A>> =A0 MMU: Standard T= LB, 16 entries (4K 16K 64K 256K 1M 16M 64M 256M pg sizes)=0A>> =A0 L1 i-ca= che: 4 ways of 512 sets, 32 bytes per line=0A>> =A0 L1 d-cache: 4 ways of = 256 sets, 32 bytes per line=0A>> =A0 L2 cache: disabled=0A>> =A0 Config1= =3D0x9ee3519e=0A>> =A0 Config2=3D0x80000= 000=0A>> =A0 Config3=3D0x20=0A>> =A0 Config7=3D0x0=0A>> =0A>> I seem AR9= 331 have more cache than RT3050.=0A>> =0A>> awk script is this.=0A>> =0A>>= BEGIN {=0A>> =A0 =A0 printf "%d=A5n", fib(32)=0A>> }=0A>> =0A>> functi= on fib(n) {=0A>> =A0 =A0 if (n < 2) return n=0A>> =A0 =A0 return fib(n - = 2) + fib(n - 1)=0A>> }=0A>> =0A>> ----- Original Message -----=0A>>> Fro= m: Adrian Chadd =0A>>> To: Mori Hiroki =0A>>> Cc: "freebsd-mips@freebsd.org" =0A> =0A>>> Date: 2017/7/26, Wed 02:14=0A>>> Subject: Re: performance b= y endian=0A>>> =0A>>> well, how much cache, how much out-of-order is it? T= he AR9330 SoC has=0A>>> very limited cache :(=0A>>> =0A>>> =0A>>> =0A>>> = -adrian=0A>>> =0A>>> =0A>>> On 24 July 2017 at 00:53, Mori Hiroki =0A> wrote:=0A>>>> =A0 Hi.=0A>>>> =0A>>>> =A0 I checked fib= (32) by awk script.=0A>>>> =0A>>>> =A0 RT3050 is 80 sec=0A>>>> =A0 AR9330 i= s 99 sec=0A>>>> =0A>>>> =0A>>>> =A0 AR9330 is newer and clock is hight. But= slow.=0A>>>> =0A>>>> =A0 Why this result ?=0A>>>> =0A>>>> =A0 I suspect th= is is endian issue.=0A>>>> =0A>>>> =A0 I have problem mruby performance at = Atheros SOC.=0A>>>> =A0 It is slow almost double from same clock little=0A>= >>> =A0 endian mips soc.=0A>>>> =0A>>>> =A0 Regards=0A>>>> =0A>>>> =A0 Hiro= ki Mori=0A>>>> =A0 _______________________________________________=0A>>>> = =A0 freebsd-mips@freebsd.org mailing list=0A>>>> =A0 https://lists.freebsd.= org/mailman/listinfo/freebsd-mips=0A>>>> =A0 To unsubscribe, send any mail = to=0A>>> "freebsd-mips-unsubscribe@freebsd.org"=0A>>> =0A>