Thread Optimizer Vita

From GameBrew
Thread Optimizer
Threadoptimizervita2.png
General
AuthorGrapheneCt
TypePlugins
Version1.51
LicenseMIT License
Last Updated2020/08/15
Links
Download
Website
Source


Thread optimizer is plugin + config application set that allows you to adjust thread priority and CPU affinity mask of any threads created by game to achieve maximum performance.

Note: This plugin is intended for users who at the very least understand the concept of threading. If you have no idea what you are doing, you have the option to wait until someone else shares their preset for the game you want. This can potentially corrupt savedata if used improperly.

Installation

Thread Optimizer requires following plugins to be installed on your system:

Make sure you have both of them installed before continuing.

Plugin can be installed under *ALL or under games you want to use it with.

Snapshots are stored in ux0:data/ThreadOptimizer/*titleid*/.

User guide

What is snapshot

Snapshot is the file that holds information about all threads that game has created. Once snapshot has been made, it is also used as preset to store user-edited thread parameters.

Snapshot contains following information for each of the threads:

  • CRC16 (checksum used to identify thread).
  • Thread entry function address (used only to calculate CRC16).
  • Thread name.
  • Thread priority <- can be edited in config app.
  • Thread CPU affinity mask <- can be edited in config app.

Thread parameters that you can change:

  • CPU afiinity mask - Determines wich CPU cores will be allowed to run the thread.
  • Priority - Determines thread priority. Lower the number, higher the priority. It is not recommended to adjust it unless you know what you are doing.

How to use

Launch the game you want to create preset for. Take a snapshot of game threads by holding L+R+Square until you see notification.

Since snapshot accumulates all thread data since the game start, it is recommended that you at least get into the actual gameplay before taking a snapshot.

You can delete snapshot you just created by holding L+R+Triangle. However, snapshots that has been taken in different game session can only be deleted from config app.

Exit the game, open config app and adjust thread parameters of the snapshot and save it.

Open the game again. New thread parameters will be applied automatically. You can delete snapshot from config application if you are not happy with your adjustments and start from scratch.

Snapshots are stored in ux0:data/ThreadOptimizer/*titleid*/. Snapshots do not contain any personal data and can be shared with other users.

See also Thread Optimizer Tips.txt.

Limitations

  • Parameters of the main thread cannot be adjusted.
  • Threads that have same name, entry function address, priority and CPU affinity mask are considered to be the same.

Media

Killzone Merceneries Carrier Level without Thread Optimizer Profile @500mhz (zanderman2009)

Thread Optimizer Killzone Mercenaries profile (zanderman2009)

Vita Spiderman: DEMO Thread Optimizer Profile (zanderman2009)

Vita Thread Optimizer Wipeout 2048 High Intensity Profile (PCSA00015) (zanderman2009)

Changelog

v1.51

  • Fix name of the plugin to CapUnlocker.

v1.5

  • Improved application stability.
  • This version will not overwrite prevoius installation, please delete previous version manually.

v1.4

  • Fixed thread detection.

v1.3

  • Adds support for threads created by PTHREAD_PRX module (unity games).
  • Adds support for threads created by SceLibc module (??? games).

v1.1

  • Fixes input not registering in some games.

External links

Advertising: