fedora 14 kernel performance with ip forwarding workload
by Jesse Brandeburg
The other day I was running the stock fedora kernel on my ip
forwarding setup, to see what the performance was, and the performance
wasn't very good.
system is S5520HC dual socket 2.93GHz Xeon 5570 (Nehalem) with 3 quad
port 82580 adapters (12 ports). Traffic is bidirectional 64 byte
packets being forwarded and received on each port, basically port to
port routing. I am only using 12 flows currently.
The driver is igb, and I am using an affinity script that lines up
each pair of ports that are forwarding traffic into optimal
configurations for cache locality. I am also disabling
remote_node_defrag_ratio to stop cross node traffic.
With the fedora default kernel from F14 it appears that
CONFIG_NETFILTER=y means that I cannot unload all of netfilter even if
I stop iptables service.
perf showed netfilter being prominent, and removing it gives me much
higher throughput. Is there a reason CONFIG_NETFILTER=y ? Isn't it a
good thing to be able to disable netfilter if you want to?
Jesse
8 years, 10 months
Bisecting 3 year old kernels?
by Bruno Wolff III
I have a couple of old bugs that still affect me and want to see if I can
do a bisect on a rawhide machine of the older kernels (e.g. 2.6.37, 2.6.35).
So far I have been hitting a problem with a gcc error mentioning
conflicting types in a case where asmregparm is used in one place and not
another.
Am I going to need to use something like mock to do these builds?
Is there any hope that I can run the resulting kernel on rawhide? (I need
to test that X works in one case and motherboard sound combined with
high network traffic works in the other.)
Even if I need to test the kernels on an older Fedora, it would be nice to
do the builds on a rawhide machine so that I can use the rawhide machine
while the builds are being done and only do the tests on an older Fedora.
10 years, 6 months
CONFIG_DELL_RBU
by Chuck Anderson
Why was CONFIG_DELL_RBU disabled? I can't update my BIOS from Linux
on 3.11:
config-3.10.11-200.fc19.x86_64:CONFIG_DELL_RBU=m
config-3.11.1-200.fc19.x86_64:# CONFIG_DELL_RBU is not set
config-3.11.2-201.fc19.x86_64:# CONFIG_DELL_RBU is not set
10 years, 7 months
Fedora kernel bisect advice?
by Bruno Wolff III
I need to bisect the Fedora kernel to track down a bug and would some
advice on workflow and tips for speeding up builds.
My current approach is to start by cloning the linus kernel and cloning
the fedora kernel package. I cloned a git0 version of the package. I am
replacing the rc patch by doing a git diff versus the 3.11 kernel and
piping it through xz. I then use fedpkg local to build the test kernel.
There weren't too many Fedora patches in the period of interest, but
potentially I might need to add or remove one of these. The main issue
is that the builds take long enough that I am only going to be able to
do one test a day. I am building on i686 and really only need one of
the PAE or non-PAE kernels and I don't need any of the other rpms
(notably the doc rpm).
Does this workflow seem sane?
Is there any easy way to do the builds faster? (I'm thinking by not
building all of the rpms, but other approaches are welcome.)
10 years, 7 months
Fedora Kernel Patch Report
by Josh Boyer
Hi All,
Below is a patch report of the various patches Fedora is carrying on
top of the listed upstream kernel, and why we're carrying it. Greg
said he'd like to see such a report, so I plan on sending one a month
or so. Feel free to ping me with any questions you have. Also, if
there's additional info you'd like to see, just let me know.
3.11 based (F19/F20 (this also basically applied to rawhide as well,
which is 3.12 merge window):
net-sctp-fix-ipv6-ipsec-encryption-bug-in-sctp_v6_xmit.patch (rhbz 1007903)
- Backport of upstream commit
95ee62083cb6453e056562d91f597552021e6ae7 for security reasons.
tuntap-correctly-handle-error-in-tun_set_iff.patch (rhbz 1007741)
- Backport of upstream commit
662ca437e714caaab855b12415d6ffd815985bc0 for security reasons.
crypto-fix-race-in-larval-lookup.patch (rhbz 1002351)
- Backport of upstream commit 77dbd7a95e4a4f15264c333a9e9ab97ee27dc2aa
acpi-pcie-hotplug-conflict.patch (rhbz 963991)
- Backport of upstream commit 3dc48af310709b85d07c8b0d3aa8f1ead02829d3
rt2800-rearrange-bbp-rfcsr-initialization.patch (rhbz 1000679)
- http://marc.info/?l=linux-wireless&m=137872301718879&w=2
HID-CVE-fixes-3.11.patch
- This is a backport of all of the HID CVE fixes Kees and Benjamin
did. I believe all of them are now in Jiri's tree and on their way to
Linus and stable.
mei-me-fix-hardware-reset-flow.patch
- Fixes MEI reset issues for a number of machines. Queued for stable.
media-cx23885-Fix-TeVii-S471-regression-since-introduction-of-ts2020.patch
(rhbz 963715)
- Backport of upstream b43ea8068d2090cb1e44632c8a938ab40d2c7419
iwl3945-better-skb-management-in-rx-path.patch
iwl4965-better-skb-management-in-rx-path.patch (rhbz 977040)
- Backport of commits 45fe142cefa864b685615bcb930159f6749c3667 and
c1de4a9557d9e25e41fc4ba034b9659152205539
drm-radeon-Disable-writeback-by-default-on-ppc.patch
- This is something the Fedora ppc secondary team wanted I think.
Posted here:
http://lists.freedesktop.org/archives/dri-devel/2013-June/040059.html
cve-2013-2147-ciss-info-leak.patch (rhbz 971249)
- Patch from security people.
fix-child-thread-introspection.patch (rhbz 927469)
- Fixed upstream with commit 73af963f9f3036dffed55c3a2898598186db1045
ath9k_rx_dma_stop_check.patch (rhbz 892811)
- Fixes some DMA issue on specific hardware. Taken from
https://dev.openwrt.org/browser/trunk/package/mac80211/patches/552-ath9k_...
vt-Drop-K_OFF-for-VC_MUTE.patch (rhbz 859485)
- Fixes to vt K_OFF. This was posted upstream but needs poking.
selinux-apply-different-permission-to-ptrace-child.patch
- Allow e.g. gdb to only ptrace it's children and not random things.
Upstream asked Fedora to carry this for a while. Needs poking.
nowatchdog-on-virt.patch
- We keep seeing soft lockup detector reports on virt guests where
the host was busy and didn't schedule the guest in time. We disable
the detector on guests now.
efi-dont-map-boot-services-on-32bit.patch
- I believe this is queued up in Matt Flemming's tree now.
disable-i8042-check-on-apple-mac.patch
- Bastien added this to fix intermittent hangs on a Macbook Air 1,1.
Should probably poke at it.
secure-modules.patch
modsign-uefi.patch
sb-hibernate.patch
sysrq-secure-boot.patch
- Fedora secure boot support.
keys-expand-keyring.patch
- Patches from David Howells to expand keyrings. Can be found in his git tree.
keys-krb-support.patch
- Patches from David Howells to support KRB usecases with keyrings.
Can be found in his git tree.
keys-x509-improv.patch
- Patches from David Howells to improve x509 cert support, including
introducing a system_trusted_keyring. Can be found in his git tree.
crash-driver.patch
- The patch to add /dev/crash. Dave Anderson keeps making this work (mostly).
taint-vbox.patch
- We rebase the kernel often. Virtual Box breaks when we do it. We
don't support Virtual Box, so we taint it with the C flag. We could
likely drop this as it is automatically tainted with O now.
There are a crapton of ARM patches. I'm not going to go over those
because I honestly have no idea what they're for, where a lot of them
come from, or what their upstream status is.
We have a small number of debug or "silence stupid messages" patches
that have been there for years. They're minor.
josh
10 years, 7 months
Kernel source
by Nicolae Paladi
Hi,
I am not sure if this is the right place to start, but I am looking for
the source of the following kernel package:
kernel-2.6.32-358.118.1.openstack.el6.x86_64.rpm
This kernel is installed with RDO in order to enable some
OpenStack functionality (I am using CentOS 6.4). However,
I need to rebuild the kernel in order to enable IMA (integrity
measurement architecture).
I could only find the .rpm package itself, but not the source.
Any help appreciated, thank you!
/Nico
10 years, 7 months
FYI: 3.11.1-200.fc19.x86_64 works fine
by Reindl Harald
3.11.1-200.fc19.x86_64 works fine on my homeserver,
office-workstation and as VMware Workstation guest
* iptables NAT (LAN/WAN/WLAN/Bridge)
* openVPN gateway to company
* two WLAN AP's
* VMware Workstation NAT
* services like httpd/dbmail/postfix/mariadb
the bug from 3.11.0 as VMware guest to insist in loading
"pata_acpi" and "ata_generic" is also goen with this build
___________________________________________________________________________________________
[root@srv-rhsoft:~]$ smbios-sys-info
Libsmbios version: 2.2.28
Product Name: HP Compaq Elite 8300 CMT
Vendor: Hewlett-Packard
BIOS Version: K01 v02.57
___________________________________________________________________________________________
[harry@srv-rhsoft:~]$ lspci
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller
(rev 09)
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (rev 04)
00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 (rev c4)
00:1c.4 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 5 (rev c4)
00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a4)
00:1f.0 ISA bridge: Intel Corporation Q77 Express Chipset LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 7 Series/C210 Series Chipset Family 6-port SATA Controller [AHCI mode]
(rev 04)
00:1f.3 SMBus: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller (rev 04)
01:00.0 Network controller: Atheros Communications Inc. AR5418 Wireless Network Adapter [AR5008E 802.11(a)bgn]
(PCI-Express) (rev 01)
02:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection
___________________________________________________________________________________________
[harry@srv-rhsoft:~]$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 58
model name : Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
stepping : 9
microcode : 0x17
cpu MHz : 1600.000
cache size : 8192 KB
physical id : 0
siblings : 8
core id : 0
cpu cores : 4
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr
sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc
aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2
x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow
vnmi flexpriority ept vpid fsgsbase smep erms
bogomips : 6784.45
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
___________________________________________________________________________________________
[root@rh:~]$ smbios-sys-info
Libsmbios version: 2.2.28
Product Name: HP Compaq 8200 Elite CMT PC
Vendor: Hewlett-Packard
BIOS Version: J01 v02.23
___________________________________________________________________________________________
[root@rh:~]$ lspci
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics
Controller (rev 09)
00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (rev 04)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b4)
00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 (rev b4)
00:1c.6 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 7 (rev b4)
00:1c.7 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 8 (rev b4)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a4)
00:1f.0 ISA bridge: Intel Corporation Q67 Express Chipset Family LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family SATA AHCI Controller (rev 04)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 04)
01:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection
02:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 03)
03:00.0 Mass storage controller: Silicon Image, Inc. SiI 3132 Serial ATA Raid II Controller (rev 01)
___________________________________________________________________________________________
[root@rh:~]$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 42
model name : Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz
stepping : 7
microcode : 0x28
cpu MHz : 1600.000
cache size : 8192 KB
physical id : 0
siblings : 8
core id : 0
cpu cores : 4
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr
sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc
aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2
x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi
flexpriority ept vpid
bogomips : 6784.07
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
10 years, 7 months