kswapd0 take 100% processor

Bug #1967748 reported by geole0
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Hello
I don't know if this is normal operation or if it is possible to configure KSWAPD0.

I installed version 22.04 (jammy) choosing encrypted ZFS partitioning in an external disk.
The installation chose to assign the swap partition to SDC2.

On reboot, this partition does not exist. Depending on how I reboot it is either seen as SDA2 or SDB2. So I deactivated and opened a bug
(https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1962409)

However, this does not seem to block me.

So I decided to continue using ZFS.
My first decision was to copy the contents of my personal data partition to a directory under rpool/USERDATA
with the RSYNC command

This action lasts several hours and requires a lot of inputs and outputs. I noticed that firefox stopped responding. Every second, a message asking if I want to wait is displayed.

I also saw that the KSWAPD0 process almost permanently consumes a processor.

All this seems to me to be related to the copy. ( time sudo rsync -av --exclude {'.Trash*','Downloads','$RECYCLE.BIN'} /media/Common /Common )

I know that ZFS wants to use the full RAM (6GB) to be able to maximally compress the data.

So my question is whether this is completely normal. I would still like to be able to consult the Internet while copying a directory.

I post under KSWAP0 without knowing if he is entirely responsible.

thank you

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: linux-image-5.15.0-23-generic 5.15.0-23.23
ProcVersionSignature: Ubuntu 5.15.0-23.23-generic 5.15.27
Uname: Linux 5.15.0-23-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu80
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: a 3727 F.... pulseaudio
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Mon Apr 4 14:27:55 2022
HibernationDevice: RESUME=none
InstallationDate: Installed on 2022-04-01 (2 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Beta amd64 (20220329.1)
MachineType: TOSHIBA SATELLITE S70t-A
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/BOOT/ubuntu_b4yff9@/vmlinuz-5.15.0-23-generic root=ZFS=rpool/ROOT/ubuntu_b4yff9 ro
RelatedPackageVersions:
 linux-restricted-modules-5.15.0-23-generic N/A
 linux-backports-modules-5.15.0-23-generic N/A
 linux-firmware 20220329.git681281e4-0ubuntu1
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/18/2014
dmi.bios.release: 1.30
dmi.bios.vendor: Insyde Corp.
dmi.bios.version: 1.30
dmi.board.asset.tag: Type2 - Board Asset Tag
dmi.board.name: Type2 - Board Product Name1
dmi.board.vendor: Type2 - Board Vendor Name1
dmi.board.version: Type2 - Board Version
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: OEM Chassis Manufacturer
dmi.chassis.version: OEM Chassis Version
dmi.ec.firmware.release: 1.30
dmi.modalias: dmi:bvnInsydeCorp.:bvr1.30:bd04/18/2014:br1.30:efr1.30:svnTOSHIBA:pnSATELLITES70t-A:pvrPSKN6E-01C00KFR:rvnType2-BoardVendorName1:rnType2-BoardProductName1:rvrType2-BoardVersion:cvnOEMChassisManufacturer:ct10:cvrOEMChassisVersion:skuPSKN6E:
dmi.product.family: Type1Family
dmi.product.name: SATELLITE S70t-A
dmi.product.sku: PSKN6E
dmi.product.version: PSKN6E-01C00KFR
dmi.sys.vendor: TOSHIBA

Revision history for this message
geole0 (geole0) wrote :
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.