• 1 Post
  • 16 Comments
Joined 1 year ago
cake
Cake day: June 30th, 2023

help-circle







  • Thief@lemmy.myserv.onetoLinux@lemmy.mlZRAM is insane
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    10 months ago

    Has anyone ever actually benchmarked vm.page-cluster = 0? Makes no sense to me to suggest a cpu is so bottlenecked that disabling read-ahead would actually help. If anything it would mitigate the decompression time if it guessed correctly as the work would already be done if left at the default of 3. Normally cpu is not bound when using zram because its quite low cpu anyway.





  • You font make any communities and clear the database of cached content thats no longer needed after reasonable amount of time (as its hosted on the other instances the data came from) eg: PGPASSWORD=password psql --dbname=database --username=username --command=“DELETE FROM activity WHERE published < NOW() - INTERVAL ‘7 days’;”

    Does stop top month or top year since you dont have data going that far back. Obviously if you keep it then you need more disk space, memory and so on and so on.