Re: [Bug #11308] tbench regression on each kernel release from 2.6.22 -> 2.6.28

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Mike Galbraith
Date: Monday, September 15, 2008 - 3:44 am

On Sun, 2008-09-14 at 21:51 +0200, Mike Galbraith wrote:

Turns off all netfilter options except tables, etc.

Since 2.6.22.19-cfs-v24.1 and 2.6.23.17-cfs-v24.1 schedulers are
identical, and these are essentially identical with 2.6.24.7, what I
read from numbers below is that cfs in 2.6.23 was somewhat less than
wonderful for either netperf or tbench,  Something happened somewhere
other than the scheduler at 23->24 which cost us some performance, and
another something happened at 26->27.  I'll likely go looking again..
and likely regret it again ;-)

Math ain't free is part of it, though apparently not much.  For me,
tbench regression 22->27 is ~10%, and netperf regression is ~16%.

Data:

2.6.22.19

Throughput 1250.73 MB/sec 4 procs                  1.00

16384  87380  1        1       60.01    111272.55  1.00
16384  87380  1        1       60.00    104689.58
16384  87380  1        1       60.00    110733.05
16384  87380  1        1       60.00    110748.88

2.6.22.19-cfs-v24.1

Throughput 1204.14 MB/sec 4 procs                  .962

16384  87380  1        1       60.01    101799.85  .929
16384  87380  1        1       60.01    101659.41
16384  87380  1        1       60.01    101628.78
16384  87380  1        1       60.01    101700.53

wakeup granularity = 0 (make scheduler as preempt happy as 2.6.22 is)

Throughput 1213.21 MB/sec 4 procs                  .970

16384  87380  1        1       60.01    108569.27  .992
16384  87380  1        1       60.01    108541.04
16384  87380  1        1       60.00    108579.63
16384  87380  1        1       60.01    108519.09

2.6.23.17

Throughput 1192.49 MB/sec 4 procs                  .953

16384  87380  1        1       60.00    91124.67   .866
16384  87380  1        1       60.00    93124.38
16384  87380  1        1       60.01    92249.69
16384  87380  1        1       60.01    91103.12

wakeup granularity = 0

Throughput 1200.46 MB/sec 4 procs                  .959

16384  87380  1        1       60.01    95987.66   .866
16384  87380  1        1       60.01    92819.98
16384  87380  1        1       60.01    95454.00
16384  87380  1        1       60.01    94834.84

2.6.23.17-cfs-v24.1

Throughput 1242.47 MB/sec 4 procs                  .993

16384  87380  1        1       60.00    101728.34  .931
16384  87380  1        1       60.00    101930.23
16384  87380  1        1       60.00    101803.15
16384  87380  1        1       60.00    101908.29

wakeup granularity = 0

Throughput 1238.68 MB/sec 4 procs                  .990

16384  87380  1        1       60.01    105871.52  .969
16384  87380  1        1       60.01    105813.11
16384  87380  1        1       60.01    106106.31
16384  87380  1        1       60.01    106310.20

2.6.24.7

Throughput 1202.49 MB/sec 4 procs                  .961

16384  87380  1        1       60.00    94643.23   .868
16384  87380  1        1       60.00    94754.37
16384  87380  1        1       60.00    94909.77
16384  87380  1        1       60.00    95457.41

wakeup granularity = 0

Throughput 1204 MB/sec 4 procs                     .962

16384  87380  1        1       60.00    99599.27   .910
16384  87380  1        1       60.00    99439.95
16384  87380  1        1       60.00    99556.38
16384  87380  1        1       60.00    99500.45

2.6.25.17

Throughput 1220.47 MB/sec 4 procs                  .975

16384  87380  1        1       60.00    94641.06   .867
16384  87380  1        1       60.00    94864.87
16384  87380  1        1       60.01    95033.81
16384  87380  1        1       60.00    94863.49

wakeup granularity = 0

Throughput 1223.16 MB/sec 4 procs                  .977
16384  87380  1        1       60.00    101768.95  .930
16384  87380  1        1       60.00    101888.46
16384  87380  1        1       60.01    101608.21
16384  87380  1        1       60.01    101833.05

2.6.26.5

Throughput 1182.24 MB/sec 4 procs                  .945

16384  87380  1        1       60.00    93814.75   .854
16384  87380  1        1       60.00    94173.41
16384  87380  1        1       60.00    92925.24
16384  87380  1        1       60.00    93002.51

wakeup granularity = 0

