刚刚安装了全新的 Ubuntu 20.04,运行速度相当慢。
我之前用过 20.04,运行速度很快,最近我不得不放弃它并重新开始。
我拥有基本相同的程序,唯一值得注意的例外是我使用的是 Brave 而不是 Chrome。
- CPU : Intel® Core™ i5-4460 CPU @ 3.20GHz × 4
- 显卡:GeForce GTX 960
- 内存:16 GB
- 主板:华硕 H97-PLUS
我的系统在 SSD 上,PC 中有一个旧 HDD,但它甚至没有安装。我正在使用 Nvidia 的驱动程序nvidia-driver-440
。
单击窗口通常需要一秒钟才能响应。Windows 键等按钮需要 3 秒钟左右才能显示。
查看 CPU 监视器时,我发现 CPU 使用率非常低。目前,它们的使用率都在 10% - 20% 左右徘徊(我目前有 2 个 docker 站点在运行,还有 2 个 IDE,但即使关闭它们,速度也很慢)。
与我之前安装的唯一区别是 Brave。有什么想法吗?
评论中要求的输出:
top - 12:10:24 up 1 day, 11:06, 1 user, load average: 1.54, 1.18, 1.03
Tasks: 323 total, 1 running, 322 sleeping, 0 stopped, 0 zombie
%Cpu(s): 6.0 us, 6.0 sy, 0.0 ni, 86.6 id, 0.0 wa, 0.0 hi, 1.5 si, 0.0 st
MiB Mem : 15957.1 total, 385.9 free, 5461.7 used, 10109.4 buff/cache
MiB Swap: 2048.0 total, 2027.5 free, 20.5 used. 9805.5 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
425028 root 20 0 0 0 0 I 13.3 0.0 0:34.39 kworker+
425952 derek 20 0 12328 4272 3440 R 13.3 0.0 0:00.02 top
81097 derek 20 0 4600000 307664 60224 S 6.7 1.9 126:07.64 gnome-s+
373735 derek 20 0 701512 266396 194588 S 6.7 1.6 24:22.77 brave
407238 derek 20 0 5150596 576008 181840 S 6.7 3.5 7:48.28 brave
407758 derek 20 0 7389168 1.1g 129720 S 6.7 7.4 8:55.13 java
1 root 20 0 171424 13468 8252 S 0.0 0.1 2:16.71 systemd
2 root 20 0 0 0 0 S 0.0 0.0 0:00.03 kthreadd
3 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 rcu_gp
4 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 rcu_par+
6 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 kworker+
9 root 0 -20 0 0 0 I 0.0 0.0 0:00.00 mm_perc+
10 root 20 0 0 0 0 S 0.0 0.0 0:04.39 ksoftir+
11 root 20 0 0 0 0 I 0.0 0.0 0:57.04 rcu_sch+
12 root rt 0 0 0 0 S 0.0 0.0 0:00.33 migrati+
13 root -51 0 0 0 0 S 0.0 0.0 0:00.00 idle_in+
14 root 20 0 0 0 0 S 0.0 0.0 0:00.00 cpuhp/0
derek@DPCU:~$ free -h
total used free shared buff/cache available
Mem: 15Gi 5.3Gi 395Mi 399Mi 9.9Gi 9.6Gi
Swap: 2.0Gi 20Mi 2.0Gi
derek@DPCU:~$ sysctl vm.swappiness
vm.swappiness = 60
derek@DPCU:~$ la -al ~/.local/share/gnome-shell/extensions
ls: cannot access '/home/derek/.local/share/gnome-shell/extensions': No such file or directory
derek@DPCU:~$ la -al /usr/share/gnome-shell/extensions
total 20
drwxr-xr-x 5 root root 4096 Apr 16 2019 .
drwxr-xr-x 7 root root 4096 Jun 1 00:54 ..
drwxr-xr-x 2 root root 4096 Jun 1 00:52 desktop-icons@csoriano
drwxr-xr-x 3 root root 4096 Jun 1 00:52 [email protected]
drwxr-xr-x 3 root root 4096 Jun 1 00:52 [email protected]
derek@DPCU:~$ sudo dmidecode -s bios-version
[sudo] password for derek:
2504
derek@DPCU:~$ sudo lshw -C memory
*-firmware
description: BIOS
vendor: American Megatrends Inc.
physical id: 0
version: 2504
date: 05/20/2015
size: 64KiB
capacity: 8MiB
capabilities: pci apm upgrade shadowing cdboot bootselect socketedrom edd int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int9keyboard int14serial int17printer acpi usb biosbootspecification uefi
*-memory
description: System Memory
physical id: 44
slot: System board or motherboard
size: 16GiB
*-bank:0
description: DIMM DDR3 Synchronous 1600 MHz (0.6 ns)
product: KHX1866C10D3/8G
vendor: Kingston
physical id: 0
serial: 762EEA49
slot: DIMM_A1
size: 8GiB
width: 64 bits
clock: 1600MHz (0.6ns)
*-bank:1
description: DIMM [empty]
product: [Empty]
vendor: [Empty]
physical id: 1
serial: [Empty]
slot: DIMM_A2
*-bank:2
description: DIMM DDR3 Synchronous 1600 MHz (0.6 ns)
product: KHX1866C10D3/8G
vendor: Kingston
physical id: 2
serial: 682EDE32
slot: DIMM_B1
size: 8GiB
width: 64 bits
clock: 1600MHz (0.6ns)
*-bank:3
description: DIMM [empty]
product: [Empty]
vendor: [Empty]
physical id: 3
serial: [Empty]
slot: DIMM_B2
*-cache:0
description: L1 cache
physical id: 52
slot: CPU Internal L1
size: 256KiB
capacity: 256KiB
capabilities: synchronous internal write-back
configuration: level=1
*-cache:1
description: L2 cache
physical id: 53
slot: CPU Internal L2
size: 1MiB
capacity: 1MiB
capabilities: synchronous internal write-back unified
configuration: level=2
*-cache:2
description: L3 cache
physical id: 54
slot: CPU Internal L3
size: 6MiB
capacity: 6MiB
capabilities: synchronous internal write-back unified
configuration: level=3