You are not logged in.

#26 2023-11-09 22:42:49

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,065

Re: [SOLVED] Arch becomes really slow after short amount of time

There're four drives, but that one looks uncritical.
The fstab looks ok, too - remains the broken usb device.

Offline

#27 2023-11-09 22:55:18

dizzyman
Member
Registered: 2023-11-07
Posts: 27

Re: [SOLVED] Arch becomes really slow after short amount of time

the other 3 disks

ID# Name                        Value Worst Thres Pretty      Raw            Type    Updates Good Good/Past
  1 raw-read-error-rate         200   200    51   0           0x000000000000 prefail online  yes  yes 
  3 spin-up-time                158   138    21   3.1 s       0xf20b00000000 prefail online  yes  yes 
  4 start-stop-count             98    98     0   2907        0x5b0b00000000 old-age online  n/a  n/a 
  5 reallocated-sector-count    200   200   140   0 sectors   0x000000000000 prefail online  yes  yes 
  7 seek-error-rate             100   200     0   0           0x000000000000 old-age online  n/a  n/a 
  9 power-on-hours               86    86     0   1.2 years   0x1c2a00000000 old-age online  n/a  n/a 
 10 spin-retry-count            100   100     0   0           0x000000000000 old-age online  n/a  n/a 
 11 calibration-retry-count     100   100     0   0           0x000000000000 old-age online  n/a  n/a 
 12 power-cycle-count            98    98     0   2534        0xe60900000000 old-age online  n/a  n/a 
 16 attribute-16                  3   197     0   n/a         0x457cdb5a2700 old-age online  n/a  n/a 
183 runtime-bad-block-total     100   100     0   0           0x000000000000 old-age online  n/a  n/a 
192 power-off-retract-count     199   199     0   1118        0x5e0400000000 old-age online  n/a  n/a 
193 load-cycle-count            200   200     0   2884        0x440b00000000 old-age online  n/a  n/a 
194 temperature-celsius-2       114    97     0   29.0 C      0x1d0000000000 old-age online  n/a  n/a 
196 reallocated-event-count     200   200     0   0           0x000000000000 old-age online  n/a  n/a 
197 current-pending-sector      200   200     0   0 sectors   0x000000000000 old-age online  n/a  n/a 
198 offline-uncorrectable       100   253     0   0 sectors   0x000000000000 old-age offline n/a  n/a 
199 udma-crc-error-count        200   200     0   0           0x000000000000 old-age online  n/a  n/a 
200 multi-zone-error-rate       100   253     0   0           0x000000000000 old-age offline n/a  n/a 
ID# Name                        Value Worst Thres Pretty      Raw            Type    Updates Good Good/Past
  1 raw-read-error-rate         200   200    51   0           0x000000000000 prefail online  yes  yes 
  3 spin-up-time                153   150    21   1.4 s       0x460500000000 prefail online  yes  yes 
  4 start-stop-count             65    65     0   35109       0x258900000000 old-age online  n/a  n/a 
  5 reallocated-sector-count    200   200   140   0 sectors   0x000000000000 prefail online  yes  yes 
  7 seek-error-rate             200   200    51   0           0x000000000000 prefail online  yes  yes 
  9 power-on-hours               91    91     0   9.3 months  0x241a00000000 old-age online  n/a  n/a 
 10 spin-retry-count            100   100     0   0           0x000000000000 old-age online  n/a  n/a 
 11 calibration-retry-count     100   100     0   0           0x000000000000 old-age online  n/a  n/a 
 12 power-cycle-count            93    93     0   7660        0xec1d00000000 old-age online  n/a  n/a 
