Sea*_*rez 2 performance vpn networking raid 22.04
我读过很多帖子并尝试了一些基本的方法来解决这个问题,但在采取更雄心勃勃的行动之前,我想我应该寻求帮助。
我正在运行 22.04.3;我喜欢坚持使用 LTS 版本,出于某些人这样做的所有正常原因。我有一台相当旧的 2011 年戴尔台式机,配有“八核”i7 处理器。我有一个 Intel“硬件”RAID 1 作为启动驱动器。
直到最近,一切都很好。大约一周前,这台计算机的速度几乎完全停止了。这在运行 Firefox 浏览器时最为明显。然而,从那时起,我发现我几乎什么都做不了。例如,现在我已经等待计算机启动 1/2 小时(通常需要 1 分钟)。它确实逐渐取得进展,但做任何事情确实需要很长时间。当它加载程序时,如果我查看资源监视器,我会发现资源监视器要么不工作,要么即使工作,计算机上也没有压力——处理器负载最小,RAM 不多正在使用,网络或多或少很安静。换句话说,没有发生任何事情,因此任何程序的加载都非常慢。
所描述的情况与我试图解决 VPN 问题的情况一致,在该问题中,我在本地计算机上连接到 VPN 时无法访问外部网站。然而,我并不是真的声称这些是相关的。对我来说这似乎很巧合。如果不诉诸当前的方法,即使用 netplan (我的理解),我找不到解决 VPN 问题的方法。升级到 22.04 后,netplan 目录中没有任何内容,因此我必须使用有关该主题的几篇文章中描述的过程手动执行此操作。最终我无法让它工作,但我想我只是没有得到正确的设置。我正在连接到 PAN Global Protect。
至此,我已确保完全升级所有软件包。这最终是一个有点过程;由于某种原因,许多包裹被扣押。(可能是我遇到的任何问题的原因或症状?)。我能够通过手动 apt-get 依次重复执行 apt autoremove 来更新所有内容。我相信我现在已经完全更新了。
然而,事情仍然进展缓慢。我尝试关闭iommu,似乎没有任何效果。
接下来我将尝试关闭 Thermald。
附带评论是,我的网络连接在最近重新启动后就被破坏了。
我在使用 Ubuntu 时从未遇到过如此严重的问题。22.04 非常令人失望。
谢谢
肖恩
编辑 1:附加 RAID 信息。之前的 raid 没有任何问题,除了当我最初(去年)升级到 22.04 时,RAID 根本不起作用,因此计算机甚至无法启动。我修复了这个问题(不记得具体是什么,但我使用了 USB 可启动 ubuntu 驱动器,我想我只需要修复它启动到的驱动器的名称)。
然而,几天前(在速度问题已经发生几天之后),当计算机启动时,它卡在 Dell + Bios 屏幕上。我试图让它发挥作用,但它全速运行了好几分钟。最后我不得不重新启动它,之后它确实正常启动,但现在检测到一个 SMART 事件,可能是其中一个 RAID 驱动器温度过高。我之前从未在该屏幕上注意到任何驱动器有任何问题。我认为启动锁定失败导致了温度过高。也可能是巧合。这是lshw信息:
*-raid
description: RAID bus controller
product: SATA Controller [RAID mode]
vendor: Intel Corporation
physical id: 1f.2
bus info: pci@0000:00:1f.2
logical name: scsi0
logical name: scsi1
logical name: scsi2
version: 04
width: 32 bits
clock: 66MHz
capabilities: raid msi pm bus_master cap_list emulated
configuration: driver=ahci latency=0
resources: irq:27 ioport:4090(size=8) ioport:4080(size=4) ioport:4070(size=8) ioport:4060(size=4) ioport:4020(size=32) memory:e1540000-e15407ff
*-disk:0
description: ATA Disk
product: WDC WD10EALX-759
vendor: Western Digital
physical id: 0
bus info: scsi@0:0.0.0
logical name: /dev/sda
version: 1H19
serial: WD-WCATR8410859
size: 931GiB (1TB)
capabilities: partitioned partitioned:dos
configuration: ansiversion=5 logicalsectorsize=512 sectorsize=512 signature=0000d8c4
*-volume:0 UNCLAIMED
description: EXT4 volume
vendor: Linux
physical id: 1
bus info: scsi@0:0.0.0,1
version: 1.0
serial: 59db399e-f827-4109-9d4a-80c3a06fe246
size: 923GiB
capacity: 923GiB
capabilities: primary bootable journaled extended_attributes large_files huge_files dir_nlink recover extents ext4 ext2 initialized
configuration: created=2011-09-06 10:54:40 filesystem=ext4 lastmountpoint=/ modified=2023-07-21 12:35:23 mounted=2023-09-22 12:06:53 state=clean
*-volume:1 UNCLAIMED
description: Extended partition
physical id: 2
bus info: scsi@0:0.0.0,2
size: 8147MiB
capacity: 8147MiB
capabilities: primary extended partitioned partitioned:extended
*-logicalvolume UNCLAIMED
description: Linux swap volume
physical id: 5
version: 1
serial: 29cea475-fa94-4a3d-9227-e88017ececcb
size: 8147MiB
capacity: 8147MiB
capabilities: nofs swap initialized
configuration: filesystem=swap pagesize=4096
*-disk:1
description: ATA Disk
product: WDC WD10EALX-759
vendor: Western Digital
physical id: 1
bus info: scsi@1:0.0.0
logical name: /dev/sdb
version: 1H19
serial: WD-WCATR8422235
size: 931GiB (1TB)
capabilities: partitioned partitioned:dos
configuration: ansiversion=5 logicalsectorsize=512 sectorsize=512 signature=0000d8c4
*-volume:0 UNCLAIMED
description: EXT4 volume
vendor: Linux
physical id: 1
bus info: scsi@1:0.0.0,1
version: 1.0
serial: 59db399e-f827-4109-9d4a-80c3a06fe246
size: 923GiB
capacity: 923GiB
capabilities: primary bootable journaled extended_attributes large_files huge_files dir_nlink recover extents ext4 ext2 initialized
configuration: created=2011-09-06 10:54:40 filesystem=ext4 lastmountpoint=/ modified=2023-07-21 12:35:23 mounted=2023-09-22 12:06:53 state=clean
*-volume:1 UNCLAIMED
description: Extended partition
physical id: 2
bus info: scsi@1:0.0.0,2
size: 8147MiB
capacity: 8147MiB
capabilities: primary extended partitioned partitioned:extended
*-logicalvolume UNCLAIMED
description: Linux swap volume
physical id: 5
version: 1
serial: 29cea475-fa94-4a3d-9227-e88017ececcb
size: 8147MiB
capacity: 8147MiB
capabilities: nofs swap initialized
configuration: filesystem=swap pagesize=4096
Run Code Online (Sandbox Code Playgroud)
编辑 2:来自 smartctl -a 的 RAID 错误
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Western Digital Blue
Device Model: WDC WD10EALX-759BA1
Serial Number: WD-WCATR8410859
LU WWN Device Id: 5 0014ee 2b0cffb90
Firmware Version: 19.01H19
User Capacity: 1,000,204,886,016 bytes [1.00 TB]
Sector Size: 512 bytes logical/physical
Device is: In smartctl database [for details use: -P show]
ATA Version is: ATA8-ACS (minor revision not indicated)
SATA Version is: SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Fri Sep 22 16:16:02 2023 EDT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: FAILED!
Drive failure expected in less than 24 hours. SAVE ALL DATA.
See vendor-specific Attribute list for failed Attributes.
General SMART Values:
Offline data collection status: (0x82) Offline data collection activity
was completed without error.
Auto Offline Data Collection: Enabled.
Self-test execution status: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: (15960) seconds.
Offline data collection
capabilities: (0x7b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities: (0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x01) Error logging supported.
General Purpose Logging supported.
Short self-test routine
recommended polling time: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 185) minutes.
Conveyance self-test routine
recommended polling time: ( 5) minutes.
SCT capabilities: (0x3037) SCT Status supported.
SCT Feature Control supported.
SCT Data Table supported.
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x002f 199 199 051 Pre-fail Always - 8672
3 Spin_Up_Time 0x0027 176 167 021 Pre-fail Always - 4191
4 Start_Stop_Count 0x0032 098 098 000 Old_age Always - 2636
5 Reallocated_Sector_Ct 0x0033 069 069 140 Pre-fail Always FAILING_NOW 1043
7 Seek_Error_Rate 0x002e 200 200 000 Old_age Always - 0
9 Power_On_Hours 0x0032 050 050 000 Old_age Always - 37073
10 Spin_Retry_Count 0x0032 100 100 000 Old_age Always - 0
11 Calibration_Retry_Count 0x0032 100 100 000 Old_age Always - 0
12 Power_Cycle_Count 0x0032 098 098 000 Old_age Always - 2634
192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age Always - 210
193 Load_Cycle_Count 0x0032 200 200 000 Old_age Always - 2425
194 Temperature_Celsius 0x0022 100 086 000 Old_age Always - 47
196 Reallocated_Event_Count 0x0032 001 001 000 Old_age Always - 410
197 Current_Pending_Sector 0x0032 200 200 000 Old_age Always - 103
198 Offline_Uncorrectable 0x0030 200 200 000 Old_age Offline - 85
199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age Always - 0
200 Multi_Zone_Error_Rate 0x0008 193 193 000 Old_age Offline - 1492
240 Head_Flying_Hours 0x0032 054 054 000 Old_age Always - 33972
241 Total_LBAs_Written 0x0032 200 200 000 Old_age Always - 35557148779
242 Total_LBAs_Read 0x0032 200 200 000 Old_age Always - 28469971659
Run Code Online (Sandbox Code Playgroud)
/dev/sdb 的输出除了通过之外是相同的,但它确实有类似的 pre-fail 和 old_age 标记。没有任何内容表明“现在失败”。
vid*_*rlo 13
您的驱动器出现故障。它花费时间重新分配扇区而不是返回读取的数据。您需要更换表明出现故障的磁盘。
and只是指示器的类型Old_age,Pre_fail并不表示有问题。计数器增加并FAILING_NOW表明该测量结果表明驱动器出现故障。
顺便说一句,选择单个 SSD 可能会获得更好的性能和可靠性。现在只要 60 美元就能买到一个简单的 SATA SSD,它可以将你的旋转磁盘从水中炸出来。对于这种旧硬件来说,这可能是最大的性能改进。