Any operation like cp/rm big file:
top - 09:00:33 up 12 min,  1 user,  load average: 11,55, 7,23, 3,60
Tasks: 341 total,   1 running, 340 sleeping,   0 stopped,   0 zombie
%Cpu0  :  1,3 us,  7,0 sy,  0,0 ni,  0,0 id, 91,7 wa,  0,0 hi,  0,0 si,  0,0 st
%Cpu1  :  5,9 us,  7,3 sy,  0,0 ni,  0,0 id, 86,8 wa,  0,0 hi,  0,0 si,  0,0 st
%Cpu2  :  3,7 us,  7,0 sy,  0,3 ni, 27,4 id, 61,5 wa,  0,0 hi,  0,0 si,  0,0 st
%Cpu3  :  3,0 us,  6,6 sy,  0,0 ni,  0,0 id, 90,4 wa,  0,0 hi,  0,0 si,  0,0 st
%Cpu4  :  2,0 us,  6,7 sy,  0,0 ni, 69,3 id, 22,0 wa,  0,0 hi,  0,0 si,  0,0 st
%Cpu5  :  4,7 us,  8,0 sy,  0,7 ni,  0,0 id, 86,7 wa,  0,0 hi,  0,0 si,  0,0 st
%Cpu6  :  4,4 us,  5,8 sy,  0,0 ni,  0,0 id, 89,8 wa,  0,0 hi,  0,0 si,  0,0 st
%Cpu7  :  2,0 us,  6,7 sy,  0,0 ni,  0,0 id, 91,3 wa,  0,0 hi,  0,0 si,  0,0 st
MiB Mem :  31922,9 total,  18111,2 free,   3655,1 used,  10156,6 buff/cache
MiB Swap:    980,0 total,    980,0 free,      0,0 used.  26893,0 avail Mem 

    PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND  
                                                                                
                                             
   3635 janusz    20   0 2841208 302720 117252 S   8,9   0,9   1:10.78 Web 
Content                                                                         
                                                  
   2059 janusz    20   0 4961508 284548 102652 S   6,9   0,9   0:26.83 
gnome-shell                                                                     
                                                      
   1823 janusz     9 -11 3352488  19036  15332 S   6,3   0,1   0:41.25 
pulseaudio                                                                      
                                                      
   2631 janusz    20   0  819484  53192  38340 S   5,9   0,2   0:07.68 
gnome-terminal-                                                                 
                                                      
    454 root      20   0       0      0      0 D   5,6   0,0   0:08.08 
kworker/u16:7+kcryptd/253:0                                                     
                                                      
   3452 janusz    20   0 3905104 362944 194092 S   5,6   1,1   0:52.16 firefox  
                                                                                
                                             
   4667 root      20   0       0      0      0 D   5,6   0,0   0:05.93 
kworker/u16:3+kcryptd/253:0                                                     
                                                      
    126 root      20   0       0      0      0 D   5,3   0,0   0:06.50 
kworker/u16:1+kcryptd/253:0                                                     
                                                      
    447 root      20   0       0      0      0 D   5,3   0,0   0:07.15 
kworker/u16:5+kcryptd/253:0                                                     
                                                      
    450 root      20   0       0      0      0 D   5,3   0,0   0:08.38 
kworker/u16:6+kcryptd/253:0                                                     
                                                      
    457 root      20   0       0      0      0 D   5,3   0,0   0:07.95 
kworker/u16:9+kcryptd/253:0                                                     
                                                      
   1912 janusz    20   0  873952  76156  43660 S   5,3   0,2   0:15.31 Xorg

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1912960

Title:
  kcryptd, big file copy, system became unresponsive

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  ubuntu 20.4
  Linux eb850 5.4.0-62-generic #70-Ubuntu SMP Tue Jan 12 12:45:47 UTC 2021 
x86_64 x86_64 x86_64 GNU/Linux

  Simple copy big file:
  janusz@eb850:~$ ls -al tmp.tar.gz 
  -rw-r--r-- 1 janusz janusz 3847997532 sty 24 20:09 tmp.tar.gz
  janusz@eb850:~$ cp tmp.tar.gz tmp2.tar.gz

  GUI apps became unresponsive - slack/teams/firefox ...

  Top show all CPU (cores) ~100% usage in WA (io and kcryptd).

  nvme0n1                 259:0    0 465,8G  0 disk  
  ├─nvme0n1p1             259:1    0   512M  0 part  /boot/efi
  ├─nvme0n1p2             259:2    0   732M  0 part  /boot
  └─nvme0n1p3             259:3    0 464,6G  0 part  
    └─nvme0n1p3_crypt     253:0    0 464,6G  0 crypt 
      ├─ubuntu--vg-root   253:1    0 463,6G  0 lvm   /
      └─ubuntu--vg-swap_1 253:2    0   980M  0 lvm   [SWAP]

  
  Is there any option that will change/tune kcryptd (dm-crypt) to not use all 
cores?
  Today any operation like cp/zip/unzip/git with large files, couse I can't use 
ubuntu at all.
  --- 
  ProblemType: Bug
  ApportVersion: 2.20.11-0ubuntu27.14
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  janusz     1801 F.... pulseaudio
   /dev/snd/pcmC0D0p:   janusz     1801 F...m pulseaudio
   /dev/snd/pcmC0D6c:   janusz     1801 F...m pulseaudio
  CasperMD5CheckResult: skip
  CurrentDesktop: ubuntu:GNOME
  DistroRelease: Ubuntu 20.04
  InstallationDate: Installed on 2020-04-30 (269 days ago)
  InstallationMedia: Ubuntu 18.04.3 LTS "Bionic Beaver" - Release amd64 
(20190805)
  MachineType: HP HP EliteBook 850 G6
  Package: linux (not installed)
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.4.0-62-generic 
root=/dev/mapper/ubuntu--vg-root ro quiet splash elevator=mq-deadline 
vt.handoff=7
  ProcVersionSignature: Ubuntu 5.4.0-62.70-generic 5.4.78
  RelatedPackageVersions:
   linux-restricted-modules-5.4.0-62-generic N/A
   linux-backports-modules-5.4.0-62-generic  N/A
   linux-firmware                            1.187.7
  Tags:  focal
  Uname: Linux 5.4.0-62-generic x86_64
  UpgradeStatus: Upgraded to focal on 2020-10-31 (85 days ago)
  UserGroups: adm cdrom dip docker lpadmin plugdev sambashare sudo
  _MarkForUpload: True
  dmi.bios.date: 02/18/2020
  dmi.bios.vendor: HP
  dmi.bios.version: R70 Ver. 01.04.05
  dmi.board.name: 8549
  dmi.board.vendor: HP
  dmi.board.version: KBC Version 52.59.00
  dmi.chassis.type: 10
  dmi.chassis.vendor: HP
  dmi.modalias: 
dmi:bvnHP:bvrR70Ver.01.04.05:bd02/18/2020:svnHP:pnHPEliteBook850G6:pvr:rvnHP:rn8549:rvrKBCVersion52.59.00:cvnHP:ct10:cvr:
  dmi.product.family: 103C_5336AN HP EliteBook
  dmi.product.name: HP EliteBook 850 G6
  dmi.product.sku: 6XD81EA#AKD
  dmi.sys.vendor: HP

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1912960/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to