192 power-off-retract-count     200   200     0   213         0xd50000000000 old-age online  n/a  n/a 
193 load-cycle-count            160   160     0   120388      0x44d601000000 old-age online  n/a  n/a 
194 temperature-celsius-2       119    98     0   24.0 C      0x180000000000 old-age online  n/a  n/a 
196 reallocated-event-count     200   200     0   0           0x000000000000 old-age online  n/a  n/a 
197 current-pending-sector      200   200     0   0 sectors   0x000000000000 old-age online  n/a  n/a 
198 offline-uncorrectable       100   253     0   0 sectors   0x000000000000 old-age offline n/a  n/a 
199 udma-crc-error-count        200     1     0   13871       0x2f3600000000 old-age online  n/a  n/a 
200 multi-zone-error-rate       100   253     0   0           0x000000000000 old-age offline n/a  n/a 
240 head-flying-hours            93    93     0   7.3 months  0x961400000000 old-age online  n/a  n/a 
ID# Name                        Value Worst Thres Pretty      Raw            Type    Updates Good Good/Past
  1 raw-read-error-rate         100   100    50   0           0x000000000000 prefail online  yes  yes 
  2 throughput-performance      100   100    50   n/a         0x000000000000 prefail online  yes  yes 
  3 spin-up-time                100   100     2   2.0 s       0xda0700000000 prefail online  yes  yes 
  4 start-stop-count            100   100     0   19781       0x454d00000000 old-age online  n/a  n/a 
  5 reallocated-sector-count    100   100    10   0 sectors   0x000000000000 prefail online  yes  yes 
  7 seek-error-rate             100   100    50   0           0x000000000000 prefail online  yes  yes 
  8 seek-time-performance       100   100    50   n/a         0x000000000000 prefail offline yes  yes 
  9 power-on-hours               63    63     0   1.7 years   0xd03a00000000 old-age online  n/a  n/a 
 10 spin-retry-count            253   100    30   0           0x000000000000 prefail online  yes  yes 
 12 power-cycle-count           100   100     0   3621        0x250e00000000 old-age online  n/a  n/a 
183 runtime-bad-block-total     100   100     1   6           0x060000000000 old-age online  yes  yes 
184 end-to-end-error            100   100    97   0           0x000000000000 prefail online  yes  yes 
185 attribute-185               100   100     1   n/a         0xffff00000000 old-age online  yes  yes 
187 reported-uncorrect           98    98     0   2 sectors   0x020000000000 old-age online  n/a  n/a 
188 command-timeout             100    99     0   2           0x020000000000 old-age online  n/a  n/a 
189 high-fly-writes             100   100     1   0           0x000000000000 old-age online  yes  yes 
190 airflow-temperature-celsius  74    43    40   26.0 C      0x1a001a1b0000 old-age online  yes  yes 
191 g-sense-error-rate          100   100     0   431         0xaf0100000000 old-age online  n/a  n/a 
192 power-off-retract-count      99    99     0   43385494    0x960296020000 old-age online  n/a  n/a 
193 load-cycle-count             53    53     0   470832      0x302f07000000 old-age online  n/a  n/a 
194 temperature-celsius-2        74    43    40   26.0 C      0x1a001a1b0000 old-age online  yes  yes 
196 reallocated-event-count     100   100     0   0           0x000000000000 old-age online  n/a  n/a 
197 current-pending-sector      100   100     0   0 sectors   0x000000000000 old-age online  n/a  n/a 
199 udma-crc-error-count        200   253     0   0           0x000000000000 old-age online  n/a  n/a 

This is the lsusb output:

/:  Bus 001.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/10p, 480M
    ID 1d6b:0002 Linux Foundation 2.0 root hub
    |__ Port 002: Dev 002, If 0, Class=Hub, Driver=hub/4p, 480M
        ID 05e3:0608 Genesys Logic, Inc. Hub
    |__ Port 007: Dev 003, If 0, Class=Human Interface Device, Driver=usbhid, 12M
        ID 1462:7c56 Micro Star International 
    |__ Port 009: Dev 005, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
        ID 046a:0023 CHERRY Keyboard
    |__ Port 009: Dev 005, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
        ID 046a:0023 CHERRY Keyboard
    |__ Port 010: Dev 006, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
        ID 03f0:134a HP, Inc Optical Mouse
/:  Bus 002.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/4p, 10000M
    ID 1d6b:0003 Linux Foundation 3.0 root hub
/:  Bus 003.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/4p, 480M
    ID 1d6b:0002 Linux Foundation 2.0 root hub
/:  Bus 004.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/4p, 10000M
    ID 1d6b:0003 Linux Foundation 3.0 root hub

