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] [thread-next>] [day] [month] [year] [list]
Message-ID: <20111017030310.GA30011@localhost>
Date:	Mon, 17 Oct 2011 11:03:10 +0800
From:	Wu Fengguang <fengguang.wu@...el.com>
To:	Trond Myklebust <Trond.Myklebust@...app.com>,
	linux-nfs@...r.kernel.org
Cc:	Peter Zijlstra <a.p.zijlstra@...llo.nl>,
	"linux-fsdevel@...r.kernel.org" <linux-fsdevel@...r.kernel.org>,
	Andrew Morton <akpm@...ux-foundation.org>,
	Jan Kara <jack@...e.cz>, Christoph Hellwig <hch@....de>,
	Dave Chinner <david@...morbit.com>,
	Greg Thelen <gthelen@...gle.com>,
	Minchan Kim <minchan.kim@...il.com>,
	Vivek Goyal <vgoyal@...hat.com>,
	Andrea Righi <arighi@...eler.com>,
	linux-mm <linux-mm@...ck.org>,
	LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 00/11] IO-less dirty throttling v12

Hi Trond,

I enhanced the script to compare the write_bw as well as the NFS
write/commit stats.

      3.1.0-rc4-vanilla+         3.1.0-rc8-nfs-wq+
------------------------  ------------------------
(MB/s)            275.28       +28.5%       353.72  TOTAL write_bw

                 5649.00      +192.3%     16510.00  TOTAL nfs_nr_commits (*)
               261987.00      +205.1%    799451.00  TOTAL nfs_nr_writes  (*)

(MB)              866.52       -18.1%       709.85  TOTAL nfs_commit_size (**)
                    2.94       -44.8%         1.62  TOTAL nfs_write_size

(ms)            47814.05       -84.0%      7631.57  TOTAL nfs_write_queue_time
                 1405.05       -53.6%       652.59  TOTAL nfs_write_rtt_time
                49237.94       -83.2%      8292.74  TOTAL nfs_write_execute_time

                 4320.98       -83.2%       726.27  TOTAL nfs_commit_queue_time
                22943.13        -8.6%     20963.46  TOTAL nfs_commit_rtt_time
                27307.42       -20.5%     21714.12  TOTAL nfs_commit_execute_time

(*) The x3 nfs_nr_writes and nfs_nr_commits numbers should be taken
    with a salt because the total written bytes are increased at the
    same time.

(**) The TOTAL nfs_commit_size mainly reflects the thresh=1G cases
     because the numbers in the 10M/100M cases are very small
     comparing to the 1G cases (as shown in the below case by case
     values). Ditto for the *_time values.  However the thresh=1G
     cases should be most close to the typical NFS client setup, so
     the values are still mostly representative numbers.

Below are the detailed case by case views. The script is attached,
which shows how exactly the numbers are calculated from mountstats.

Thanks,
Fengguang
---

      3.1.0-rc4-vanilla+         3.1.0-rc8-nfs-wq+
------------------------  ------------------------
                   20.89       +95.2%        40.77  NFS-thresh=100M/nfs-10dd-1M-32p-32768M-100M:10-X
                   39.43        +9.2%        43.07  NFS-thresh=100M/nfs-1dd-1M-32p-32768M-100M:10-X
                   26.60       +70.6%        45.39  NFS-thresh=100M/nfs-2dd-1M-32p-32768M-100M:10-X
                   12.70       +56.1%        19.83  NFS-thresh=10M/nfs-10dd-1M-32p-32768M-10M:10-X
                   27.41       +19.7%        32.81  NFS-thresh=10M/nfs-1dd-1M-32p-32768M-10M:10-X
                   26.52       +16.8%        30.97  NFS-thresh=10M/nfs-2dd-1M-32p-32768M-10M:10-X
                   40.70       +16.5%        47.42  NFS-thresh=1G/nfs-10dd-1M-32p-32768M-1024M:10-X
                   45.28        -2.4%        44.20  NFS-thresh=1G/nfs-1dd-1M-32p-32768M-1024M:10-X
                   35.74       +37.8%        49.26  NFS-thresh=1G/nfs-2dd-1M-32p-32768M-1024M:10-X
                  275.28       +28.5%       353.72  TOTAL write_bw

      3.1.0-rc4-vanilla+         3.1.0-rc8-nfs-wq+