Throughput 1183.47 MB/sec 4 procs                  .945

16384  87380  1        1       60.00    100837.12  .922
16384  87380  1        1       60.00    101230.12
16384  87380  1        1       60.00    100868.45
16384  87380  1        1       60.00    100491.41

2.6.27

Throughput 1088.17 MB/sec 4 procs                  .870

16384  87380  1        1       60.00    84225.59   .766
16384  87380  1        1       60.00    83362.65
16384  87380  1        1       60.00    84060.73
16384  87380  1        1       60.00    83462.72

wakeup granularity = 0

Throughput 1116.22 MB/sec 4 procs                  .892

16384  87380  1        1       60.00    92502.44   .841
16384  87380  1        1       60.01    92213.72
16384  87380  1        1       60.00    91445.86
16384  87380  1        1       60.00    91832.84

revert sched weight/asym changes, gran = 0

Throughput 1149.16 MB/sec 4 proc                   .918

16384  87380  1        1       60.00    94824.92   .868
16384  87380  1        1       60.01    94579.45
16384  87380  1        1       60.01    95284.94
16384  87380  1        1       60.01    95228.22

Weight/asym changes cost ~3%.  Mysql+oltp agrees.  Preempt happy loads
lose a bit, preempt haters gain a bit.  Performance shift.



