Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758116AbbFCSj4 (ORCPT ); Wed, 3 Jun 2015 14:39:56 -0400 Received: from mail.kernel.org ([198.145.29.136]:46923 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758032AbbFCSjl convert rfc822-to-8bit (ORCPT ); Wed, 3 Jun 2015 14:39:41 -0400 MIME-Version: 1.0 In-Reply-To: <1433123162.6691.156.camel@intel.com> References: <1433123162.6691.156.camel@intel.com> Date: Wed, 3 Jun 2015 11:39:35 -0700 Message-ID: Subject: Re: [lkp] [block] fbccf1df065: +276.3% boot-meminfo.KernelStack From: Ming Lin To: Huang Ying Cc: Kent Overstreet , LKML , LKP ML , "huang.ying.caritas" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 6655 Lines: 145 On Sun, May 31, 2015 at 6:46 PM, Huang Ying wrote: > FYI, we noticed the below changes on > > git://git.kernel.org/pub/scm/linux/kernel/git/mlin/linux.git block-generic-req > commit fbccf1df06574add60bdb71103cc1662e477f02d ("block: make generic_make_request handle arbitrarily sized bios") > > > testcase/path_params/tbox_group: boot/1/vm-kbuild-1G > > v4.1-rc4 fbccf1df06574add60bdb71103 > ---------------- -------------------------- > %stddev %change %stddev > \ | \ > 1587 ± 7% +276.3% 5972 ± 1% boot-meminfo.KernelStack I tested with 5 virtual disks. diff meminfo.v4.1-rc4 diff meminfo.fbccf1df0 -Slab: 16908 kB -SReclaimable: 8708 kB -SUnreclaim: 8200 kB -KernelStack: 1456 kB -PageTables: 1496 kB +Slab: 17492 kB +SReclaimable: 8860 kB +SUnreclaim: 8632 kB +KernelStack: 2144 kB +PageTables: 1480 kB The KernelStack increase is because now we create bio pool for each request_queue. > 152390 ± 0% +4.8% 159697 ± 0% boot-slabinfo.num_objs > 10149 ± 0% +15.8% 11750 ± 0% boot-slabinfo.num_pages > 35916 ± 5% +18.0% 42368 ± 9% boot-meminfo.DirectMap4k > 478516 ± 0% -1.9% 469269 ± 0% boot-meminfo.MemFree > 11477 ± 0% +49.1% 17111 ± 1% boot-meminfo.SUnreclaim > 40551 ± 0% +15.7% 46910 ± 0% boot-meminfo.Slab > > vm-kbuild-1G: qemu-system-x86_64 -enable-kvm -cpu Haswell,+smep,+smap > Memory: 1G Could you send me the kernel config and full qemu command? I'll try to reproduce it. > > boot-meminfo.KernelStack > > 7000 ++-------------------------------------------------------------------+ > | O O O O | > 6000 O+ O O O O O O O O O O O O O O O O O O > | | > 5000 ++ | > | | > 4000 ++ | > | | > 3000 ++ | > | | > 2000 ++ *.. | > * *..*..*..* : * | > 1000 ++ .. + : | > | + . + : | > 0 ++-*--*--*---------------*-------------------------------------------+ > > [*] bisect-good sample > [O] bisect-bad sample > > To reproduce: > > apt-get install ruby > git clone git://git.kernel.org/pub/scm/linux/kernel/git/wfg/lkp-tests.git > cd lkp-tests > bin/setup-local job.yaml # the job file attached in this email > bin/run-local job.yaml I got below error. root@mlin-dev:~/lkp-tests# ./bin/run-local job.yaml /usr/lib/ruby/2.1.0/psych.rb:464:in `initialize': No such file or directory @ rb_sysopen - /result/boot/1/msl-lab-afa03/debian-x86_64-2015-02-07.cgz/x86_64-lkp/gcc-4.9/9e46a1eba10500df620683e31742789ef2781e93/1/job.yaml (Errno::ENOENT) from /usr/lib/ruby/2.1.0/psych.rb:464:in `open' from /usr/lib/ruby/2.1.0/psych.rb:464:in `load_file' from /root/tmp/lkp-tests/stats/kernel-size:7:in `
' /root/tmp/lkp-tests/stats/kernel-size < /dev/null exit code 1, check /dev/shm/lkp-stats.70d8CxI7 root@mlin-dev:~# tree /result/ /result/ └── boot ├── 1 │ └── msl-lab-afa03 │ └── debian-x86_64-2015-02-07.cgz │ └── x86_64-lkp │ └── gcc-4.9 │ └── 9e46a1eba10500df620683e31742789ef2781e93 │ ├── 0 │ │ ├── boot-meminfo │ │ ├── boot-meminfo.json │ │ ├── boot-slabinfo │ │ ├── boot-slabinfo.json │ │ ├── job.sh │ │ ├── job.yaml │ │ ├── matrix.json.gz │ │ ├── memmap │ │ ├── memmap.json │ │ ├── sleep │ │ ├── sleep.time │ │ ├── sleep.time.json │ │ ├── stats.json │ │ ├── time │ │ ├── time.json │ │ ├── watchdog │ │ └── watch-oom │ ├── 1 │ │ ├── boot-meminfo │ │ ├── boot-meminfo.json │ │ ├── boot-slabinfo │ │ ├── boot-slabinfo.json │ │ ├── job.sh │ │ ├── job.yaml │ │ ├── matrix.json.gz │ │ ├── memmap │ │ ├── memmap.json │ │ ├── sleep │ │ ├── sleep.time │ │ ├── sleep.time.json │ │ ├── stats.json │ │ ├── time │ │ ├── time.json │ │ ├── watchdog │ │ └── watch-oom │ ├── avg.json │ ├── matrix.json │ └── stddev.json └── params.yaml 9 directories, 38 files -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/