------------------------  ------------------------
                  825.00      +196.8%      2449.00  NFS-thresh=100M/nfs-10dd-1M-32p-32768M-100M:10-X
                  250.00        +6.8%       267.00  NFS-thresh=100M/nfs-1dd-1M-32p-32768M-100M:10-X
                  272.00      +114.7%       584.00  NFS-thresh=100M/nfs-2dd-1M-32p-32768M-100M:10-X
                 1477.00      +350.8%      6658.00  NFS-thresh=10M/nfs-10dd-1M-32p-32768M-10M:10-X
                  997.00      +115.8%      2152.00  NFS-thresh=10M/nfs-1dd-1M-32p-32768M-10M:10-X
                 1521.00      +154.3%      3868.00  NFS-thresh=10M/nfs-2dd-1M-32p-32768M-10M:10-X
                  235.00       +83.4%       431.00  NFS-thresh=1G/nfs-10dd-1M-32p-32768M-1024M:10-X
                   29.00       +20.7%        35.00  NFS-thresh=1G/nfs-1dd-1M-32p-32768M-1024M:10-X
                   43.00       +53.5%        66.00  NFS-thresh=1G/nfs-2dd-1M-32p-32768M-1024M:10-X
                 5649.00      +192.3%     16510.00  TOTAL nfs_nr_commits

      3.1.0-rc4-vanilla+         3.1.0-rc8-nfs-wq+
------------------------  ------------------------
                32294.00       -14.6%     27571.00  NFS-thresh=100M/nfs-10dd-1M-32p-32768M-100M:10-X
                28858.00      +616.0%    206620.00  NFS-thresh=100M/nfs-1dd-1M-32p-32768M-100M:10-X
                32593.00      +202.7%     98662.00  NFS-thresh=100M/nfs-2dd-1M-32p-32768M-100M:10-X
                18937.00      +111.7%     40085.00  NFS-thresh=10M/nfs-10dd-1M-32p-32768M-10M:10-X
                18762.00      +660.5%    142691.00  NFS-thresh=10M/nfs-1dd-1M-32p-32768M-10M:10-X
                21473.00      +298.8%     85640.00  NFS-thresh=10M/nfs-2dd-1M-32p-32768M-10M:10-X
                47281.00        +5.0%     49625.00  NFS-thresh=1G/nfs-10dd-1M-32p-32768M-1024M:10-X
                33108.00       +77.1%     58632.00  NFS-thresh=1G/nfs-1dd-1M-32p-32768M-1024M:10-X
                28681.00      +213.5%     89925.00  NFS-thresh=1G/nfs-2dd-1M-32p-32768M-1024M:10-X
               261987.00      +205.1%    799451.00  TOTAL nfs_nr_writes

      3.1.0-rc4-vanilla+         3.1.0-rc8-nfs-wq+
------------------------  ------------------------
                    7.69       -35.6%         4.95  NFS-thresh=100M/nfs-10dd-1M-32p-32768M-100M:10-X
                   47.41        -1.3%        46.81  NFS-thresh=100M/nfs-1dd-1M-32p-32768M-100M:10-X
                   29.39       -22.1%        22.90  NFS-thresh=100M/nfs-2dd-1M-32p-32768M-100M:10-X
                    2.73       -68.3%         0.87  NFS-thresh=10M/nfs-10dd-1M-32p-32768M-10M:10-X
                    8.24       -46.7%         4.39  NFS-thresh=10M/nfs-1dd-1M-32p-32768M-10M:10-X
                    5.21       -55.1%         2.34  NFS-thresh=10M/nfs-2dd-1M-32p-32768M-10M:10-X
                   56.99       -42.5%        32.79  NFS-thresh=1G/nfs-10dd-1M-32p-32768M-1024M:10-X
                  453.65       -18.1%       371.54  NFS-thresh=1G/nfs-1dd-1M-32p-32768M-1024M:10-X
                  255.21       -12.5%       223.26  NFS-thresh=1G/nfs-2dd-1M-32p-32768M-1024M:10-X
                  866.52       -18.1%       709.85  TOTAL nfs_commit_size

      3.1.0-rc4-vanilla+         3.1.0-rc8-nfs-wq+
