linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Masahiro Yamada <yamada.masahiro@socionext.com>
To: Jens Axboe <axboe@kernel.dk>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: Recent slowdown in single object builds
Date: Sat, 16 Nov 2019 16:17:49 +0900	[thread overview]
Message-ID: <CAK7LNATVHbMHqjboACJF8BbKianRfjiGhHTXjtQuJVmv2HFPUA@mail.gmail.com> (raw)
In-Reply-To: <d60946a1-fde3-ee6f-683a-42a611768bbf@kernel.dk>

On Sat, Nov 16, 2019 at 8:10 AM Jens Axboe <axboe@kernel.dk> wrote:
>
> Hi,
>
> I've noticed that current -git is a lot slower at doing single object
> builds than earlier kernels. Here's an example, building the exact same
> file on 5.2 and -git:
>
> $ time make fs/io_uring.o
> real    0m5.953s
> user    0m5.402s
> sys     0m0.649s
>
> vs 5.2 based (with all the backports, identical file):
>
> $ time make fs/io_uring.o
> real    0m3.218s
> user    0m2.968s
> sys     0m0.520s
>
> Any idea what's going on here? It's almost twice as slow, which is
> problematic...



This is necessary cost
to do single builds
(394053f4a4b3e3eeeaa67b67fc886a9a75bd9e4d)
but, it is much better in linux-next.



-- 
Best Regards
Masahiro Yamada

  reply	other threads:[~2019-11-16  7:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-15 23:10 Recent slowdown in single object builds Jens Axboe
2019-11-16  7:17 ` Masahiro Yamada [this message]
2019-11-16 16:57   ` Jens Axboe
2019-11-18  0:40     ` Masahiro Yamada
2019-11-18  2:34       ` Jens Axboe

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=CAK7LNATVHbMHqjboACJF8BbKianRfjiGhHTXjtQuJVmv2HFPUA@mail.gmail.com \
    --to=yamada.masahiro@socionext.com \
    --cc=axboe@kernel.dk \
    --cc=linux-kernel@vger.kernel.org \
    /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).