Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1503225

Re: [4.9-rc1] Build-time 2x slower

From Jörg Otte <jrg.otte@gmail.com>
Newsgroups linux.kernel
Subject Re: [4.9-rc1] Build-time 2x slower
Date 2016-10-18 19:00 +0200
Message-ID <stFU5-4q4-9@gated-at.bofh.it> (permalink)
References <stiEa-5Hd-13@gated-at.bofh.it> <strxL-3nR-7@gated-at.bofh.it> <stz2h-8dA-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


2016-10-18 11:30 GMT+02:00 Sedat Dilek <sedat.dilek@gmail.com>:
> On Tue, Oct 18, 2016 at 3:38 AM, Ming Lei <tom.leiming@gmail.com> wrote:
>> On Tue, Oct 18, 2016 at 12:04 AM, Sedat Dilek <sedat.dilek@gmail.com> wrote:
>>> Hi Linus,
>>>
>>> not sure whom to address on this issue.
>>>
>>> I have built Linux v4.9-rc1, v4.8.2 and v4.4.25 kernels (in this
>>> order) this morning.
>>>
>>> Building a Linux v4.8.2 under Linux v4.9-rc1 took two times longer.
>>>
>>> As usually I build with 2 parallel-make-jobs.
>>> This takes approx. 30mins.
>>> Under Linux v4.9-rc1 it took approx. an hour.
>>>
>>> My system is a Ubuntu/precise AMD64 (WUBI installation).
>>> I use my normal build-environment.
>>>
>>> If you need further informations, please let me know.
>>
>> Kernel building is more like a CPU-bound workload, so maybe
>> some clues can be got by comparing results of 'perf top/record',
>> which should be very easy to collect.
>>
>
> I have no big experiences with perf.
> Last I played was testing early days of "lockdep" feature.
> Can you give some clear instructions on how to use perf top/record in
> this scenario?
>
> - Sedat -
>
>>>
>>> Regards,
>>> - Sedat -
>>>
>>> P.S.: Listing content of attached tarball file.
>>>
>>> $ LC_ALL=C ls -R
>>> .:
>>> build-time  configs  scripts  toolchain-amd64
>>>
>>> ./build-time:
>>> ls-alt_building-4-4-25-under-4-8-2.txt
>>> ls-alt_building-4-8-2-under-4-9-0-rc1.txt
>>>
>>> ./configs:
>>> WHATS-IN-DILEKS-LINUX-KERNEL.txt  config-4.4.25-1-iniza-small
>>> config-4.8.2-1-iniza-small  config-4.9.0-rc1-1-iniza-small
>>>
>>> ./scripts:
>>> build_linux-upstream.sh
>>>
>>> ./toolchain-amd64:
>>> HOST-AND-BUILD-TOOLCHAIN.txt
>>
>>
>>
>> Thanks,
>> Ming Lei

I can confirm the problem. I use 3 build jobs in parallel
and the kernel build takes 2,5 times longer.

I'm only seeing 1 (of 4) cores are running with max frequency.
The other are running in minimum frequency. And this seems not
to be limited to build jobs however.

The last known good kernel for me is  ..-4.8.0-14604-g29fbff8

Jörg

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [4.9-rc1] Build-time 2x slower Ming Lei <tom.leiming@gmail.com> - 2016-10-18 03:40 +0200
  Re: [4.9-rc1] Build-time 2x slower Sedat Dilek <sedat.dilek@gmail.com> - 2016-10-18 11:40 +0200
    Re: [4.9-rc1] Build-time 2x slower Jörg Otte <jrg.otte@gmail.com> - 2016-10-18 19:00 +0200
      Re: [4.9-rc1] Build-time 2x slower Linus Torvalds <torvalds@linux-foundation.org> - 2016-10-18 19:20 +0200
        Re: [4.9-rc1] Build-time 2x slower Jörg Otte <jrg.otte@gmail.com> - 2016-10-19 17:30 +0200
          Re: [4.9-rc1] Build-time 2x slower Linus Torvalds <torvalds@linux-foundation.org> - 2016-10-19 17:30 +0200
            Re: [4.9-rc1] Build-time 2x slower Jörg Otte <jrg.otte@gmail.com> - 2016-10-19 19:00 +0200
              Re: [4.9-rc1] Build-time 2x slower "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-10-19 22:50 +0200
                Re: [4.9-rc1] Build-time 2x slower Sedat Dilek <sedat.dilek@gmail.com> - 2016-10-20 09:50 +0200
                Re: [4.9-rc1] Build-time 2x slower "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-10-20 13:10 +0200
                Re: [4.9-rc1] Build-time 2x slower "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-10-20 16:30 +0200
                Re: [4.9-rc1] Build-time 2x slower Sedat Dilek <sedat.dilek@gmail.com> - 2016-10-20 16:40 +0200
                Re: [4.9-rc1] Build-time 2x slower "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-10-20 16:50 +0200
                Re: [4.9-rc1] Build-time 2x slower Sedat Dilek <sedat.dilek@gmail.com> - 2016-10-21 03:00 +0200
                Re: [4.9-rc1] Build-time 2x slower Sedat Dilek <sedat.dilek@gmail.com> - 2016-10-20 16:30 +0200
                Re: [4.9-rc1] Build-time 2x slower Jörg Otte <jrg.otte@gmail.com> - 2016-10-20 10:00 +0200
                Re: [4.9-rc1] Build-time 2x slower Sedat Dilek <sedat.dilek@gmail.com> - 2016-10-20 10:10 +0200
                Re: [4.9-rc1] Build-time 2x slower "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-10-20 13:10 +0200
                Re: [4.9-rc1] Build-time 2x slower Jörg Otte <jrg.otte@gmail.com> - 2016-10-20 16:40 +0200
                Re: [4.9-rc1] Build-time 2x slower "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-10-20 16:50 +0200
              Re: [4.9-rc1] Build-time 2x slower Sedat Dilek <sedat.dilek@gmail.com> - 2016-10-20 09:30 +0200
            Re: [4.9-rc1] Build-time 2x slower Sedat Dilek <sedat.dilek@gmail.com> - 2016-10-20 09:50 +0200

csiph-web