Or is it only me?

    • sorter_plainview@lemmy.today
      link
      fedilink
      arrow-up
      36
      ·
      22 days ago

      All four cores at 100%? We don’t see that kind of spike when we open some other application right? Is it the experience of everyone? Or am I wrong in this?

      • rtxn@lemmy.worldM
        link
        fedilink
        arrow-up
        65
        ·
        22 days ago

        That first data point is simply invalid. Ignore it. Monitoring software usually report some kind of statistic (mean, median, min/max, etc) taken from measurements over a period of time instead of the instantaneous value when the report is updated. But they can’t do that for the first data point when the application is launched because there’s no time period over which to measure it.

        • betterdeadthanreddit@lemmy.world
          link
          fedilink
          English
          arrow-up
          14
          ·
          22 days ago

          It’s like when the boss walks in so everybody becomes visibly busy. Never want to look like you could be the couple pennies shaved off the budget when management bonus calculation time comes around.

      • fuckwit_mcbumcrumble@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        7
        ·
        22 days ago

        Absolutely. That’s why race to idle is a thing. As soon as the CPU is fed cycles it races to complete the task as quickly as possible. When the program first launches and starts monitoring the only thing it knows is that it was just doing something. It hasn’t had a change to not do something. It’s now completed its race and now it’s able to relax for a second and idle.

      • JackbyDev@programming.dev
        link
        fedilink
        English
        arrow-up
        1
        ·
        21 days ago

        I mean, maybe. Imagine averaging the usage over a single instruction cycle. Whatever ran that instruction is using 100% of the processor for that time period.

  • Delilah (She/Her)
    link
    fedilink
    English
    arrow-up
    48
    ·
    22 days ago

    TOP averages out readings from the last few seconds. If there aren’t enough samples the displayed values can be… off

  • Lyra_Lycan
    link
    fedilink
    English
    arrow-up
    35
    ·
    edit-2
    22 days ago

    Same happens opening Windows Task Manager, my older server rig used to lock up frequently, stalling programs like Home Assistant, and the only thing I had to do to fix it was remote in and open Task Manager. CPU usage dropped to between 70% and 30%.

    This, incidentally, was why I was convinced I needed better hardware for a dedicated Proxmox rig. I was very wrong. With Windows, I can barely run three services (HA, AgentDVR, Emby) alongside their stupid NTFS scan and antivirus. With Proxmox I can run 20 services with no issue. CPU is usually 60%-70% with everything.

    • the_crotch@sh.itjust.works
      link
      fedilink
      arrow-up
      4
      ·
      22 days ago

      I’m running like 18 machines inside of hyper-v and don’t have that problem. Were you using a consumer version of windows or something?

      • Lyra_Lycan
        link
        fedilink
        English
        arrow-up
        2
        ·
        21 days ago

        Yes aha, Windows 10 Home, 22H2 update. Only Windows OS I owned and this was before I tried Linux

        • the_crotch@sh.itjust.works
          link
          fedilink
          arrow-up
          1
          ·
          21 days ago

          Yeah that explains it lol. Fwiw, if you ever want to try windows as a hypervisor again, server editions can run for 180 days on a trial license and you can buy legit product keys from dodgy resellers online for like $10. I’d go that route for running any kind of real services.

            • the_crotch@sh.itjust.works
              link
              fedilink
              arrow-up
              2
              ·
              20 days ago

              They’re MSDN keys, so they’re valid and never stop working. That’s worth $10 to me. It’s not illegal for me to buy them. It’s illegal for the Polish dude to sell them.

  • a14o@feddit.org
    link
    fedilink
    arrow-up
    5
    ·
    22 days ago

    Same, but if you haven’t aliased top to btm --battery you’re not really living

    • Radioactive Butthole@reddthat.com
      link
      fedilink
      English
      arrow-up
      17
      ·
      edit-2
      22 days ago

      No but sometimes you’re in a terminal anyway and its trivial to pop open a new tab and run an arbitrary command. It isn’t that we hate GUI; TUI/CLI is just objectively faster for a lot of things.

    • slacktoid@lemmy.ml
      link
      fedilink
      English
      arrow-up
      7
      ·
      22 days ago

      No, but I don’t see the value in using the GUI for something that can be gotten with less complexity and overhead.