[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

I wonder if people have ever tried to code something in low level

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 6
Thread images: 1

File: file.png (44KB, 638x468px) Image search: [Google]
file.png
44KB, 638x468px
I wonder if people have ever tried to code something in low level OpenGL or Direct3D. Those subsystems do most of the parallelism on the GPU level, don't work well with multithreading on the CPU level/they often work even faster if a single thread is feeding them instructions, and in many cases you can make it much worse by multithreading them. In many game genres it's simply bad design to not go largely single threaded when all you do is feed extremely simple stuff to an extremely paralleled GPU pipeline.
People should shake their heads when others suggest that games can become a lot more multithreaded on the CPU level since in most cases the most you can subthread is something like a sound engine that won't be more than 2% of your load, the genre might not even need AI and similarly for other game logic, and a lot of that stuff also move into GPUs' parallelism to begin with.
PS. Some benchmark reviewers are so clueless that they bottleneck their GPUs and then pretend that they do a CPU test. The entire point is to test the CPU bottlenecks when you test CPUs. If you don't, you practically do motherboard testing.
>>
Quality post
What about Vulkan?
>>
>>59213531
When a GPU is already being fed as much as it can(can't) handle, why would it matter if you can feed it even more?
>>
>>59213531
>Vulkan
In most cases it makes the CPUs even MORE irrelevant.
Read the basic descriptions about it on it:
> Reduced driver overhead, reducing CPU workloads.
> Reduced load on CPUs through the use of batching, leaving the CPU free to do more computation or rendering than otherwise.
> Better scaling on multi-core CPUs. Direct3D 11 and OpenGL 4 were initially designed for use with single-core CPUs and only received augmentation to be executed on multi-cores. Even when application developers use the augmentations, the API regularly do not scale well on multi-cores.
Out of 3 advantages, 2 of them REDUCE CPU load, and the third is usually not even needed to begin with since the GPU has been already bottleneck.
So in order for Vulkan to make multicore CPUs more relevant, they must do EVEN MORE parallel stuff ALREADY *(and in most cases they do almost nothing before Vulkan appeared), or it's used on software that does NOT bottleneck a GPU at all which is kinda unrealistic for most gaming scenarios a lot of non-gaming also.
>>
>>59213511
I'm shit at multithreading stuff efficiently. But I'm sure there are engineers out there that sperge on multithread efficiency all day long who wouldn't have too much trouble optimizing a game for multicore performance.
>>
>>59214624
There is nothing to optimize usually! Most games already bottleneck the GPU, not the CPU. Even when something like Vulkan/nuOpenGL/nuDirect3D try to make it more multithreaded, they remove even more load from the CPU at the same time with their other additional methods like batch instructions!
Thread posts: 6
Thread images: 1


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.