Bug 194511 - filesystem slow down
Summary: filesystem slow down
Status: RESOLVED PATCH_ALREADY_AVAILABLE
Alias: None
Product: File System
Classification: Unclassified
Component: ext3 (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: fs_ext3@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-08 16:05 UTC by Dieter Ferdinand
Modified: 2017-05-07 12:34 UTC (History)
1 user (show)

See Also:
Kernel Version: 4.4.44 und 4.8.???
Subsystem:
Regression: No
Bisected commit-id:


Attachments
kernel configuration (118.10 KB, text/plain)
2017-02-09 11:20 UTC, Dieter Ferdinand
Details

Description Dieter Ferdinand 2017-02-08 16:05:32 UTC
hello,
last month i try to update to the last kernel 4.4.xx. but that was a big fault.

after the update, it looks fine, but after some time (ca 30 minutes after a restart of the server, the system slow down and i need to much time to copy files to the drives.

i test the speed:
read usb >30000 MB/s
read sata >100000MB/s
write filesystem usb ca 1 MB/s
write filesystem sata ca 1 MB/s

this month i used a rescue-system with a kernel 4.8.??? to change a harddisk-config on a server and i get the same problem:
to backup, format and restore a filesystem with less then 1 GB data i need over 2 hours.
the initialisation of a 160GB ext3-filesystem need over 30 minutes. this is impossible!

at the same time, a raid is rebuild with over 100 MB/s. i stop the rebuild, but this have no effect to the write-speed of mke2fs to init the filesystem. at last, i reinstall the system in less then 30 minutes two times again because the system don't boot after my changes. i think a selinux-problem.
this systenm use kernel 3.10.0 at the moment without problems.

after two days, i install the kernel 3.18.47 from kernel.org to have the latest 3.xx kernel and this kernel works fine and since installation without problems.

only, i must deaktivate initramfs, but i think, that is no problem of the kernel and i have no time to analyse this problem at the moment.

goodby
Comment 1 Theodore Tso 2017-02-08 19:49:29 UTC
I am currently running with a 4.9 kernel (and previously I was using a 4.8 kernel, and before that I was using 4.4) on my development laptop and I certainly wasn't seeing the sort of performance numbers you are seeing.

Nor has anyone else been complaining about this --- and given that there are a lot of people running Debian testing with a 4.8 kernel, I'm sure we would have heard the complaints if this was a widespread problem.

So there must be something fairly unique about either your hardware or software configuration.   Or perhaps your kernel configuration.   We would need all of that information in order to be able to even start looking at your complaint.
Comment 2 Dieter Ferdinand 2017-02-09 11:20:29 UTC
Created attachment 254681 [details]
kernel configuration

hello,
i can send you only my configuration of the kernel at the moment and some infos about my hardware because i can't restart the other server at the moment.

i have a big problem with such bugs: they will find me all and this is not the first time, that i have a bug which don't have any other user.
sample: bug in capi-driver which used by asterisk. much time later the programms warn to use this driver. the time i send informartion of this bug i get only as response, that all works fine.

i try to send you all information of the other system, next time i start it. but i don't know which kernel the system use at this time because i send the provider a mail to change to the last 3.xxx kernel to solve the problem.

goodby

00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] RS780 Host Bridge
00:02.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780 PCI to PCI bridge (ext gfx port 0)
00:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI to PCI bridge (PCIE port 0)
00:09.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI to PCI bridge (PCIE port 4)
00:0a.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI to PCI bridge (PCIE port 5)
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode]
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:12.1 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0 USB OHCI1 Controller
00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:13.1 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0 USB OHCI1 Controller
00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus Controller (rev 3c)
00:14.1 IDE interface: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 IDE Controller
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 LPC host controller
00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 PCI to PCI Bridge
00:14.5 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI2 Controller
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 5
01:00.0 VGA compatible controller: NVIDIA Corporation GT218 [GeForce 210] (rev a2)
01:00.1 Audio device: NVIDIA Corporation High Definition Audio Controller (rev a1)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
03:00.0 SATA controller: JMicron Technology Corp. JMB363 SATA/IDE Controller (rev 03)
03:00.1 IDE interface: JMicron Technology Corp. JMB363 SATA/IDE Controller (rev 03)
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 01)
05:05.0 RAID bus controller: Silicon Image, Inc. SiI 3114 [SATALink/SATARaid] Serial ATA Controller (rev 02)
05:06.0 SCSI storage controller: Adaptec AHA-3960D / AIC-7899A U160/m (rev 01)
05:06.1 SCSI storage controller: Adaptec AHA-3960D / AIC-7899A U160/m (rev 01)
05:07.0 Serial controller: MosChip Semiconductor Technology Ltd. PCI 9835 Multi-I/O Controller (rev 01)


2 00 00 00 WDC WD20EFRX-68E Rev: 0A82 ATA Direct-Access                    
4 00 00 00 WDC WD20EFRX-68A Rev: 0A80 ATA Direct-Access                    
7 00 00 00 WDC WD30EFRX-68A Rev: 0A80 ATA Direct-Access                    
13 00 00 00 WDC WD30EFRX-68E Rev: 0A82 ATA Direct-Access                    
16 00 01 00 DVD-ROM SD-R5002 Rev: 1030 TOSHIBA CD-ROM                           
19 00 00 00 External USB 3.0 Rev: 5438 TOSHIBA Direct-Access                    
18 00 00 00 External USB 3.0 Rev: 5438 TOSHIBA Direct-Access                    
6 00 00 00 WDC WD30EFRX-68E Rev: 0A82 ATA Direct-Access                    
11 00 00 00 ST3000VN000-1H41 Rev: SC42 ATA Direct-Access
Comment 3 Dieter Ferdinand 2017-05-07 08:05:07 UTC
hello,
with the last 3.18.48 and 4.9.23 kernels i don't have that problem again.

goodby

Note You need to log in before you can comment on or make changes to this bug.