Skip to contentSkip to conversation

71d4f7d0321: -49.6% xfstests.generic.274.seconds

ext4 Fengguang Wu 1 participant 2 messages Aug 21, 2014 – Aug 22, 2014

lore
Share & tools
lore
#0 lore raw

Hi Ted,

We noticed increased xfstests 274's test speed and the first good commit is 71d4f7d032149b935a26eb3ff85c6c837f3714e1 ("ext4: remove metadata reservation checks").

test case: snb-drag/xfstests/4HDD-ext4-generic-slow2 snb-drag is a Sandy Bridge PC with 6G memory.

d5e03cbb0c88cd1 71d4f7d032149b935a26eb3ff
--------------- -------------------------

        51 ± 2%     -49.6%         25 ± 1%  TOTAL xfstests.generic.274.seconds
       817 ± 1%      -3.0%        792 ± 1%  TOTAL time.elapsed_time

                          xfstests.generic.274.seconds

60 ++---------------------------------------------------------------------+

     |                                                                      |
  55 ++         .*..*..             *..               *..                   |
     |       .*.       .          ..                ..                      |
  50 *+.*..*.           *..*..*..*     *..*..*..*..*     *                  |
     |                                                                      |
  45 ++                                                                     |
     |                                                                      |
  40 ++                                                                     |
     |                                                                      |
  35 ++                                                                     |
     |                                                                      |
  30 ++                                                                     |
     |                                                                      |

25 O+-O--O--O--O--O---O--O--O--O--O--O--O--O--O--O--O--O---O--O--O--O--O--O

[*] bisect-good sample
[O] bisect-bad sample

Disclaimer:
Results have been estimated based on internal Intel analysis and are provided for informational purposes only. Any difference in system hardware or software design or configuration may affect actual performance.

Thanks,
Fengguang

echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor echo performance > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor echo performance > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor echo performance > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor mkfs -t ext4 -q /dev/sda7
mkfs -t ext4 -q /dev/sda10
mkfs -t ext4 -q /dev/sda6
mkfs -t ext4 -q /dev/sda5
mount -t ext4 /dev/sda10 /fs/sda10
mount -t ext4 /dev/sda5 /fs/sda5
mount -t ext4 /dev/sda6 /fs/sda6
mount -t ext4 /dev/sda7 /fs/sda7
export TEST_DIR=/fs/sda10
export TEST_DEV=/dev/sda10
export SCRATCH_MNT=/fs/scratch
mkdir /fs/scratch -p
export SCRATCH_DEV=/dev/sda7
./check generic/224 generic/231 generic/274 generic/299 generic/300

#1 lore raw
Quoted 30 lines · Fengguang Wu

Hi Ted,

We noticed increased xfstests 274's test speed and the first good commit is 71d4f7d032149b935a26eb3ff85c6c837f3714e1 ("ext4: remove metadata reservation checks").

test case: snb-drag/xfstests/4HDD-ext4-generic-slow2 snb-drag is a Sandy Bridge PC with 6G memory.

d5e03cbb0c88cd1 71d4f7d032149b935a26eb3ff
--------------- -------------------------

        51 ± 2%     -49.6%         25 ± 1%  TOTAL xfstests.generic.274.seconds
       817 ± 1%      -3.0%        792 ± 1%  TOTAL time.elapsed_time

                          xfstests.generic.274.seconds

60 ++---------------------------------------------------------------------+

     |                                                                      |
  55 ++         .*..*..             *..               *..                   |
     |       .*.       .          ..                ..                      |
  50 *+.*..*.           *..*..*..*     *..*..*..*..*     *                  |
     |                                                                      |
  45 ++                                                                     |
     |                                                                      |
  40 ++                                                                     |
     |                                                                      |
  35 ++                                                                     |
     |                                                                      |
  30 ++                                                                     |
     |                                                                      |
Quoted 5 lines

25 O+-O--O--O--O--O---O--O--O--O--O--O--O--O--O--O--O--O---O--O--O--O--O--O

[*] bisect-good sample
[O] bisect-bad sample

This is sweet, got another improvement:

testbox/testcase/testparams: snb-drag/xfstests/4HDD-ext4-generic-mid

d5e03cbb0c88cd1 71d4f7d032149b935a26eb3ff
--------------- -------------------------

        45 ± 4%     -50.2%         22 ± 7%  xfstests.generic.256.seconds
   7044859 ± 2%      -7.0%    6553446 ± 0%  time.minor_page_faults
     36156 ± 2%      -7.0%      33638 ± 0%  time.involuntary_context_switches
    171551 ± 1%      -4.8%     163312 ± 0%  time.voluntary_context_switches
       436 ± 1%      -5.7%        411 ± 0%  time.elapsed_time

time.voluntary_context_switches

176000 ++-----------------------------------------------------------------+

         |                   *        *..         *..                       |
  174000 ++       *..      .. :      :   *..*    :   *                      |
  172000 ++     ..     .*.*   :      :       +   :    +                     |
         *..*..*     *.        :    :         + :      +  .*                |
  170000 ++                    :  .*           *        *.                  |                                                                   
  168000 ++                     *.                                          |
         |                                                                  |
  166000 ++                                                                 |
  164000 ++                     O                                  O        |
         |                   O     O  O     O     O  O  O       O     O  O  O
  162000 ++ O        O  O O                                O O              |
  160000 O+                              O     O                            |
         |     O  O                                                         |

158000 ++-----------------------------------------------------------------+

xfstests.generic.256.seconds

60 ++-----------------------------*---------------------------------------+

     |                             : :                                      |
  55 ++                            : :                                      |
  50 ++                           :   :                                     |
     | .*..                     .*    :     .*..                            |
  45 *+    *..  .*..*...*..*..*.       : .*.      .*..  .*                  |
     |        *.                       *.       *.    *.                    |
  40 ++                                                                     |
     |                                                                      |
  35 ++                                                                     |
  30 ++                                                                     |
     |                                                                      |
  25 ++                                                  O         O        |
     O  O     O  O      O  O           O     O     O         O  O     O  O  |

20 ++----O--------O---------O--O--O-----O-----O-----O---------------------O

Thanks,
Fengguang