1 |
Michael wrote: |
2 |
> On Saturday, 2 May 2020 09:53:06 BST Dale wrote: |
3 |
>> Wols Lists wrote: |
4 |
>>> On 01/05/20 21:29, Dale wrote: |
5 |
>>>> It gets really slow to respond when it uses swap but it beats crashing. |
6 |
>>>> Just set swapiness to a low number. I think mine is set to 10. |
7 |
>>>> |
8 |
>>>> Given the cheapness of hard drives, I'm not sure why having several |
9 |
>>>> gigabytes of swap space is of much concern. I have the same amount of |
10 |
>>>> ram as you and I have a 12GB swap space. I use LVM so I can grow it if |
11 |
>>>> needed or just add another swap space. I might add, I've seen times |
12 |
>>>> where it gets used. |
13 |
>>> That first paragraph is why too much swap space is bad - if an app goes |
14 |
>>> rogue it can kill system response and make regaining control of the |
15 |
>>> system a nightmare. |
16 |
>>> |
17 |
>>> Accidentally or on purpose, if a system runs out of ram and starts |
18 |
>>> thrashing, you're in big trouble if it's an app eating memory like no |
19 |
>>> tomorrow. |
20 |
>>> |
21 |
>>> Cheers, |
22 |
>>> Wol |
23 |
>>> |
24 |
>>> . |
25 |
>> That's why I set swapiness to a low number. I don't want it to use swap |
26 |
>> unless it is to prevent a crash. If I set it to a higher number, it |
27 |
>> wants to use swap even when there is memory available. Once it starts |
28 |
>> using swap, it gets slow. The more it uses, the worse it gets. |
29 |
>> However, it beats it rebooting without umounting partitions and such. |
30 |
>> If nothing else, it may give me time to use the alt-sys sequence. |
31 |
>> |
32 |
>> I'm maxed out on memory at the moment but wish I could get and afford |
33 |
>> 64GBs, in a way. Still, I'd have a swap partition. |
34 |
>> |
35 |
>> Dale |
36 |
>> |
37 |
>> :-) :-) |
38 |
> I'd be interested to know as a comparison if Nikos' and Dale's I/O |
39 |
> unresponsiveness in swapping sees an improvement with the I/O scheduler for |
40 |
> spinning drives set to bfq; e.g.: |
41 |
> |
42 |
> echo bfq > /sys/block/sda/queue/scheduler |
43 |
|
44 |
This is its setting at the moment. |
45 |
|
46 |
|
47 |
root@fireball / # cat /sys/block/sda/queue/scheduler |
48 |
noop deadline [cfq] |
49 |
root@fireball / # |
50 |
|
51 |
|
52 |
I know I can echo it in but where do I set that to that when booting? |
53 |
Same as swappiness?? I'm willing to set it and see what it does next |
54 |
time swap pops into gear. Given it is me, it may not be to long. LOL |
55 |
I have to say, while sddm-helper is still absorbing to much memory, it |
56 |
is holding steady at around 1GB or 3.3%. It's nowhere near enough to |
57 |
test this theory, yet. :/ |
58 |
|
59 |
Dale |
60 |
|
61 |
:-) :-) |