I have been running some comparative tests between distro's on a
Thinkpad T450S with a i5-5300U and I think this is related to CPU
throttling.

The issue seems to occur on:
 - Ubuntu 18.04 (5.0.0 stock kernel)
 - Ubuntu 19.10 (5.3 stock kernel)
 - OpenSUSE Tumbleweed (5.3 stock kernel)

But not on OpenSUSE 15.1 Leap (4.12.14 stock kernel)

I have installed the mainline 4.12.14 kernel on Ubuntu 18.04 but that
gives me the same issues.

What I have noticed however is that 18.04, 19.10 and Tumbleweed all try
to throttle the CPU, and during file copy the CPU frequency never gets
above 1Ghz.

OpenSUSE Leap however has a much more lax throttling policy and never
dips below 2Ghz, even when the laptop is running on battery.

I have checked the CPU frequency with `cat
/sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq`. Also this tool
might give some valuable insight: https://github.com/amanusk/s-tui

I find that running a stresstest with that tool (or stress-ng, which
with it integrates) seem to eradicate the issue (because the CPU
frequency is kept unthrottled while running a stresstest).

If anyone has some ideas for tests I can do, please let me know. I have
a spare SSD that I can pop in the laptop so it shouldn't be that big of
a deal reinstalling the OS.

-- 
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/1208993

Title:
  Ubuntu slows down and hangs while copying file from/to USB

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Hi

  While copying many and large files to and from a USB drive, the system
  becomes incredibly slow and sometimes hangs. I watched the system
  monitor while it was running slowly but cpu was not above 50% at any
  time, the same for memory.

  I'm using the "WD my passport" HD with a USB3 port of my "ASUS K55VD"
  laptop.

  Description:  Ubuntu 13.04
  Release:      13.04

  nautilus:
    Installed: 1:3.6.3-0ubuntu16
    Candidate: 1:3.6.3-0ubuntu16
    Version table:
   *** 1:3.6.3-0ubuntu16 0
          500 http://ubuntu-archive.mirror.nucleus.be/ raring/main amd64 
Packages
          100 /var/lib/dpkg/status

  
  Steps to reproduce:
  1) Aquire many large files (like your totally legit moviecollection)
  2) Copy files to external HD
  3) Open your browser and be sad when your system becomes incredibly slow 
after a few minutes


  This is my first bugreport so if I'm missing something, please tell
  me.

  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: nautilus 1:3.6.3-0ubuntu16
  ProcVersionSignature: Ubuntu 3.8.0-27.40-generic 3.8.13.4
  Uname: Linux 3.8.0-27-generic x86_64
  ApportVersion: 2.9.2-0ubuntu8.1
  Architecture: amd64
  Date: Tue Aug  6 22:56:34 2013
  EcryptfsInUse: Yes
  ExecutablePath: /usr/bin/nautilus
  GsettingsChanges:
   b'org.gnome.nautilus.window-state' b'geometry' b"'656x715+154+151'"
   b'org.gnome.nautilus.window-state' b'maximized' b'true'
  InstallationDate: Installed on 2013-05-31 (67 days ago)
  InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
  MarkForUpload: True
  SourcePackage: nautilus
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1208993/+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