当前位置:网站首页>Vulkan is not a "panacea"“
Vulkan is not a "panacea"“
2022-07-03 00:43:00 【I haven't had quiet memories for a long time】
The previous articles , We introduced a new generation of graphics API-Vulkan Advantages and characteristics of . Because of its fine control and performance characteristics , Some little friends have raised questions “ Whether the existing OpenGL The project moved to Vulkan On ?”,“Vulkan How is it that the effect is not as good as expected ?”. Today, let's talk about this topic .
The first thing I want to say is Vulkan Not all rendering problems can be solved by replacing graphics API It can be easily solved , There may even be negative benefits and costs .
Scene one Business performance problems
The problems of their own business scenarios have not been effectively solved , It's a drop in the bucket just to rely on the promotion of the bottom . All ideas to solve performance are to measure first , Then optimize the existing problems of the project according to the measurement results , Then through the underlying foundation and general capabilities . And most of the scenes are their own problems that have not been well solved .
Scene two Problems in non rendered scenes
The current performance bottleneck is not rendering related , It may be data, business logic or even network .
Scene three Low latency and less jamming
If your application is concerned about tiny catons or frame rate jitters ,Vulkan You can explicitly control when time-consuming operations occur during scene rendering . This benefits from Vulkan Fine control and design philosophy , Compared with OpenGL Drivers have more advantages in managing state and resources through prediction .
Scene 4 Multithreaded rendering
If the bottleneck of program performance is CPU Graphics related parts on , that Vulkan There is likely to be an opportunity to improve its performance , because Vulkan It naturally supports multithreading , Can give full play to CPU The ability of , Compared with OpenGL Single threaded rendering of has more advantages . Or for the performance of a platform that wants to squeeze out relatively limited computing resources , that Vulkan Allowing the program to directly allocate and manage all resources may also help performance .
Scene five Performance bottleneck GPU
This is a scene that is easy to cause controversy and misunderstanding , I personally understand the essence of graphics API Is with the GPU A specification that drives communication ,GPU The driver is CPU And GPU The medium of communication , All of these ( graphics API、 drive ) It's all implemented in CPU End , Instead of GPU End .
therefore , Different graphics API It cannot be directly promoted GPU Own work efficiency and improve its load , Can only improve CPU End and GPU Efficiency of end-to-end communication , Collaborative approach .
Although it cannot directly affect GPU Performance of , But different graphics API Yes GPU The granularity of the control ability is different ,Vulkan Far ratio OpenGL Handled carefully , Can also be used ( customized ) added GPU End function , So in some scenes, replace with Vulkan It can provide us with more control means , Is likely to help improve GPU Efficiency of execution .
Scene six Ecology and cost
Whether it's technology ecology or human cost ,Vulkan Are relatively at a disadvantage , So we must consider this when doing project migration , You can't follow blindly .
Of course, there are thousands of business scenarios , Developers need to consider many aspects to seek the greatest ROI.
attach :
边栏推荐
- 详解用OpenCV的轮廓检测函数findContours()得到的轮廓拓扑结构(hiararchy)矩阵的意义、以及怎样用轮廓拓扑结构矩阵绘制轮廓拓扑结构图
- form表单实例化
- Use Jenkins II job
- NC50528 滑动窗口
- 【luogu P4320】道路相遇(圆方树)
- mm中的GAN模型架构
- About the practice topic of screen related to unity screen, unity moves around a certain point inside
- 2022上半年值得被看见的10条文案,每一句都能带给你力量!
- Markdown tutorial
- JSON转换工具类
猜你喜欢

Hdu3507 (slope DP entry)

【AutoSAR 四 BSW概述】

2022中国3D视觉企业(引导定位、分拣场景)厂商名单

图解网络:什么是虚拟路由器冗余协议 VRRP?

百度智能云牵头打造智能云综合标准化平台

Nacos+openfeign error reporting solution
![[IELTS reading] Wang Xiwei reading P1 (reading judgment question)](/img/ee/540661fcb2cf1cf1eb15e2026c997a.png)
[IELTS reading] Wang Xiwei reading P1 (reading judgment question)

Linux软件:如何安装Redis服务

【AutoSAR 十 IO架构】

Explain in detail the significance of the contour topology matrix obtained by using the contour detection function findcontours() of OpenCV, and how to draw the contour topology map with the contour t
随机推荐
Shell implements basic file operations (cutting, sorting, and de duplication)
多进程编程(四):共享内存
奥斯陆大学:Li Meng | 基于Swin-Transformer的深度强化学习
Two common methods and steps of character device registration
【AutoSAR 十 IO架构】
Briefly talk about other uses of operation and maintenance monitoring
Array common operation methods sorting (including ES6) and detailed use
Callback event after the antv X6 node is dragged onto the canvas (stepping on a big hole record)
How SQLSEVER removes data with duplicate IDS
Logback configuration file
Unity learns from spaceshooter to record the difference between fixedupdate and update in unity for the second time
Rust ownership (very important)
2022中国3D视觉企业(引导定位、分拣场景)厂商名单
Multiprocess programming (4): shared memory
[MCU project training] eight way answering machine
Rust字符串切片、结构体和枚举类
NC24325 [USACO 2012 Mar S]Flowerpot
node_ Modules cannot be deleted
Centos7 one click compilation to build MySQL script
NC50528 滑动窗口