Do gaming consoles have pre-emptive multi-tasking OS?

  • Calculators
  • Thread starter rcgldr
  • Start date
  • Tags
    Os
In summary, older multi-threaded games written for PC's used a scheme where the graphics rate could be bogged down and have no effect on the games physics. However, in newer games, the entire game can take a hit if graphics gets behind. Xbox uses a stripped down version of Windows 2000, fully multitasking. Xbox uses a stripped down version of Windows 2000, fully multitasking.
  • #1
rcgldr
Homework Helper
8,855
632
Wondering why games written for consoles and ported to PC's often seem to be system senstive where the entire game is affected by system peformance instead of just the graphics, which should be an independent thread / task in a game. In older multi-threaded games written for PC's, the graphics rate could be bogged down and yet have no effect on the games physics, which ususally consisted of one thread to sample controller inputs at some fixed rate, and a physics thread(s) that ran at some fixed rate to do the numerical integration to convert accelerations into velocties and positions of the objects involved, which in turn sent the positional update to the graphic thread. The frame rate in the graphic thread could take a hit on a slower system, but the core physics wasn't affected. In some of the newer games, it seems that the entire game can take a hit if graphics gets behind.
 
Computer science news on Phys.org
  • #2
Xbox uses a stripped down version of Windows 2000, fully multitasking.
 
  • #3
Antiphon said:
Xbox uses a stripped down version of Windows 2000, fully multitasking.
Thanks. Wondering about the other consoles, since many games are designed to run on multiple consoles (PS3, XBOX, ...) as well as PC's. Those are the games that seem to have issues with the difference in PC performance.
 
  • #4
rcgldr said:
Wondering why games written for consoles and ported to PC's often seem to be system senstive where the entire game is affected by system peformance instead of just the graphics, which should be an independent thread / task in a game. In older multi-threaded games written for PC's, the graphics rate could be bogged down and yet have no effect on the games physics, which ususally consisted of one thread to sample controller inputs at some fixed rate, and a physics thread(s) that ran at some fixed rate to do the numerical integration to convert accelerations into velocties and positions of the objects involved, which in turn sent the positional update to the graphic thread. The frame rate in the graphic thread could take a hit on a slower system, but the core physics wasn't affected. In some of the newer games, it seems that the entire game can take a hit if graphics gets behind.
I'd be shocked and awed if not all home (non-portable) gaming consoles made after the original Playstation had preemptive multi-tasking operating systems. Even the N64's OS had preemptive multi-tasking, even though it wasn't round-robin...

The multi-threaded scheme you describe can only work if the game state is relatively small. After all, the renderer can't render the game state while that very state is being modified, now can it?
 
  • #5
Jocko Homo said:
The multi-threaded scheme you describe can only work if the game state is relatively small. After all, the renderer can't render the game state while that very state is being modified, now can it?
I've seen racing games that support up to 42 players online, and the game state is being updated via positional update packets over the internet, and yet the view from each player's screen while slightly different due to lag, looks reasonably close depending on how well the code predicts locations of cars between packet updates, even handling situations where the positional update packets are occasionally lost. If this situation can be dealt with, then messages updates between threads on the same computer should be able to handle a much larger game state.

The complexity of rendering moving objects isn't an issue for the messaging done between the physics and graphics thread, just the information required to update the current position (orientation, velocity, ...) of the moving objects in real time.

What started me thinking about the consoles, is the fact that a few racing games ported from consoles to PC's have had issues with the variance in performance in PC's. The games written for PC's and then ported to consoles didn't seem to have these issues.
 
Last edited:

Related to Do gaming consoles have pre-emptive multi-tasking OS?

1. What is pre-emptive multi-tasking OS and how does it relate to gaming consoles?

Pre-emptive multi-tasking OS is an operating system that allows multiple tasks to be run simultaneously, switching between them based on priority and time allocation. In the context of gaming consoles, this means that the console can run multiple processes at once, such as playing a game while also downloading updates or accessing other features of the console.

2. Do all gaming consoles have pre-emptive multi-tasking OS?

No, not all gaming consoles have a pre-emptive multi-tasking OS. Older consoles may use a simpler operating system that does not support multi-tasking, while newer consoles are more likely to have this feature.

3. What are the benefits of having a pre-emptive multi-tasking OS on a gaming console?

Having a pre-emptive multi-tasking OS on a gaming console allows for a more seamless and efficient user experience. Users can switch between tasks quickly and easily, without having to exit out of one process to access another. This also allows for background tasks, such as downloading updates, to run while the user is playing a game.

4. Are there any downsides to having a pre-emptive multi-tasking OS on a gaming console?

One potential downside is that having multiple processes running simultaneously can put strain on the console's hardware, potentially leading to slower performance or crashes. Additionally, if the console's resources are heavily used by one process, it may affect the performance of other processes running at the same time.

5. How does pre-emptive multi-tasking OS impact the gaming experience on consoles?

Having a pre-emptive multi-tasking OS can enhance the gaming experience by allowing for features such as in-game chat, streaming, and access to other applications without interrupting gameplay. However, if the console's resources are heavily used by other processes, it may impact the overall performance and potentially lead to lag or other issues during gameplay.

Similar threads

Replies
5
Views
3K
  • Sci-Fi Writing and World Building
Replies
7
Views
1K
  • General Discussion
Replies
12
Views
5K
  • Programming and Computer Science
Replies
1
Views
1K
Back
Top