agilob

  • 142 Posts
  • 92 Comments
Joined 1 year ago
cake
Cake day: July 12th, 2023

help-circle














  • agilobtoLinuxIs there a way to keep Linux responsive when at ~100% CPU usage?
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    1
    ·
    edit-2
    5 months ago

    The Linux kernel uses the CPU default scheduler, CFS,

    Linux 6.6 (which recently landed on Debian) changed the scheduled to EEVDF, which is pretty widely criticized for poor tuning. 100% busy which means the scheduler is doing good job. If the CPU was idle and compilation was slow, than we would look into task scheduling and scheduling of blocking operations.


  • agilobtoLinuxIs there a way to keep Linux responsive when at ~100% CPU usage?
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    edit-2
    5 months ago

    EDIT: Tried nice -n +19, still lags my other programs.

    yea, this is wrong way of doing things. You should have better results with CPU-pinning. Increasing priority for YOUR threads that interact all the time with disk io, memory caches and display IO is the wrong end of the stick. You still need to display compilation progress, warnings, access IO.

    There’s no way of knowing why your system is so slow without profiling it first. Taking any advice from here or elsewhere without telling us first what your machine is doing is missing the point. You need to find out what the problem is and report it at the source.






  • agilobtoLinuxLinux user survey!
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    2
    ·
    5 months ago

    Yeah this survey is super inappropriate and offensive. Please do not ask such personal questions.

    Did you notice that more inappropriate questions appear and disappear based on your previous answers?












  • agilobtoKubernetesA Peek at Kubernetes v1.30
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    8 months ago

    I completely missed that user namespaces were added in 1.25. It will make homelabs much easier and safer with little effort.

    Support user namespaces in pods (KEP-127)
    User namespaces is a Linux-only feature that better isolates pods to prevent or mitigate several CVEs rated high/critical, including CVE-2024-21626, published in January 2024. In Kubernetes 1.30, support for user namespaces is migrating to beta and now supports pods with and without volumes, custom UID/GID ranges, and more!

    https://kubernetes.io/docs/concepts/workloads/pods/user-namespaces/


  • agilobtoProgramming*Permanently Deleted*
    link
    fedilink
    English
    arrow-up
    2
    ·
    8 months ago

    Just not in Java…

    I think you’re biased against Java. Amazon was started in C/C++ and Java J2EE during times when to configure a webserver required writing like 300 lines of XML just to handle cookies, browser cache and a login page. Until recently BMW had their own JRE implementation. It’s not a secret that simcards, including these in Tesla cars run JavaCard too, even government issues sim cards in EU have to run Java Card, not C++. Everything was always fine with Java until ECMA Script appeared and made people iterate on software versions faster. New programming languages and team organisation methodologies left some programming languages in the dark, but this included C# too. All are quickly catching up. If Java was so bad, it wouldn’t be here with us today, like Perl.


  • agilobtoProgramming*Permanently Deleted*
    link
    fedilink
    English
    arrow-up
    5
    ·
    edit-2
    8 months ago

    There are two schools:

    1. the best stack is the one you know best
    2. the best stack is the one designed for the job

    Remember that Google was written in Python and Java. Facebook in PHP. iOS in Objective-C. GitHub in Ruby on Rails.




  • agilobtoProgrammingWillow Protocol
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 months ago

    So while I’m myself struggling to fully understand what this is, it conceptually like it’s a blockchain on syncthing, where even if you subscribe to a read only share, you can locally delete what you don’t want to keep. So technically you could make bitorrent to behave like syncthing with search function for contacts you already know.





Moderates