linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Daniel Walker <danielwa@cisco.com>
To: David Woodhouse <dwmw2@infradead.org>
Cc: "Nikunj Kela (nkela)" <nkela@cisco.com>,
	Richard Weinberger <richard.weinberger@gmail.com>,
	"linux-mtd @ lists . infradead . org"
	<linux-mtd@lists.infradead.org>,
	LKML <linux-kernel@vger.kernel.org>,
	"xe-linux-external(mailer list)" <xe-linux-external@cisco.com>
Subject: Re: [PATCH] jffs2: implement mount option to configure endianness
Date: Mon, 12 Nov 2018 15:40:22 -0800	[thread overview]
Message-ID: <20181112234022.r3gyu633ln3bp774@zorba> (raw)
In-Reply-To: <f64aa222a15467dc667deb5fc1bbcae1e477482a.camel@infradead.org>

On Mon, Nov 12, 2018 at 03:11:32PM -0800, David Woodhouse wrote:
> On Mon, 2018-11-12 at 14:50 -0800, Daniel Walker wrote:
> >  Performance counter stats for 'mount -t jffs2 /dev/mtdblock7 /mnt':
> 
> Hm, how many decades will it take for the 'mtdblock' thing to die?
> JFFS2 doesn't use block devices :)

mount wouldn't mount unless I use it. It complained "not a block device."

sh-4.2# mount -t jffs2 /dev/mtd7 /mnt
mount:  /dev/mtd7 is not a block device

> > It looks like the took slightly more than twice as long to mount.
> 
> Assuming that's repeatable, it seems moderately suboptimal.

I don't understand how the cycles are lower, but the time is longer. I suppose
it could be measuring the time including when another process was running and
mount as waiting.. 

Looks like it's not repeatable .. Another run and the time is similar to the
baseline.

sh-4.2# perf stat -B mount -t jffs2 /dev/mtdblock7 /mnt
jffs2: Flash size not aligned to erasesize, reducing to 99944KiB

 Performance counter stats for 'mount -t jffs2 /dev/mtdblock7 /mnt':

        100.468768 task-clock                #    0.750 CPUs utilized
                14 context-switches          #    0.139 K/sec
                 0 cpu-migrations            #    0.000 K/sec
                94 page-faults               #    0.936 K/sec
         132105969 cycles                    #    1.315 GHz                     [94.26%]
          27915494 stalled-cycles-frontend   #   21.13% frontend cycles idle    [91.88%]
          10214813 stalled-cycles-backend    #    7.73% backend  cycles idle    [92.04%]
         137814560 instructions              #    1.04  insns per cycle
                                             #    0.20  stalled cycles per insn [92.04%]
          15395620 branches                  #  153.238 M/sec                   [19.29%]
           1240507 branch-misses             #    8.06% of all branches         [17.87%]

       0.133987804 seconds time elapsed



Should I test increasing the mtdram size ?

Daniel

  reply	other threads:[~2018-11-12 23:40 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-06 21:49 [PATCH] jffs2: implement mount option to configure endianness Nikunj Kela
2018-11-07  9:05 ` David Woodhouse
2018-11-07  9:16   ` Joakim Tjernlund
2018-11-07 16:12     ` David Woodhouse
2018-11-07 17:33       ` Daniel Walker
2018-11-07 17:58         ` David Woodhouse
2018-11-07 18:41           ` Joakim Tjernlund
2018-11-08 15:25             ` Christoph Hellwig
2018-11-07 19:21           ` Daniel Walker
2018-11-07 18:04   ` Nikunj Kela (nkela)
2018-11-07 18:14     ` Richard Weinberger
2018-11-08  8:11       ` David Woodhouse
2018-11-08 18:01         ` Nikunj Kela (nkela)
2018-11-08 18:50           ` Joakim Tjernlund
2018-11-08 19:47           ` David Woodhouse
2018-11-12 21:43             ` Daniel Walker
2018-11-12 22:50               ` Daniel Walker
2018-11-12 23:11                 ` David Woodhouse
2018-11-12 23:40                   ` Daniel Walker [this message]
2018-11-12 23:43                     ` David Woodhouse
2018-11-13  0:06                       ` Daniel Walker
2018-11-13 21:01                       ` Daniel Walker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181112234022.r3gyu633ln3bp774@zorba \
    --to=danielwa@cisco.com \
    --cc=dwmw2@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=nkela@cisco.com \
    --cc=richard.weinberger@gmail.com \
    --cc=xe-linux-external@cisco.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).