lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160830114329.GB8366@tiger>
Date:   Tue, 30 Aug 2016 19:43:29 +0800
From:   Shawn Guo <shawnguo@...nel.org>
To:     Zhi Li <lznuaa@...il.com>, Mark Rutland <mark.rutland@....com>
Cc:     Zhengyu Shen <zhengyu.shen@....com>, Frank Li <frank.li@....com>,
        "linux-arm-kernel@...ts.infradead.org" 
        <linux-arm-kernel@...ts.infradead.org>,
        kernel list <linux-kernel@...r.kernel.org>,
        peterz@...radead.org, mingo@...hat.com, acme@...nel.org,
        alexander.shishkin@...ux.intel.com
Subject: Re: [PATCH v3] Added perf functionality to mmdc driver

On Mon, Aug 29, 2016 at 11:06:44AM -0500, Zhi Li wrote:
> On Wed, Aug 17, 2016 at 2:42 PM, Zhengyu Shen <zhengyu.shen@....com> wrote:
> > MMDC is a multi-mode DDR controller that supports DDR3/DDR3L x16/x32/x64
> > and LPDDR2 two channel x16/x32 memory types. MMDC is configurable, high
> > performance, and optimized. MMDC is present on i.MX6 Quad and i.MX6
> > QuadPlus devices, but this driver only supports i.MX6 Quad at the moment.
> > MMDC provides registers for performance counters which read via this
> > driver to help debug memory throughput and similar issues.
> >
> > $ perf stat -a -e mmdc/busy-cycles/,mmdc/read-accesses/,mmdc/read-bytes/,mmdc/total-cycles/,mmdc/write-accesses/,mmdc/write-bytes/ dd if=/dev/zero of=/dev/null bs=1M count=5000
> > Performance counter stats for 'dd if=/dev/zero of=/dev/null bs=1M count=5000':
> >
> >          898021787      mmdc/busy-cycles/
> >           14819600      mmdc/read-accesses/
> >             471.30 MB   mmdc/read-bytes/
> >         2815419216      mmdc/total-cycles/
> >           13367354      mmdc/write-accesses/
> >             427.76 MB   mmdc/write-bytes/
> >
> >        5.334757334 seconds time elapsed
> >
> > Signed-off-by: Zhengyu Shen <zhengyu.shen@....com>
> > Signed-off-by: Frank Li <frank.li@....com>
> 
> Shawn Guo:
> 
>          No new comments got more than 1 weeks.
>          Did you plan accept it?

@Mark, how do you think of this version?

Shawn

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