Страница 1 из 1

ROSA very laggy after large files copying/moving

Добавлено: 13 авг 2021, 08:20
hung.nguyengia
It seems everything get cached in the memory and in order to do so existing processes must be paged to swap. After the files copying/moving was done existing processes must be moved back from swap to memory so this caused lagging. I tried other Linux, altLinux, to be clear, and it doesn't have such problem. Before or after copying/moving large files it's still have decent performance. The only way to make ROSA fast again is to be reboot.

ROSA very laggy after large files copying/moving

Добавлено: 13 авг 2021, 10:34
va9(2)
Try this command

Код: Выделить всё

sudo swapoff -a && sleep 3 && sudo swapon -a
instead of reboot

ROSA very laggy after large files copying/moving

Добавлено: 13 авг 2021, 17:05
hung.nguyengia
va9(2) писал(а): 13 авг 2021, 10:34 Try this command

Код: Выделить всё

sudo swapoff -a && sleep 3 && sudo swapon -a
instead of reboot
I want to solve this completely instead of a trick. It's very laggy so even move your mouse is too lag let alone launching a new terminal emulator to run this command. The only thing I could do is a reboot (also via the graphical interface). Does this something to do with the swapiness value on ROSA? Could you post your result of cat /proc/sys/vm/swappiness here? I want to compare it with myself.

ROSA very laggy after large files copying/moving

Добавлено: 13 авг 2021, 17:31
va9(2)
kernel bug 12309?

Код: Выделить всё

cat /proc/sys/vm/swappiness
25

ROSA very laggy after large files copying/moving

Добавлено: 13 авг 2021, 20:30
hung.nguyengia
va9(2) писал(а): 13 авг 2021, 17:31 kernel bug 12309?

Код: Выделить всё

cat /proc/sys/vm/swappiness
25
Don't know about this bug. But this value of swappiness is not right. It should be set to 60. Why the number 25 was chosen from the beginning? Is there any reasons behind it or it's just poor default?

ROSA very laggy after large files copying/moving

Добавлено: 14 авг 2021, 09:06
va9(2)
I have enough RAM so I set 25.

ROSA very laggy after large files copying/moving

Добавлено: 14 авг 2021, 18:42
hung.nguyengia
va9(2) писал(а): 14 авг 2021, 09:06 I have enough RAM so I set 25.
So it's not the default value? I want to know the default value. If it's already 60 then it must be some bug in the kernel itself. But it seems not worth to investigate any further. I will wait for the new release of ROSA.

ROSA very laggy after large files copying/moving

Добавлено: 15 авг 2021, 08:40
va9(2)
The default value is 60.