System Reservations on PS4, 4Pro, XBox One, One S, and One X? [2019-12]

Discussion in 'Console Technology' started by BRiT, Dec 18, 2019.

  1. BRiT

    BRiT (╯°□°)╯
    Moderator Legend Alpha

    Joined:
    Feb 7, 2002
    Messages:
    13,583
    Likes Received:
    10,528
    Location:
    Cleveland
    What are the current system reservations on current-gen systems such as PS4, PS 4Pro, and Xbox One S, XBox One X?

    I seem to have misplaced my SDKs and searching/googling is drawing hits from pre-launch 2013, so I'm hoping the community can help out with this question.

    I'm looking for things like the 20% to 50% of the 7th CPU Core and 100% of the 8th CPU core and time-sliced 2% of all GPU CUs is reserved for OS/Dashboard use. These may not be accurate numbers, but I wanted to show what info I'm looking for.

    If you can also list initial reservations and how they changed over time, you'll get bonus likes. ;)

    Thank you,



    Xbox One
    Around early 2014 Microsoft changed System Reservation from time-sliced 10% GPU to 2% GPU. The initial 10% was broken down to 2% for Voice and 8% for Video, giving developers use of 98% of GPU.
    Around late 2014 Microsoft changed System Reservation from 100% CPU Core #7 to allow for using only 20% to 50% of CPU Core #7, giving developers use of 80% to 50% of CPU Core #7.


    PS4
    Around late 2015 Sony changed System Reservations from 100% CPU Core #7 to allow for using only 50% of CPU Core #7 or 60% of CPU Core #7 if VR, giving developers use of 50% of CPU Core #7 or 40% of CPU Core #7 if VR.
     
  2. Globalisateur

    Globalisateur Globby
    Veteran Regular

    Joined:
    Nov 6, 2013
    Messages:
    3,231
    Likes Received:
    1,929
    Location:
    France
    Your interpretation is incorrect for the 7th core on PS4 (this is from SDK 3 to 4.5):

    Normal mode (foreground execution, the game is being played):
    - 50% of 7th core is given to the devs
    - 40% is allocated to the devs when it's a VR game

    Low mode (game is put in background execution, dashboard is displayed):
    - 10% of 7th core is given to devs
     
    BRiT likes this.
  3. BRiT

    BRiT (╯°□°)╯
    Moderator Legend Alpha

    Joined:
    Feb 7, 2002
    Messages:
    13,583
    Likes Received:
    10,528
    Location:
    Cleveland
    Thank you @Globalisateur .

    Is there any sort of GPU time-splicing on PlayStation 4 series? Or does the OS/Dashboard use priority queue through ACEs (?) to handle that?
     
  4. Globalisateur

    Globalisateur Globby
    Veteran Regular

    Joined:
    Nov 6, 2013
    Messages:
    3,231
    Likes Received:
    1,929
    Location:
    France
    There is a time allocated to the system from each 16.67ms frame. I don't remember how much though.

    EDIT: My fuzzy memory tells me 0.5 ms of GPU is reserved to the system. About 3%. But not 100% sure about it.
     
    #4 Globalisateur, Dec 18, 2019
    Last edited: Dec 18, 2019
    BRiT likes this.
  5. Globalisateur

    Globalisateur Globby
    Veteran Regular

    Joined:
    Nov 6, 2013
    Messages:
    3,231
    Likes Received:
    1,929
    Location:
    France
    Found the source about 0.5 ms of GPU reservation (Sony confidential slides about Pro):

    [​IMG]
     
    DSoup and BRiT like this.
  6. Proelite

    Veteran Regular

    Joined:
    Jul 3, 2006
    Messages:
    1,280
    Likes Received:
    522
    Location:
    Redmond
    Does anyway know how the 3GB OS reservation is used? I know on XB1 launch, the OS was 2GB, and the other 1GB was the hypervisor + unused ram held for possible later use.

    Pretty sure all apps use a portion of the 2GB, as the apps and game title run simultaneously.

    With virtual memory I don't see why they need 3GBs for next gen. Why not designate a segment of memory as flexible, page out the app +OS foreground memory to disk.

    I.e for Lockhart

    768MB background OS memory, locked.
    512MB background apps memory pool, locked.
    768MB for hypervisor and expansion, locked.

    Flexible memory: 2GB. Pages in and out of SSD on OS transition.

    Title memory: 8GB locked.

    When foregrounded, apps and OS have 4GB. When backgrounded apps and OS have 2GB.

    When foregrounded, game title has 10GB.
    When backgrounded, game title has 8GB.
     
    #6 Proelite, Jan 4, 2020
    Last edited: Jan 4, 2020
    BRiT likes this.
  7. Proelite

    Veteran Regular

    Joined:
    Jul 3, 2006
    Messages:
    1,280
    Likes Received:
    522
    Location:
    Redmond
    For a straight port of the existing OS, I expect both Sony and MS to free up the 1GB or so occupied by the apps as flexible memory. Currently, both system allow a single instance of any app at a time. The previous instance is thrashed.

    I expect the thrashing to be extended to game / os switching. With the SSD, loading should be quicker outside of app start network calls. Developers need to update their app to be paged to SSD to allow for fast resume.
     
  8. BRiT

    BRiT (╯°□°)╯
    Moderator Legend Alpha

    Joined:
    Feb 7, 2002
    Messages:
    13,583
    Likes Received:
    10,528
    Location:
    Cleveland
    IIRC, Xbox One allows for 4 running apps at a time with quick-switching between them.

    There is still some quick switching between them, but that seems to still be going through a tomb-stoning process, but they launch quicker than they do from cold and they remember what spot they're in. I'm able to quick switch between XBox Rewards App, Forza Hub, Spotify, and IE and they all resume from exactly where I was at before.
     
  9. Proelite

    Veteran Regular

    Joined:
    Jul 3, 2006
    Messages:
    1,280
    Likes Received:
    522
    Location:
    Redmond
    Hmm interesting. I always thought it's single instance only.

    Also I thought tomb stone was jargon for crash dump on Android?
     
Loading...

Share This Page

  • About Us

    Beyond3D has been around for over a decade and prides itself on being the best place on the web for in-depth, technically-driven discussion and analysis of 3D graphics hardware. If you love pixels and transistors, you've come to the right place!

    Beyond3D is proudly published by GPU Tools Ltd.
Loading...