------------------------  ------------------------
                    0.20      +123.8%         0.44  NFS-thresh=100M/nfs-10dd-1M-32p-32768M-100M:10-X
                    0.41       -85.3%         0.06  NFS-thresh=100M/nfs-1dd-1M-32p-32768M-100M:10-X
                    0.25       -44.7%         0.14  NFS-thresh=100M/nfs-2dd-1M-32p-32768M-100M:10-X
                    0.21       -32.4%         0.14  NFS-thresh=10M/nfs-10dd-1M-32p-32768M-10M:10-X
                    0.44       -84.9%         0.07  NFS-thresh=10M/nfs-1dd-1M-32p-32768M-10M:10-X
                    0.37       -71.4%         0.11  NFS-thresh=10M/nfs-2dd-1M-32p-32768M-10M:10-X
                    0.28        +0.5%         0.28  NFS-thresh=1G/nfs-10dd-1M-32p-32768M-1024M:10-X
                    0.40       -44.2%         0.22  NFS-thresh=1G/nfs-1dd-1M-32p-32768M-1024M:10-X
                    0.38       -57.2%         0.16  NFS-thresh=1G/nfs-2dd-1M-32p-32768M-1024M:10-X
                    2.94       -44.8%         1.62  TOTAL nfs_write_size

      3.1.0-rc4-vanilla+         3.1.0-rc8-nfs-wq+
------------------------  ------------------------
                 3249.09       -93.2%       222.32  NFS-thresh=100M/nfs-10dd-1M-32p-32768M-100M:10-X
                  221.23       +98.2%       438.48  NFS-thresh=100M/nfs-1dd-1M-32p-32768M-100M:10-X
                 5942.01       -68.7%      1857.66  NFS-thresh=100M/nfs-2dd-1M-32p-32768M-100M:10-X
                  285.75       -99.9%         0.38  NFS-thresh=10M/nfs-10dd-1M-32p-32768M-10M:10-X
                    6.21       -95.4%         0.28  NFS-thresh=10M/nfs-1dd-1M-32p-32768M-10M:10-X
                   34.73       -92.4%         2.63  NFS-thresh=10M/nfs-2dd-1M-32p-32768M-10M:10-X
                29155.55       -99.3%       215.70  NFS-thresh=1G/nfs-10dd-1M-32p-32768M-1024M:10-X
                 2704.81        -6.3%      2535.52  NFS-thresh=1G/nfs-1dd-1M-32p-32768M-1024M:10-X
                 6214.66       -62.0%      2358.60  NFS-thresh=1G/nfs-2dd-1M-32p-32768M-1024M:10-X
                47814.05       -84.0%      7631.57  TOTAL nfs_write_queue_time

      3.1.0-rc4-vanilla+         3.1.0-rc8-nfs-wq+
------------------------  ------------------------
                  268.37       -69.6%        81.55  NFS-thresh=100M/nfs-10dd-1M-32p-32768M-100M:10-X
                   80.00       -38.0%        49.59  NFS-thresh=100M/nfs-1dd-1M-32p-32768M-100M:10-X
                  110.81       -50.8%        54.54  NFS-thresh=100M/nfs-2dd-1M-32p-32768M-100M:10-X
                  295.72       -41.7%       172.52  NFS-thresh=10M/nfs-10dd-1M-32p-32768M-10M:10-X
                   36.64       -31.6%        25.05  NFS-thresh=10M/nfs-1dd-1M-32p-32768M-10M:10-X
                  100.70       -33.5%        66.93  NFS-thresh=10M/nfs-2dd-1M-32p-32768M-10M:10-X
                  253.68       -67.2%        83.33  NFS-thresh=1G/nfs-10dd-1M-32p-32768M-1024M:10-X
                   55.16       +46.4%        80.77  NFS-thresh=1G/nfs-1dd-1M-32p-32768M-1024M:10-X
                  203.96       -81.2%        38.30  NFS-thresh=1G/nfs-2dd-1M-32p-32768M-1024M:10-X
                 1405.05       -53.6%       652.59  TOTAL nfs_write_rtt_time

      3.1.0-rc4-vanilla+         3.1.0-rc8-nfs-wq+
------------------------  ------------------------
                 3517.58       -91.4%       304.13  NFS-thresh=100M/nfs-10dd-1M-32p-32768M-100M:10-X
                  302.26       +61.7%       488.90  NFS-thresh=100M/nfs-1dd-1M-32p-32768M-100M:10-X
                 6053.53       -68.4%      1912.75  NFS-thresh=100M/nfs-2dd-1M-32p-32768M-100M:10-X
                  581.52       -70.3%       173.00  NFS-thresh=10M/nfs-10dd-1M-32p-32768M-10M:10-X
                   42.99       -40.7%        25.47  NFS-thresh=10M/nfs-1dd-1M-32p-32768M-10M:10-X
                  135.56       -48.5%        69.75  NFS-thresh=10M/nfs-2dd-1M-32p-32768M-10M:10-X
                29411.03       -99.0%       299.78  NFS-thresh=1G/nfs-10dd-1M-32p-32768M-1024M:10-X
                 2768.01        -5.4%      2618.62  NFS-thresh=1G/nfs-1dd-1M-32p-32768M-1024M:10-X
                 6425.46       -62.6%      2400.33  NFS-thresh=1G/nfs-2dd-1M-32p-32768M-1024M:10-X
                49237.94       -83.2%      8292.74  TOTAL nfs_write_execute_time

      3.1.0-rc4-vanilla+         3.1.0-rc8-nfs-wq+
