Re: [GTALUG] War Story: adding RAM to a laptop can increase the speed

2024-02-21 Thread William Witteman via talk
On Wed, 21 Feb 2024 at 07:24, William Park via talk  wrote:

>
> On 2024-02-19 20:32, mwilson--- via talk wrote:
> > My main desktop is a Raspberry Pi 4B+ with 8GiB.
>  > ...
>
> I don't believe you.  What do you use for main disk?  I tried doing this
> with Odroid (top of the line in this embedded space), but got fed up
> with all the hassles.
>

Please don't do this. This list survives because people willingly read it -
publically doubting other people, who you have no idea about, makes this
list much less useful or welcoming.

Other people, faced with the same trade-offs that any of us face, will make
different choices.

If you want to know about how and why someone uses a Raspberry Pi for a
desktop, ask a question - ask 6! But, please, consider that you are
broadcasting your judgement to a whole list, and that other people may take
that as hostile and simply go somewhere else.

"Be curious, not judgemental."

Thanks.
---
Post to this mailing list talk@gtalug.org
Unsubscribe from this mailing list https://gtalug.org/mailman/listinfo/talk


Re: [GTALUG] War Story: adding RAM to a laptop can increase the speed

2024-02-21 Thread Mauro Souza via talk
On the swap usage:

There's a parameter (swappiness, on /proc/sys/vm/swappiness or vm.swappiness
on /etc/sysctl.conf) that tells the kernel how aggressively to swap. A
value of 100 will swap as much as possible until the swap file is full,
while 0 will never ever swap, even if there's space and OOP killer started
gunning processes down because of lack of memory. That changed some kernel
versions ago, before the change a 0 would only swap when memory was
exhausted, and now a 0 means never ever swap no matter what. I was left
trying to figure out why OOP was killing processes when the swap file was
empty.

On virtual servers I usually keep swappiness at 1, so it won't swap unless
there's real need, and on desktops I keep at 85 to free up memory for the
file cache. On a RasPi with sdcard storage, I would keep it close to 10,
because it's better on the SD to read than to write...

Mauro
https://www.maurosouza.com - registered Linux User: 294521
Scripture is both history, and a love letter from God.


On Wed, Feb 21, 2024 at 9:24 AM William Park via talk 
wrote:

>
> On 2024-02-19 20:32, mwilson--- via talk wrote:
> > My main desktop is a Raspberry Pi 4B+ with 8GiB.
>  > ...
>
> I don't believe you.  What do you use for main disk?  I tried doing this
> with Odroid (top of the line in this embedded space), but got fed up
> with all the hassles.
>
> ---
> Post to this mailing list talk@gtalug.org
> Unsubscribe from this mailing list
> https://gtalug.org/mailman/listinfo/talk
>
---
Post to this mailing list talk@gtalug.org
Unsubscribe from this mailing list https://gtalug.org/mailman/listinfo/talk