drk001
Posts: 7
Joined: Fri Nov 30, 2018 2:43 pm

[SOLVED] Problem with new SSD, system freezes.

Fri Nov 30, 2018 3:08 pm

Hi.
I've mounted a new SSD. I noticed that from time to time the system or e.g. firefox stops responding for about 15 seconds, it doesn't respond, the hard disk diode lights up all the time. After that time everything returns to normal. I use Solus from Budgie. On windows I don't have such problems. I would be grateful for your help.
Greetings

User avatar
Lorien
Posts: 96
Joined: Wed May 03, 2017 2:05 am

Re: Problem with new SSD, system freezes.

Fri Nov 30, 2018 6:14 pm

Does it make any difference if you disable "Hardware Acceleration" ?

You find it under "Preferences" > "General" > "Performance"
Untick "Use Recommended Settings"
Then untick "Use Hardware Acceleration When Available"
Restart Firefox and see if it solves your issue.

Is the issue the same if you disable your addons ?

drk001
Posts: 7
Joined: Fri Nov 30, 2018 2:43 pm

Re: Problem with new SSD, system freezes.

Fri Nov 30, 2018 7:27 pm

Thank you. After changing Firefox settings, all problems disappeared.

Update:
However, my problem didn't disappeared after changing firefox settings. The real problem was configuration of swappiness parameter, which I changed to 10 and now I have no problems.

User avatar
Lorien
Posts: 96
Joined: Wed May 03, 2017 2:05 am

Re: Problem with new SSD, system freezes.

Sat Dec 01, 2018 8:59 pm

Glad to hear that you solved the issue.

Checked the "swappiness" settings on my Solus Budgie 3.9999 installation, it was 10 by default and i have never changed it. Find it strange that your default setting would be different from mine...

But as long as the issue is solved for you, that 's good.

drk001
Posts: 7
Joined: Fri Nov 30, 2018 2:43 pm

Re: Problem with new SSD, system freezes.

Sun Feb 10, 2019 11:30 am

Hi everyone. I am coming back with the same problem. It is still unresolved. I installed the solus again next to Windows. At the beginning there were two partitions (swap and filesystem). Solus started to freeze again (the disk's LED lights non-stop for a few seconds, the system does not react to the mouse). Obecnie dysk posiada jakieś nieznane unnalocated space. This is not the fault of firefox and swappines. I also had such problems on Antergos linux (intensive disk work and suspension systems for a few seconds). There were no such problems on the Mint linux. I also have installed Solus linux on an old HDD drive next to Windows and there are no such problems with the disk. The current SSD drive is healthy, fully functional, windows works OK and diagnostic programs say it is healthy. I will be grateful for help and ideas on how to solve it.

Disk /dev/ram0: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram1: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram2: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram3: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram4: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram5: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram6: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram7: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram8: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram9: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram10: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram11: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram12: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram13: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram14: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram15: 64 MiB, 67108864 bytes, 131072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/sda: 111,8 GiB, 120034123776 bytes, 234441648 sectors
Disk model: CT120BX300SSD1
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x275bfab7

Device Boot Start End Sectors Size Id Type
/dev/sda1 2048 127013765 127011718 60,6G 7 HPFS/NTFS/exFAT
/dev/sda2 127025955 134833544 7807590 3,7G 82 Linux swap / Solaris
/dev/sda3 * 134833545 234436544 99603000 47,5G 83 Linux

Partition 2 does not start on physical sector boundary.
Partition 3 does not start on physical sector boundary.

User avatar
sol2maz
Posts: 12
Joined: Sat Oct 06, 2018 8:16 pm

Re: [SOLVED] Problem with new SSD, system freezes.

Sun Feb 10, 2019 5:53 pm

I as well experienced such "lockups" with different distros. Turns out it was the continuous trim option being activated (via the "discard" option in fstab).

Switched to periodic trim and it was alright (remove "discard" option in fstab and "sudo systemctl enable fstrim.timer" instead).

Further info can be found here:
https://wiki.archlinux.org/index.php/So ... drive#TRIM

drk001
Posts: 7
Joined: Fri Nov 30, 2018 2:43 pm

Re: [SOLVED] Problem with new SSD, system freezes.

Sun Feb 10, 2019 6:56 pm

I used:

sudo systemctl enable fstrim.timer

Then:

sudo systemctl status fstrim.timer

I received it:

● fstrim.timer - Discard unused blocks once a week
Loaded: loaded (/usr/lib/systemd/system/fstrim.timer; enabled; vendor preset>
Active: active (waiting) since Sun 2019-02-10 15:15:59 CET; 3h 32min ago
Trigger: Mon 2019-02-11 00:00:00 CET; 5h 11min left
Docs: man:fstrim

lut 10 15:15:59 drk001 systemd[1]: Started Discard unused blocks once a week.
lines 1-7/7 (END)

I have no "discard" entry in /etc/fstab directory

Did I do it well?

User avatar
sol2maz
Posts: 12
Joined: Sat Oct 06, 2018 8:16 pm

Re: [SOLVED] Problem with new SSD, system freezes.

Mon Feb 11, 2019 6:35 pm

Well, if there is no "discard" option in your /etc/fstab file, then that is not the problem. Enabling the fstrim.timer for periodic trim is alright nevertheless.

But the issue for the freezes must be something else then, i'm afraid :cry:

Maybe check logs for some hints

Code: Select all

dmesg
,

Code: Select all

journalctl -xb

drk001
Posts: 7
Joined: Fri Nov 30, 2018 2:43 pm

Re: [SOLVED] Problem with new SSD, system freezes.

Tue Feb 12, 2019 7:35 am

Unfortunately, the problems were still there. I had to remove Linux from the disk. Problem not solved.

Return to “Hardware”