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] [day] [month] [year] [list]
Message-ID: <CAF1ivSbbcXHWYDTPm_VhfkGQwj0Hj91gvLJ5COKOsOy-1XvDkA@mail.gmail.com>
Date:	Wed, 3 Jun 2015 11:39:35 -0700
From:	Ming Lin <mlin@...nel.org>
To:	Huang Ying <ying.huang@...el.com>
Cc:	Kent Overstreet <kent.overstreet@...il.com>,
	LKML <linux-kernel@...r.kernel.org>, LKP ML <lkp@...org>,
	"huang.ying.caritas" <huang.ying.caritas@...il.com>
Subject: Re: [lkp] [block] fbccf1df065: +276.3% boot-meminfo.KernelStack

On Sun, May 31, 2015 at 6:46 PM, Huang Ying <ying.huang@...el.com> 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@...n-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 `<main>'
/root/tmp/lkp-tests/stats/kernel-size < /dev/null  exit code 1, check
/dev/shm/lkp-stats.70d8CxI7


root@...n-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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