• 8 Posts
  • 202 Comments
Joined 1 year ago
cake
Cake day: January 28th, 2025

help-circle

  • You actually WANT to be with low free memory. Provided that most of it is used by cache.

    Free memory is a waste, when you could cache stuff for faster access.

    That’s how Linux memory management works, and it make sense if you relflect on it. Better cache that page or that file that is used often, since free memory is just wasted. Cache can be freed and memory reclaimed in a fraction of a millisecond when needed.

    So don’t bother too much. Unless your SWAP usage is high, don’t bother.

    Also consider that Linux kernel will use your swap a bit even if you have lots of cache, because the kernel knows better than you how to improve your performances. Swapping out never used stuff is better than killing cached items.

    Again, don’t oberthink memory on Linux, the best alarm is when swap is constantly happening, then yes you need more ram (or to kill that broken process that keeps hogging due to a bug)


  • My recent experience regarding questions on documentation:

    • dovecot: shitty useless responses, totally made up
    • Gentoo linux: to be checked twice and mostly wrong or fake
    • godot: accurate and correct almost always, maybe examples not always 100% correct
    • C++ standard 17: correct, never had a wrong reply from llm, also the exact ples where on point and correct

    I think that’s all what I have used it for in the last six months.

    Note: I used only Google search AI llm, nothing else.

    So it seems that depends on what you ask.



  • While you are correct, as all tools AI is not bad per se.

    If you use ai to replace more lengthy documentation searches and write your own code that works out pretty well and speed up your work without degrading your coding. Granted, I got plainly incorrect answers as well, but at least I managed to be much more efficient.

    Treat LLMs/ai as a glorified documentation aggregator and that’s how you correctly use that tool.

    Like, use a knife to cut and cook meat, not to cut another person body, and that’s how you correctly use that tool too.


  • I run a setup very similar for many years. Upgraded progressively from 2x120GB to 4x4Tb, from mechanicals to sdds.

    I can say don’t cheap out on the usb enclosures, the more you pay the better it is. I purchased a 4 bay JBOD usb3 box with a fan (150€+ nowadays) and that is the only enclosure that really worked out and still works (but retired) today. All single disk enclosures will fail sooner or later depending on how cheap they are, just take that onto consideration.

    The setup itself is pretty good and stable, I would suggest standard Linux MDRaid 1, and on top of that something simple like ext4. I wouldn’t put anything that adds to the disk workloads like zfs, but maybe I am wrong.

    Speed wise, I was able to stream movies without any hiccups, and that’s plenty I think.

    Do not cheap out on the enclosures. Cheap ones will last 1 month, I don’t kid you.

    And keep them cool… Fan… Air circulation… USB controllers will be killed faster than mechanical disks by heat. And 24/7 will generate heat… Those enclosures are not built for that…

    Again, it’s pretty doable and I did it for almost 2 decades. DONT BE CHEAP ON ENCLOSURES (did I say so already?) And you should be fine.















  • Shimitar@downonthestreet.eutoSelfhosted@lemmy.worldBackups of Backups
    link
    fedilink
    English
    arrow-up
    3
    arrow-down
    1
    ·
    2 months ago

    I follow the good 9pd 3 2 2 rule. Three backups, in two locations, one is remote.

    First copy on an external hard drive that gets mounted only for that, then unmounted.

    Second copy still at home, on a disk connected to an OpenWRT access point in the patio.

    Third copy on my VPS, so remote.

    Each night restic take care of all that.