You are not logged in.

#1 2022-05-29 08:52:13

nowy
Member
Registered: 2022-04-15
Posts: 12

*SOLVED After kernel 5.18, there are two regression.

After update kernel to 5.18, there are android emulator performance issue and small delay during booting.

android emulator with android studio is very slow on linux-5.18, but not on 5.17.9.
There are no specific error messages for this situation, but I found a difference between them.
On 5.18, dirty memory was increased rapidly, and kept high usage.
5.18
But it also was increased on 5.17, but not kept high usage of dirty memory.
5.17
both test used same project and were measured during build -> run emulator -> play video -> close emulator and android studio.

Another regression is a small problem. booting hangs for about 2 seconds.

29.05.2022 16:22:41:216	nvme nvme0	pci function 0000:03:00.0
29.05.2022 16:22:41:234	input	AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input5
29.05.2022 16:22:41:468	usb 1-6	new high-speed USB device number 2 using xhci_hcd
29.05.2022 16:22:41:618	usb 1-6	New USB device found, idVendor=04f2, idProduct=b5a7, bcdDevice=36.01
29.05.2022 16:22:41:618	usb 1-6	New USB device strings: Mfr=1, Product=2, SerialNumber=0
29.05.2022 16:22:41:618	usb 1-6	Product: Chicony USB 2.0 Camera
29.05.2022 16:22:41:620	usb 1-6	Manufacturer: SunplusIT Inc
29.05.2022 16:22:41:745	usb 1-10	new full-speed USB device number 3 using xhci_hcd
29.05.2022 16:22:41:887	usb 1-10	New USB device found, idVendor=8087, idProduct=0a2a, bcdDevice= 0.01
29.05.2022 16:22:41:888	usb 1-10	New USB device strings: Mfr=0, Product=0, SerialNumber=0
29.05.2022 16:22:43:535	nvme nvme0	Shutdown timeout set to 8 seconds
29.05.2022 16:22:43:549	nvme nvme0	6/0/0 default/read/poll queues
29.05.2022 16:22:43:560	 nvme0n1	p1 p2 p3 p4
29.05.2022 16:22:43:813		SGI XFS with ACLs, security attributes, realtime, scrub, repair, quota, no debug enabled
29.05.2022 16:22:43:815	XFS (nvme0n1p4)	Mounting V5 Filesystem
29.05.2022 16:22:43:824	XFS (nvme0n1p4)	Ending clean mount

It always hangs before

Shutdown timeout set to 8 seconds

but there is no delay on 5.17.

29.05.2022 16:40:51:428	nvme nvme0	pci function 0000:03:00.0
29.05.2022 16:40:51:428	usb usb2	SerialNumber: 0000:00:14.0
29.05.2022 16:40:51:428	hub 2-0	.0: USB hub found
29.05.2022 16:40:51:428	hub 2-0	.0: 8 ports detected
29.05.2022 16:40:51:428	nvme nvme0	pci function 0000:03:00.0
29.05.2022 16:40:51:429	usb	port power management may be unreliable
29.05.2022 16:40:51:429	usb	port power management may be unreliable
29.05.2022 16:40:51:435	nvme nvme0	missing or invalid SUBNQN field.
29.05.2022 16:40:51:435	nvme nvme0	Shutdown timeout set to 8 seconds
29.05.2022 16:40:51:435	nvme nvme0	missing or invalid SUBNQN field.
29.05.2022 16:40:51:435	nvme nvme0	Shutdown timeout set to 8 seconds
29.05.2022 16:40:51:446	nvme nvme0	6/0/0 default/read/poll queues
29.05.2022 16:40:51:446	nvme nvme0	6/0/0 default/read/poll queues
29.05.2022 16:40:51:448	 nvme0n1	p1 p2 p3 p4
29.05.2022 16:40:51:448	 nvme0n1	p1 p2 p3 p4

Here is my system info
Operating System: Arch Linux
KDE Plasma Version: 5.24.5
Kernel Version: 5.17.9-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 6 × Intel® Core™ i5-8500 CPU @ 3.00GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 630
Storage: SAMSUNG MZVLB256HBHQ-00000(p1: vfat, efi partion, p2: windows recovery parition, p3: ntfs, windows parition, p4: xfs, root parition)

Revert to 5.17 fixes these repression.

Does anyone have same problems?

EDIT:  After changing filesystem from xfs to ext4, android emulator works normally without high usage of dirty memory on 5.18.

Last edited by nowy (2022-05-29 17:34:01)

Offline

Board footer

Powered by FluxBB