There are no other USB devices connected.

Offline

#28 2023-11-09 23:25:59

dizzyman
Member
Registered: 2023-11-07
Posts: 27

Re: [SOLVED] Arch becomes really slow after short amount of time

Only mouse and keyboard are connected BTW. I have a NIC installed that connects through internal USB. Some cheap crap off Amazon, I'm pretty sure that's what the genesis one should be. Maybe that could be a problem?

Offline

#29 2023-11-10 08:19:04

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,065

Re: [SOLVED] Arch becomes really slow after short amount of time

The last one has issues:

183 runtime-bad-block-total     100   100     1   6           0x060000000000 old-age online  yes  yes 
187 reported-uncorrect           98    98     0   2 sectors   0x020000000000 old-age online  n/a  n/a 
188 command-timeout             100    99     0   2           0x020000000000 old-age online  n/a  n/a

The previous journal had

Nov 08 17:34:56 archlinux kernel: hid-generic 0003:0461:4E04.0002: input,hidraw1: USB HID v1.10 Keyboard [NOVATEK USB NETVISTA FULL WIDTH KEYBOARD] on usb-0000:02:00.0-9/input0
Nov 08 17:34:56 archlinux kernel: hid-generic 0003:0461:4E04.0003: input,hidraw2: USB HID v1.10 Device [NOVATEK USB NETVISTA FULL WIDTH KEYBOARD] on usb-0000:02:00.0-9/input1
Nov 08 17:34:56 archlinux kernel: hid-generic 0003:1532:0098.0004: input,hidraw3: USB HID v1.11 Mouse [Razer Razer DeathAdder Essential] on usb-0000:02:00.0-10/input0
Nov 08 17:34:56 archlinux kernel: hid-generic 0003:1532:0098.0005: input,hidraw4: USB HID v1.11 Keyboard [Razer Razer DeathAdder Essential] on usb-0000:02:00.0-10/input1
Nov 08 17:34:56 archlinux kernel: hid-generic 0003:1532:0098.0006: input,hidraw5: USB HID v1.11 Keyboard [Razer Razer DeathAdder Essential] on usb-0000:02:00.0-10/input2

The hub w/ the acting-up device is the "ID 05e3:0608 Genesys Logic, Inc. Hub", nothing seems attached there and your internal wifi(?) NIC doesn't show up in lsusb.
And you had network issues.
And your input devices are on the same root hub.

I'd certainly remove that thing and measure the impact.

Offline

#30 2023-11-10 10:29:59

dizzyman
Member
Registered: 2023-11-07
Posts: 27

Re: [SOLVED] Arch becomes really slow after short amount of time

I removed the Wifi card and HDD as well, but things remain the same.

Here is a new Xorg log:

http://0x0.st/HtDw.txt

I gave it quick glance and didn't see any USB failure. If you are going off the first log before I removed My normal keyboard and mouse, I also had a Push 2 connected to it, that might be the device that failed.

Offline

#31 2023-11-10 10:55:21

dizzyman
Member
Registered: 2023-11-07
Posts: 27

Re: [SOLVED] Arch becomes really slow after short amount of time

Boot time has definitely improved.

Offline

#32 2023-11-10 13:59:37

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,065

Re: [SOLVED] Arch becomes really slow after short amount of time

