Or is it only me?

  • sorter_plainview@lemmy.today
    link
    fedilink
    arrow-up
    38
    arrow-down
    1
    ·
    16 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
      70
      ·
      16 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
        ·
        16 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
      ·
      16 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.

    • Jerkface (any/all)@lemmy.ca
      link
      fedilink
      English
      arrow-up
      3
      ·
      16 days ago

      It’s going to be an artifact of the data collection method. The sample size is extremely small and taken during the period where top has never stopped running.

    • JackbyDev@programming.dev
      link
      fedilink
      English
      arrow-up
      2
      ·
      15 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.