------------------------  ------------------------
                   99.56       -97.5%         2.49  NFS-thresh=100M/nfs-10dd-1M-32p-32768M-100M:10-X
                  108.12       -83.8%        17.50  NFS-thresh=100M/nfs-1dd-1M-32p-32768M-100M:10-X
                   89.87       -97.5%         2.26  NFS-thresh=100M/nfs-2dd-1M-32p-32768M-100M:10-X
                    9.00       -90.5%         0.85  NFS-thresh=10M/nfs-10dd-1M-32p-32768M-10M:10-X
                    2.41       -58.2%         1.01  NFS-thresh=10M/nfs-1dd-1M-32p-32768M-10M:10-X
                    2.68       -59.9%         1.07  NFS-thresh=10M/nfs-2dd-1M-32p-32768M-10M:10-X
                 1398.01       -64.0%       503.61  NFS-thresh=1G/nfs-10dd-1M-32p-32768M-1024M:10-X
                 1558.97       -97.9%        33.03  NFS-thresh=1G/nfs-1dd-1M-32p-32768M-1024M:10-X
                 1052.37       -84.4%       164.45  NFS-thresh=1G/nfs-2dd-1M-32p-32768M-1024M:10-X
                 4320.98       -83.2%       726.27  TOTAL nfs_commit_queue_time

      3.1.0-rc4-vanilla+         3.1.0-rc8-nfs-wq+
------------------------  ------------------------
                  896.68        -6.3%       840.25  NFS-thresh=100M/nfs-10dd-1M-32p-32768M-100M:10-X
                  919.00        +0.9%       926.98  NFS-thresh=100M/nfs-1dd-1M-32p-32768M-100M:10-X
                 1088.05       -24.0%       827.14  NFS-thresh=100M/nfs-2dd-1M-32p-32768M-100M:10-X
                  266.54       -22.7%       206.09  NFS-thresh=10M/nfs-10dd-1M-32p-32768M-10M:10-X
                  191.28       -41.3%       112.32  NFS-thresh=10M/nfs-1dd-1M-32p-32768M-10M:10-X
                  187.90       -34.0%       123.98  NFS-thresh=10M/nfs-2dd-1M-32p-32768M-10M:10-X
                 4671.46       -11.8%      4119.49  NFS-thresh=1G/nfs-10dd-1M-32p-32768M-1024M:10-X
                 6586.97        -3.1%      6382.66  NFS-thresh=1G/nfs-1dd-1M-32p-32768M-1024M:10-X
                 8135.26        -8.7%      7424.56  NFS-thresh=1G/nfs-2dd-1M-32p-32768M-1024M:10-X
                22943.13        -8.6%     20963.46  TOTAL nfs_commit_rtt_time

      3.1.0-rc4-vanilla+         3.1.0-rc8-nfs-wq+
------------------------  ------------------------
                  996.58       -15.4%       843.02  NFS-thresh=100M/nfs-10dd-1M-32p-32768M-100M:10-X
                 1027.14        -8.0%       944.51  NFS-thresh=100M/nfs-1dd-1M-32p-32768M-100M:10-X
                 1178.59       -29.6%       829.52  NFS-thresh=100M/nfs-2dd-1M-32p-32768M-100M:10-X
                  275.75       -24.9%       207.03  NFS-thresh=10M/nfs-10dd-1M-32p-32768M-10M:10-X
                  193.71       -41.5%       113.35  NFS-thresh=10M/nfs-1dd-1M-32p-32768M-10M:10-X
                  190.67       -34.4%       125.12  NFS-thresh=10M/nfs-2dd-1M-32p-32768M-10M:10-X
                 6071.22       -23.8%      4624.14  NFS-thresh=1G/nfs-10dd-1M-32p-32768M-1024M:10-X
                 8146.03       -21.2%      6415.71  NFS-thresh=1G/nfs-1dd-1M-32p-32768M-1024M:10-X
                 9227.72       -17.5%      7611.71  NFS-thresh=1G/nfs-2dd-1M-32p-32768M-1024M:10-X
                27307.42       -20.5%     21714.12  TOTAL nfs_commit_execute_time


Download attachment "compare.rb" of type "application/x-ruby" (6000 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