USB errors and boot delays would only show up in the journal, not the X11 log (that's for the display server only)
Is FF faster when you run it the second time into the boot?
Please post a system journal after starting FF twice.

Offline

#33 2023-11-10 14:19:13

dizzyman
Member
Registered: 2023-11-07
Posts: 27

Re: [SOLVED] Arch becomes really slow after short amount of time

It is a bit faster, but still stuuters around for the first 10 seconds.

http://0x0.st/HtkM.txt

Is that the right one? Its pretty big again.

Offline

#34 2023-11-10 17:47:38

dizzyman
Member
Registered: 2023-11-07
Posts: 27

Re: [SOLVED] Arch becomes really slow after short amount of time

Another discovery. CS2 starts up really slow, but once I'm in game it runs smooth no problems. Except when I hit tab. Screen frooze for a good 5 minutes.

Also: Opening GTK+ Demo from desktop now lags. When I run the Application Class it takes about 10 seconds to open.

Last edited by dizzyman (2023-11-10 17:52:13)

Offline

#35 2023-11-10 20:09:41

dizzyman
Member
Registered: 2023-11-07
Posts: 27

Re: [SOLVED] Arch becomes really slow after short amount of time

I have tried to replicate the problem installing arch on my HDD, but it doesn't happen there. So the SSD was the culprit. Do you maybe know if there are somethings I need to watch out for with SSDs? I have trimming enabled, but thats it.  It is a wd blue sa510 m.2 SSD. It wasn't acting up when windows was installed on it.

Offline

#36 2023-11-10 20:53:54

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,065

Re: [SOLVED] Arch becomes really slow after short amount of time

Offline

#37 2023-11-10 21:35:47

dizzyman
Member
Registered: 2023-11-07
Posts: 27

Re: [SOLVED] Arch becomes really slow after short amount of time

Periodic

Offline

#38 2023-11-11 08:33:58

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,065

Re: [SOLVED] Arch becomes really slow after short amount of time

You did run the disk performance test on that device though, did you?
M.2's specifically have a tendency for loose connections (if you assembled it yourself, the screw! too tight or to loose is a pot. problem),  or simply being broken - see eg. https://bbs.archlinux.org/viewtopic.php?id=278015 for some systemic issues.
Those would however typically show up in the journal…

Offline

#39 2023-11-11 16:09:33

dizzyman
Member
Registered: 2023-11-07
Posts: 27

Re: [SOLVED] Arch becomes really slow after short amount of time

Yes, I did. I was getting 400+ Read rate, same for write.

Just re-ran the test: 430 Read and 4,8 MB/s write...

Offline

#40 2023-11-11 16:23:22

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,065

Re: [SOLVED] Arch becomes really slow after short amount of time

Can you test it in a different system and/or from a different SW stack (live distro like eg. grml)?
(I guess we don't have to point out that the write performance is pisspoorpityabsymalish)

Offline

#41 2023-11-11 16:37:08

dizzyman
Member
Registered: 2023-11-07
Posts: 27

Re: [SOLVED] Arch becomes really slow after short amount of time

I tested it from the HDD where I installed Arch on. But I can flash a live USB real quick and check from there.

Offline

#42 2023-11-11 16:51:49

dizzyman
Member
Registered: 2023-11-07
Posts: 27

Re: [SOLVED] Arch becomes really slow after short amount of time

Ubuntu and Monjaro both show same potato speeds. I probably did a test while the issues were not present in arch. When the disk is running a fresh install it works like it should.

Offline

#43 2023-11-11 19:27:08

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,065

Re: [SOLVED] Arch becomes really slow after short amount of time

Is the disk very full?
Assuming you're no longer using it, you could wipe it and measure the performance of filling it to see whether it takes a hard dive at some point - and where.

Offline

#44 2023-11-11 22:07:49

dizzyman
Member
Registered: 2023-11-07
Posts: 27

Re: [SOLVED] Arch becomes really slow after short amount of time

No, it's only 30% full. Formating by overwriting the whole disk with 0s confirms dip in performance around the 30% mark.

Offline

#45 2023-11-11 22:19:55

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,065

Re: [SOLVED] Arch becomes really slow after short amount of time

  9 power-on-hours              100   100     0   12.8 days   0x340100000000 old-age online  n/a  n/a 
 12 power-cycle-count           100   100     0   556         0x2c0200000000 old-age online  n/a  n/a

Still good for RMA?

Offline

#46 2023-11-12 07:19:51

dizzyman
Member
Registered: 2023-11-07
Posts: 27

Re: [SOLVED] Arch becomes really slow after short amount of time

Bought it exactly a year ago. I have to try and find the receipt and see how long the warranty is.

Thanks for your help anyways.

Offline

#47 2023-11-12 08:18:53

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,065

Re: [SOLVED] Arch becomes really slow after short amount of time

If you can't rma it and want to somehow utilize it, it's still reading fine - https://wiki.archlinux.org/title/Improv … ads/writes

Offline

Board footer

Powered by FluxBB