RELEASE sys-clk under/overclocking sysmodule

Discussion in 'Switch - Emulation, Homebrew & Software Projects' started by m4xw, Feb 14, 2019.

  1. UnT7oh

    UnT7oh Member

    Newcomer
    1
    Mar 18, 2017
    United States
    Incorrect, test again and check the timings carefully.
     
  2. ZachyCatGames

    ZachyCatGames GBAtemp Addict

    Member
    9
    Jun 19, 2018
    United States
    Hell
    I have, several times. You must be using an old version or something.
     
  3. UnT7oh

    UnT7oh Member

    Newcomer
    1
    Mar 18, 2017
    United States
    I'm using the latest version. I'm afraid you've misinterpreted the log or didn't have a custom profile in place when testing. sys-clk custom profiles override boost mode immediately, it doesn't have any allowances in place for boost mode.

    Why do you think the other tool I linked added a feature to pause sys-clk for boost mode?
     
  4. Instandhaltung

    Instandhaltung I feel the cosmos

    Member
    7
    Aug 4, 2016
    Germany
    A mystery! Curious what is in fact true :) Maybe someone who worked on sysclk might know what is going on
     
  5. UnT7oh

    UnT7oh Member

    Newcomer
    1
    Mar 18, 2017
    United States
    It's really not a mystery, it's already known that sys-clk custom profile values override boost mode but I'll go ahead and prove it anyway so people don't get bad information. The most likely explanation is that he tested a custom profile that only consisted of CPU OR GPU and misinterpreted the fact that sys-clk was only changing one of values as sys-clk working with boost mode. Both of the following examples were from a log produced from the latest version of sys-clk: 0.13.0

    Here is an example of Link's Awakening with a CPU and GPU overclock of 1581MHz and 844MHz. First of all we see our custom profile applied, then we see boost mode: 1785/76.8, within a split second of boost mode starting sys-clk reapplies 1581/844. When boost mode ends 4 seconds later the default clock of 1020/768 is applied and again within a split second sys-clk reapplies our profile of 1581/844.

    Warning: Spoilers inside!

    Here is an example with only a GPU overclock of 844MHz, this is probably where he got confused. First of all we see our custom profile which is GPU only at 844MHz, then we see boost mode: 1785/76.8, within a split second sys-clk reapplies 844 GPU but the CPU is not changed because we don't have it in our profile. Boost mode ends 4 second later and the default clock of 1020/768 is applied and again within a split second sys-clk reapplies our profile of 844 GPU.

    Warning: Spoilers inside!
     
    Last edited by UnT7oh, Nov 6, 2019
    uyjulian, sorabora, jelbo and 2 others like this.
  6. Instandhaltung

    Instandhaltung I feel the cosmos

    Member
    7
    Aug 4, 2016
    Germany

    Thanks, very insightful.
     
  7. p-sam

    p-sam Advanced Member

    Newcomer
    4
    Feb 3, 2019
    France
    Wow yea, sys-clk never had any special treatment for boost mode, for the simple reason I never deemed worth to break the underclock use case (since then you UP the CPU if boost mode). The short period of time boost mode is active makes it next to pointless, because of how close you usually are to the actual boost mode cpu freq (if you have OC profiles like all you mad lads do). Even if, let's say you only increased to 1224Mhz, with the sys-clk loop polling and the time where it's actually applied, it would appear to be a far fetched hacked-in treatment with low rewards.
     
  8. silver95

    silver95 Member

    Newcomer
    2
    Mar 15, 2019
    Argentina
    Ciudad Autónoma de Buenos Aire
    Hi. Boku no hero and mortal kombat. Sys-clk please
     
  9. Amost

    Amost Advanced Member

    Newcomer
    5
    May 2, 2015
    Italy
    Did anyone try with Pokemon already? Do you notice any improvements?
     
  10. Csmrcc

    Csmrcc GBAtemp Fan

    Member
    5
    Sep 13, 2018
    Spain
    yes, forest areas are better now
     
  11. sorabora

    sorabora GBAtemp Regular

    Member
    5
    Dec 8, 2016
    United States
    Which clocks? thanks!
     
  12. Csmrcc

    Csmrcc GBAtemp Fan

    Member
    5
    Sep 13, 2018
    Spain
    I played it like 5 months ago, so I don't remember sry
     
    Last edited by Csmrcc, Nov 11, 2019
  13. Amost

    Amost Advanced Member

    Newcomer
    5
    May 2, 2015
    Italy
    Sorry, I meant Pokemon Sword
     
  14. Csmrcc

    Csmrcc GBAtemp Fan

    Member
    5
    Sep 13, 2018
    Spain
    that one idk
     
  15. SaucePlatinum

    SaucePlatinum Newbie

    Newcomer
    1
    Jul 25, 2019
    United States
    anyone know any good overclocking homebrew apps
     
  16. Puremin0rez

    Puremin0rez Member

    Newcomer
    2
    Apr 1, 2019
    United States
    Chicago, IL, US
    I just got done playing Pokemon Sword with max clocks (CPU, GPU, MEM) docked the entire time using the official Nintendo charger.

    When I started, my battery was at 100%. 9 hours later, my battery was down to 87%. Is this normal behavior? I'm worried that I'm straining my battery or system pretty hard that it can't even grab enough power.
     
  17. Username4321

    Username4321 Advanced Member

    Newcomer
    5
    Jun 10, 2018
    Brazil
    I'm more concerned about your eyes than your Nintendo Switch's battery.
     
    hippy dave and Csmrcc like this.
  18. Rahkeesh

    Rahkeesh GBAtemp Maniac

    Member
    7
    Apr 3, 2018
    United States
    It dropped only 20% after 9 hours so that isn't really significant battery strain compared to normal handheld operation. At least as I understand it. Its just that the dock can't deliver enough power on its own to support max clocks, so it has to pull from the battery as well.

    If you got everything fully overclocked then of course its running at higher temps than normal. Up to you how much of a concern that is, but I would probably back down the CPU to the point where you see an actual difference, as the GPU seems to be better at idling when not needed.
     
  19. UnT7oh

    UnT7oh Member

    Newcomer
    1
    Mar 18, 2017
    United States
    Are you really breaking underclock? GPU is the biggest power draw and it's throttled to minimum during boost mode as you know. Yes with an underclock you probably have a low GPU to begin with but I'd argue that minimum GPU and a shortened loading time may not have much of a different power draw to a longer loading period with a potentially higher GPU clock.

    The short period of time boost mode is active? Boost mode is used for long periods in certain games, even so I don't think looking at it in a vacuum, as an amount of time is correct - you should be thinking of this as a percentage total gain across all games, even 5% would save the user a lot of loading time after a certain amount of time.

    Which leads me to my next point, you say having profiles close to maximum CPU makes implementing a boost mode allowance pointless. I would disagree with that, even if we 'only' jump from 1581 to 1785 we're throwing over 10% extra CPU power at the task. I haven't recorded any metrics as to how much time that translates to in real world but that could easily be tested, the point is that even if we gained 5% loading time improvement it is actually worth it. Plus that only considers use cases where we have a large CPU overclock already, it doesn't consider for example GPU only overclocks where of course you would get a massive CPU increase during boost mode.

    I've been using this solution and it works for me for pausing sys-clk during boost mode to allow full CPU, improving loading speed and resuming sys-clk custom profile when boost mode ends: https://gbatemp.net/threads/universal-clock-settings-for-sys-clk-and-sys-clk-editor.548829/
    In that thread you say games don't get a benefit but they do, I asked you why you made that statement and didn't receive a reply so I'm curious to know why you say that unless it's simply for the reasons you gave above?
     
    Last edited by UnT7oh, Nov 16, 2019
  20. p-sam

    p-sam Advanced Member

    Newcomer
    4
    Feb 3, 2019
    France
    Yup, I get the logic that you're trying to explain after, but you're still breaking it in a sense that you're setting something different from the user profile, where it's supposed to apply what you requested.

    May or may not, I don't have numbers either, I'd even argue for theories sake that an underclock use-case would be on games with no intense loading times anyway, making the whole underclock case non-existant. My most used underclocked game is Picross, it never had any boost mode to begin with.

    It would be close to trying to put it in percentage just so that it makes "big numbers", correct? I would not agree with you in that case. "deeming worth" the "spaghetti code" handling would take numbers noticeable by users on typical uses cases. (The "spaghetti" term might be more extreme than the actual situation, it's just about picturing the costs vs reward, because I prioritized having dumb straight logic on this sysmodule up until now). I want to stress that from my POV, it comes down as just a matter of taste/opinion.

    It would probably strenghten your points if you did, most of my responses are me saying there are no metrics, remember that as i said sys-clk doesn't immediately readjusts or apply profiles on charger type changes, or when apm profiles are requested, that's what i meant by "with the sys-clk loop polling and the time where it's actually applied", so it may be smth to take into consideration too.

    Simple paperwork, if you wanted answers you would ask them on this thread as you did. I may have missed your message, or assumed it was for the other thread OP. I also don't log in here daily, so I often get back with people answering on my behalf.
     
Quick Reply
Draft saved Draft deleted
Loading...