Jump to content

Question about multithreading and poorly optimized games

Go to solution Solved by Me1z,

The only problem with this is how processing actually works and the nature of an individual process. Think of processes as really long, almost endless, equations. Stuff like "(2+4)/2", but much more complex. Thanks to order of operations, when presented with "(2+4)/2" the core must first solve 2+4 BEFORE it can divide the result by 2. If you try to distribute the same single threaded process across 2 cores, it doesn't really work because only one core can work on it at once. Each core acts as a separate brain and needs to have its tasks addressed individually by the way the code is written. For your idea to work, you would need to write a program that analyzes every line of code and identify how they all interract with one eachother, only then to literally rewrite the entire game from scratch so that it could be properly run on a multi-core processor. If you could somehow design such a magnificent piece of software, you would become a millionaire overnight. that piece of software would literally be the pinnacle of software engineering you you would be worshiped as a god among programmers. With all of that said, it for obvious reasons that it has not been done. Because it cannot be done.

Hey I was wondering if it is possible to have a program essentially run a poorly optimized game like GW2 for example

we all know how the game does note utilize CPU power very well since it uses very few threads. What if someone were

to make a program that runs the game and allows your 4 to x number of cores to all work at the same time like a splitter

 

 

Link to post
Share on other sites

that's what "reverse hyperthreading" will hypothetically do

use your cores combined for more power in less threads

this isnt something a program can do, it needs to be hardware programmed into the CPU

we should see reverse hyperthreading within the next few years from intel if rumours are correct

NEW PC build: Blank Heaven   minimalist white and black PC     Old S340 build log "White Heaven"        The "LIGHTCANON" flashlight build log        Project AntiRoll (prototype)        Custom speaker project

Spoiler

Ryzen 3950X | AMD Vega Frontier Edition | ASUS X570 Pro WS | Corsair Vengeance LPX 64GB | NZXT H500 | Seasonic Prime Fanless TX-700 | Custom loop | Coolermaster SK630 White | Logitech MX Master 2S | Samsung 980 Pro 1TB + 970 Pro 512GB | Samsung 58" 4k TV | Scarlett 2i4 | 2x AT2020

 

Link to post
Share on other sites

that's what "reverse hyperthreading" will hypothetically do

use your cores combined for more power in less threads

this isnt something a program can do, it needs to be hardware programmed into the CPU

we should see reverse hyperthreading within the next few years from intel if rumours are correct

I'm skeptical of this happening, but if it does I wonder if it'll finally fix CPU bottlenecked games.

In Placebo We Trust - Resident Obnoxious Objective Fangirl (R.O.O.F) - Your Eyes Cannot Hear
Haswell Overclocking Guide | Skylake Overclocking GuideCan my amp power my headphones?

Link to post
Share on other sites

There was a hack for this in the game supreme commander forged alliance. But you really need to know how the engine works since multithreading is not something that can be done without a good robust design. If its not done correctly it can bring a program to it's knees through poor performance or crashing.

CPU: Intel i7 - 5820k @ 4.5GHz, Cooler: Corsair H80i, Motherboard: MSI X99S Gaming 7, RAM: Corsair Vengeance LPX 32GB DDR4 2666MHz CL16,

GPU: ASUS GTX 980 Strix, Case: Corsair 900D, PSU: Corsair AX860i 860W, Keyboard: Logitech G19, Mouse: Corsair M95, Storage: Intel 730 Series 480GB SSD, WD 1.5TB Black

Display: BenQ XL2730Z 2560x1440 144Hz

Link to post
Share on other sites

The only problem with this is how processing actually works and the nature of an individual process. Think of processes as really long, almost endless, equations. Stuff like "(2+4)/2", but much more complex. Thanks to order of operations, when presented with "(2+4)/2" the core must first solve 2+4 BEFORE it can divide the result by 2. If you try to distribute the same single threaded process across 2 cores, it doesn't really work because only one core can work on it at once. Each core acts as a separate brain and needs to have its tasks addressed individually by the way the code is written. For your idea to work, you would need to write a program that analyzes every line of code and identify how they all interract with one eachother, only then to literally rewrite the entire game from scratch so that it could be properly run on a multi-core processor. If you could somehow design such a magnificent piece of software, you would become a millionaire overnight. that piece of software would literally be the pinnacle of software engineering you you would be worshiped as a god among programmers. With all of that said, it for obvious reasons that it has not been done. Because it cannot be done.

Quote

Ignis (Primary rig)
CPU
 i7-4770K                               Displays Dell U2312HM + 2x Asus VH236H
MB ASRock Z87M Extreme4      Keyboard Rosewill K85 RGB BR
RAM G.Skill Ripjaws X 16GB      Mouse Razer DeathAdder
GPU XFX RX 5700XT                    Headset V-Moda Crossfade LP2
PSU Lepa G1600
Case Corsair 350D
Cooling Corsair H90             
Storage PNY CS900 120GB (OS) + WD Blue 1TB

Quote

Server 01Alpha                                       Server 01Beta                            Chaos Box (Loaner Rig)                Router (pfSense)
CPU
 Xeon X5650                                      CPU 2x Xeon E5520                    CPU Xeon E3-1240V2                     CPU Xeon E3-1246V3
MB Asus P6T WS Pro                               MB EVGA SR-2                             MB ASRock H61MV-ITX                 MB ASRock H81 Pro BTC
RAM Kingston unbuffered ECC 24GB  RAM G.Skill Ripjaws 16GB         RAM Random Ebay RAM 12GB    RAM G.Skill Ripjaws 8GB
GPU XFX R5 220                                       GPU EVGA GTX 580 SC               GPU Gigabyte R9 295x2                GPU integrated
PSU Corsair CX430M                               PSU Corsair AX1200                   PSU Corsair GS700                         PSU Antec EA-380D
Case Norco RPC-450B 4U                      Case Rosewill  RSV-L4000C        Case Modified Bitfenix Prodigy   Case Norco RPC-250 2U
Cooling Noctua NH-U9S                        Cooling 2x CM Hyper 212 Evo  Cooling EVGA CLC 120mm           Cooling stock
Storage PNY CS900 120GB (OS)           Storage null                                 Storage PNY CS900 120GB (OS)  Storage Fujitsu 150GB HDD
               8x WD Red 1TB in Raid 6                                                                                WD Black 1TB    
               WD Green 2TB

 

Link to post
Share on other sites

The only problem with this is how processing actually works and the nature of an individual process. Think of processes as really long, almost endless, equations. Stuff like "(2+4)/2", but much more complex. Thanks to order of operations, when presented with "(2+4)/2" the core must first solve 2+4 BEFORE it can divide the result by 2. If you try to distribute the same single threaded process across 2 cores, it doesn't really work because only one core can work on it at once. Each core acts as a separate brain and needs to have its tasks addressed individually by the way the code is written. For your idea to work, you would need to write a program that analyzes every line of code and identify how they all interract with one eachother, only then to literally rewrite the entire game from scratch so that it could be properly run on a multi-core processor. If you could somehow design such a magnificent piece of software, you would become a millionaire overnight. that piece of software would literally be the pinnacle of software engineering you you would be worshiped as a god among programmers. With all of that said, it for obvious reasons that it has not been done. Because it cannot be done.

 Thanks, you explained that quite well.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×