Project

General

Profile

Actions

Emulator Issues #11004

open

Null video backend and OGL video backends become unbearably slow due to texture cache.

Added by vomjom about 6 years ago. Updated almost 6 years ago.

Status:
New
Priority:
Normal
Assignee:
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

Game Name?

Super Smash Brothers Melee

The issue is present at the latest GitHub master as of April 15th. I've attached a profile using the Google perftools profiler of CPU usage after 10 minutes of play with the Null backend. With the OGL backend, it takes more like 24 hours to get the same result.

All the time is spent in FindMatchingTexturesFromPool in the line: auto range = texture_pool.equal_range(config);

It seems that the texture_pool is growing indefinitely causing performance issues. After more play, pretty much all of the CPU is spent on that line of code.


Files

profile.pdf (17.9 KB) profile.pdf vomjom, 04/15/2018 07:50 AM
Actions

Also available in: Atom PDF