--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
2.6.27-rc6-git2: Reported regressions from 2.6.26, Rafael J. Wysocki, (Fri Sep 12, 11:59 am)
[Bug #11207] VolanoMark regression with 2.6.27-rc1, Rafael J. Wysocki, (Fri Sep 12, 11:59 am)
[Bug #11215] INFO: possible recursive locking detected ps2 ..., Rafael J. Wysocki, (Fri Sep 12, 12:06 pm)
[Bug #11220] Screen stays black after resume, Rafael J. Wysocki, (Fri Sep 12, 12:06 pm)
[Bug #11210] libata badness, Rafael J. Wysocki, (Fri Sep 12, 12:06 pm)
[Bug #11237] corrupt PMD after resume, Rafael J. Wysocki, (Fri Sep 12, 12:06 pm)
[Bug #11230] Kconfig no longer outputs a .config with fres ..., Rafael J. Wysocki, (Fri Sep 12, 12:06 pm)
[Bug #11224] Only three cores found on quad-core machine., Rafael J. Wysocki, (Fri Sep 12, 12:06 pm)
[Bug #11272] BUG: parport_serial in 2.6.27-rc1 for NetMos ..., Rafael J. Wysocki, (Fri Sep 12, 12:06 pm)
[Bug #11276] build error: CONFIG_OPTIMIZE_INLINING=y cause ..., Rafael J. Wysocki, (Fri Sep 12, 12:06 pm)
[Bug #11271] BUG: fealnx in 2.6.27-rc1, Rafael J. Wysocki, (Fri Sep 12, 12:06 pm)
[Bug #11264] Invalid op opcode in kernel/workqueue, Rafael J. Wysocki, (Fri Sep 12, 12:06 pm)
[Bug #11340] LTP overnight run resulted in unusable box, Rafael J. Wysocki, (Fri Sep 12, 12:06 pm)
[Bug #11336] 2.6.27-rc2:stall while mounting root fs, Rafael J. Wysocki, (Fri Sep 12, 12:06 pm)
[Bug #11335] 2.6.27-rc2-git5 BUG: unable to handle kernel ..., Rafael J. Wysocki, (Fri Sep 12, 12:06 pm)
[Bug #11308] tbench regression on each kernel release from ..., Rafael J. Wysocki, (Fri Sep 12, 12:06 pm)
[Bug #11357] Can not boot up with zd1211rw USB-Wlan Stick, Rafael J. Wysocki, (Fri Sep 12, 12:06 pm)
[Bug #11358] net: forcedeth call restore mac addr in nv_sh ..., Rafael J. Wysocki, (Fri Sep 12, 12:06 pm)
[Bug #11380] lockdep warning: cpu_add_remove_lock at:cpu_m ..., Rafael J. Wysocki, (Fri Sep 12, 12:06 pm)
[Bug #11343] SATA Cold Boot Problems with 2.6.27-rc[23] on ..., Rafael J. Wysocki, (Fri Sep 12, 12:06 pm)
[Bug #11398] hda_intel: IRQ timing workaround is activated ..., Rafael J. Wysocki, (Fri Sep 12, 12:06 pm)
[Bug #11382] e1000e: 2.6.27-rc1 corrupts EEPROM/NVM, Rafael J. Wysocki, (Fri Sep 12, 12:06 pm)
[Bug #11404] BUG: in 2.6.23-rc3-git7 in do_cciss_intr, Rafael J. Wysocki, (Fri Sep 12, 12:06 pm)
[Bug #11465] Linux-2.6.27-rc5, drm errors in log, Rafael J. Wysocki, (Fri Sep 12, 12:06 pm)
[Bug #11463] sshd hangs on close, Rafael J. Wysocki, (Fri Sep 12, 12:06 pm)
[Bug #11459] kernel crash after wifi connection established, Rafael J. Wysocki, (Fri Sep 12, 12:06 pm)
[Bug #11442] btusb hibernation/suspend breakage in current ..., Rafael J. Wysocki, (Fri Sep 12, 12:06 pm)
[Bug #11439] [2.6.27-rc4-git4] compilation warnings, Rafael J. Wysocki, (Fri Sep 12, 12:06 pm)
[Bug #11407] suspend: unable to handle kernel paging request, Rafael J. Wysocki, (Fri Sep 12, 12:06 pm)
[Bug #11471] GPE storm detected, kernel freezes, Rafael J. Wysocki, (Fri Sep 12, 12:06 pm)
[Bug #11501] Failed to open destination file: Permission d ..., Rafael J. Wysocki, (Fri Sep 12, 12:06 pm)
[Bug #11485] 2.6.27-rc xen pvops regression?, Rafael J. Wysocki, (Fri Sep 12, 12:06 pm)
[Bug #11500] /proc/net bug related to selinux, Rafael J. Wysocki, (Fri Sep 12, 12:06 pm)
[Bug #11476] failure to associate after resume from suspen ..., Rafael J. Wysocki, (Fri Sep 12, 12:06 pm)
[Bug #11507] usb: sometimes dead keyboard after boot, Rafael J. Wysocki, (Fri Sep 12, 12:06 pm)
[Bug #11506] oops during unmount - ext3? (2.6.27-rc5), Rafael J. Wysocki, (Fri Sep 12, 12:06 pm)
[Bug #11505] oltp ~10% regression with 2.6.27-rc5 on stoak ..., Rafael J. Wysocki, (Fri Sep 12, 12:06 pm)
[Bug #11547] build issue #565 for v2.6.27-rc5 : undefined ..., Rafael J. Wysocki, (Fri Sep 12, 12:06 pm)
[Bug #11548] kernel BUG at drivers/pci/intel-iommu.c:1373!, Rafael J. Wysocki, (Fri Sep 12, 12:06 pm)
[Bug #11549] 2.6.27-rc5 acpi: EC Storm error message on bootup, Rafael J. Wysocki, (Fri Sep 12, 12:06 pm)
[Bug #11516] severe performance degradation on x86_64 goin ..., Rafael J. Wysocki, (Fri Sep 12, 12:06 pm)
[Bug #11554] Partition check considered as error is breaki ..., Rafael J. Wysocki, (Fri Sep 12, 12:06 pm)
[Bug #11553] Strange looking line from "ps aux", Rafael J. Wysocki, (Fri Sep 12, 12:06 pm)
[Bug #11551] Semi-repeatable hard lockup on 2.6.27-rc6, Rafael J. Wysocki, (Fri Sep 12, 12:06 pm)
[Bug #11552] Disabling IRQ #23, Rafael J. Wysocki, (Fri Sep 12, 12:06 pm)
[Bug #11559] 2.6.27-rc6: nohz + s2ram = need to press keys ..., Rafael J. Wysocki, (Fri Sep 12, 12:06 pm)
[Bug #11557] Controlling backlight on thinkpad x60, Rafael J. Wysocki, (Fri Sep 12, 12:06 pm)
Re: [Bug #11276] build error: CONFIG_OPTIMIZE_INLINING=y c ..., Rafael J. Wysocki, (Fri Sep 12, 2:19 pm)
Re: [Bug #11548] kernel BUG at drivers/pci/intel-iommu.c:1373!, Rafael J. Wysocki, (Fri Sep 12, 2:21 pm)
Re: [Bug #11308] tbench regression on each kernel release ..., Christoph Lameter, (Fri Sep 12, 3:05 pm)
Re: [Bug #11500] /proc/net bug related to selinux, James Morris, (Fri Sep 12, 3:14 pm)
Re: [Bug #11500] /proc/net bug related to selinux, Andrew Morton, (Fri Sep 12, 3:24 pm)
Re: [Bug #11500] /proc/net bug related to selinux, James Morris, (Fri Sep 12, 5:15 pm)
Re: [Bug #11552] Disabling IRQ #23, Justin Mattock, (Fri Sep 12, 8:24 pm)
Re: [Bug #11271] BUG: fealnx in 2.6.27-rc1, Jaswinder Singh, (Sat Sep 13, 1:47 am)
Re: [Bug #11557] Controlling backlight on thinkpad x60, Matthew Garrett, (Sat Sep 13, 8:13 am)
Re: [Bug #11500] /proc/net bug related to selinux, Andrew Morton, (Sat Sep 13, 12:37 pm)
Re: [Bug #11554] Partition check considered as error is br ..., Herton Ronaldo Krzes ..., (Sat Sep 13, 4:37 pm)
Re: [Bug #11557] Controlling backlight on thinkpad x60, Pavel Machek, (Sun Sep 14, 3:18 am)
Re: [Bug #11308] tbench regression on each kernel release ..., Christoph Lameter, (Sun Sep 14, 7:18 am)
Re: [Bug #11398] hda_intel: IRQ timing workaround is activ ..., Rafael J. Wysocki, (Sun Sep 14, 5:13 pm)
Re: [Bug #11500] /proc/net bug related to selinux, Rafael J. Wysocki, (Sun Sep 14, 5:16 pm)
Re: [Bug #11554] Partition check considered as error is br ..., Rafael J. Wysocki, (Sun Sep 14, 5:25 pm)
Re: [Bug #11308] tbench regression on each kernel release ..., Mike Galbraith, (Mon Sep 15, 3:44 am)
Re: [Bug #11500] /proc/net bug related to selinux, Stephen Smalley, (Mon Sep 15, 6:05 am)
Re: [Bug #11500] /proc/net bug related to selinux, Stephen Smalley, (Mon Sep 15, 6:42 am)
Re: [Bug #11471] GPE storm detected, kernel freezes, Zhang Rui, (Mon Sep 15, 10:50 pm)
Re: [Bug #11500] /proc/net bug related to selinux, Andrew Morton, (Wed Sep 17, 12:50 pm)
Re: [Bug #11500] /proc/net bug related to selinux, Paul Moore, (Wed Sep 17, 2:24 pm)
Re: [Bug #11500] /proc/net bug related to selinux, Eric W. Biederman, (Wed Sep 17, 2:39 pm)
Re: [Bug #11500] /proc/net bug related to selinux, Andrew Morton, (Wed Sep 17, 2:48 pm)
Re: [Bug #11500] /proc/net bug related to selinux, Eric W. Biederman, (Wed Sep 17, 2:56 pm)
Re: [Bug #11500] /proc/net bug related to selinux, Andrew Morton, (Wed Sep 17, 3:11 pm)
Re: [Bug #11500] /proc/net bug related to selinux, Paul Moore, (Wed Sep 17, 3:12 pm)
Re: [Bug #11500] /proc/net bug related to selinux, David Miller, (Wed Sep 17, 3:23 pm)
Re: [Bug #11500] /proc/net bug related to selinux, Andrew Morton, (Wed Sep 17, 3:24 pm)
Re: [Bug #11500] /proc/net bug related to selinux, Eric W. Biederman, (Wed Sep 17, 3:32 pm)
Re: [Bug #11500] /proc/net bug related to selinux, Eric W. Biederman, (Wed Sep 17, 3:53 pm)
Re: [Bug #11500] /proc/net bug related to selinux, Stephen Smalley, (Thu Sep 18, 5:38 am)
Re: [Bug #11500] /proc/net bug related to selinux, Stephen Smalley, (Thu Sep 18, 6:03 am)
Re: [Bug #11500] /proc/net bug related to selinux, Eric W. Biederman, (Thu Sep 18, 11:09 am)
Re: [Bug #11500] /proc/net bug related to selinux, Stephen Smalley, (Thu Sep 18, 11:34 am)
Re: [Bug #11506] oops during unmount - ext3? (2.6.27-rc5), Marcin Slusarz, (Fri Sep 19, 9:17 am)
Re: [Bug #11500] /proc/net bug related to selinux, Stephen Smalley, (Fri Sep 19, 10:07 am)
Re: [Bug #11500] /proc/net bug related to selinux, Stephen Smalley, (Mon Sep 29, 9:49 am)