Battery vs Performance

By: Doug S (foo.delete@this.bar.bar), September 13, 2021 9:53 pm
Room: Moderated Discussions
David Hess (davidwhess.delete@this.gmail.com) on September 13, 2021 3:28 pm wrote:
> Doug S (foo.delete@this.bar.bar) on September 13, 2021 3:05 pm wrote:
> >
> > Allowing apps to determine where their threads should run would be like turning back the
> > clock to the cooperative multitasking days. You have to rely on all apps being "good citizens"
> > which is simply not realistic. Even if you 'reviewing' apps manually like Apple you can't
> > possible test all the corner cases, and do a full re-test for every update.
>
> In my post, I almost made the comparison with cooperative multitasking
> but thought it might be a little too much. :)
>
> The hard real time operating systems that I am familiar with only
> manage it with considerable input from the application developer.


In some ways this problem is sort of like that faced by hard real time systems, and the solution is probably similar. A deadline scheduler that allows the application to say "I need this done by time X" where X might be before the next screen refresh or before the arrival of the next data block from storage could let the application communicate what it needs and allow the OS to determine the best way to make that happen.

You still have the same problem, if an app always says "I need this done ASAP" for everything, but that's less likely since the app will have things dependent on human response time, on something coming from the internet, etc. There's nothing to be gained by requesting minimum latency, so long as you trust the scheduler to meet the deadline.

The nice thing is that unlike a hard realtime system a smartphone's deadline scheduler wouldn't need to ALWAYS get it right. If fails to meet the deadline once in every 10,000 times it isn't going to be a big deal. Maybe you see a slight screen tear in a game once every few hours, that's acceptable for a smartphone unlike say an automotive ECU or the system that operates the control surfaces of a modern aerodynamically unstable fighter jet.
< Previous Post in ThreadNext Post in Thread >
TopicPosted ByDate
alder lake.inteluser2021/09/10 02:52 AM
  alder lake.Andrei F2021/09/10 10:31 AM
    alder lake.Andrey2021/09/10 10:38 AM
      alder lake.rwessel2021/09/10 12:18 PM
      alder lake.Andrei F2021/09/10 01:49 PM
        alder lake.Andrey2021/09/10 05:12 PM
          alder lake.David Hess2021/09/10 08:39 PM
            alder lake.Andrey2021/09/11 01:28 AM
        alder lake.---2021/09/10 06:24 PM
          alder lake.Andrei F2021/09/12 02:09 AM
            DVFSDavid Kanter2021/09/12 10:58 PM
              DVFSAndrei F2021/09/13 02:02 AM
                DVFSAnon2021/09/13 04:28 AM
                DVFSJukka Larja2021/09/13 06:35 AM
                  DVFSAndrei F2021/09/14 01:07 AM
                    DVFSJukka Larja2021/09/14 05:11 AM
                      DVFSAndrei F2021/09/14 08:55 AM
                        DVFSJukka Larja2021/09/14 11:23 AM
                DVFS---2021/09/13 11:19 AM
                  DVFSDoug S2021/09/13 11:57 AM
                    DVFSDavid Hess2021/09/13 12:32 PM
                    DVFS---2021/09/13 02:06 PM
                      DVFSDavid Hess2021/09/13 03:21 PM
                    DVFSDavid Kanter2021/09/15 04:05 PM
                  DVFSDavid Hess2021/09/13 12:46 PM
                  DVFSJukka Larja2021/09/14 05:35 AM
                Quick shutdown?David Kanter2021/09/15 11:46 AM
                  Quick shutdown?Andrei F2021/09/16 08:12 AM
                    Quick shutdown?David Kanter2021/09/16 12:04 PM
                      Quick shutdown?Andrei F2021/09/17 02:35 AM
                        Quick shutdown?Andrei F2021/09/17 02:38 AM
            and weren't 'they' right?Daniel B2021/09/13 05:20 AM
              and weren't 'they' right?Andrei F2021/09/13 05:51 AM
                and weren't 'they' right?Daniel B2021/09/13 07:29 AM
              and weren't 'they' right?anon2021/09/13 06:07 AM
                and weren't 'they' right?Jukka Larja2021/09/13 06:26 AM
                  and weren't 'they' right?anon2021/09/14 12:37 AM
              Alder Lake has no little coresHeikki Kultala2021/09/13 07:33 AM
                Alder Lake has no little coresMichael S2021/09/13 08:33 AM
                  Alder Lake has no little coresme2021/09/13 11:45 AM
                  Alder Lake has no little coresHeikki Kultala2021/09/13 02:49 PM
                    Alder Lake has no little coresanon2021/09/14 12:42 AM
                why stop at two core sizes?hobold2021/09/14 06:47 AM
                  Memory caches did this, right?Mark Roulo2021/09/14 03:51 PM
                    Memory caches did this, right?Brett2021/09/14 08:17 PM
                      Memory caches did this, right?Kevin G2021/09/16 04:10 PM
                  Large reorder buffers (L1+L2)2021/09/15 12:24 PM
                    Large reorder buffers (L1+L2)hobold2021/09/15 01:06 PM
                Alder Lake has no little coresAdrian2021/09/14 09:33 AM
              and weren't 'they' right?David Hess2021/09/13 01:00 PM
                Battery vs PerformanceMark Roulo2021/09/13 01:18 PM
                  Battery vs PerformanceDoug S2021/09/13 03:05 PM
                    Battery vs PerformanceDavid Hess2021/09/13 03:28 PM
                      Battery vs Performance---2021/09/13 06:08 PM
                      Battery vs Performance---2021/09/13 06:08 PM
                      Battery vs PerformanceDoug S2021/09/13 09:53 PM
                    Battery vs PerformanceAnon2021/09/14 07:42 AM
                and weren't 'they' right?Daniel B2021/09/13 01:57 PM
                  and weren't 'they' right?David Hess2021/09/13 03:11 PM
                    and weren't 'they' right?---2021/09/13 03:38 PM
                  and weren't 'they' right?---2021/09/13 03:32 PM
                and weren't 'they' right?Brendan2021/09/14 04:30 AM
                  and weren't 'they' right?Jukka Larja2021/09/14 05:31 AM
              and weren't 'they' right?Etienne Lorrain2021/09/14 01:29 AM
Reply to this Topic
Name:
Email:
Topic:
Body: No Text
How do you spell tangerine? 🍊