admin管理员组文章数量:1516870
注:机翻。未校。
How I cut GTA Online loading times by 70%
t0st
2021-02-28
GTA Online.
for its slow loading times. Having picked up the game again to finish some of the newer heists I was
shocked
(/s) to discover that it still loads just as slow as the day it was released 7 years ago.
侠盗猎车手在线模式。因其缓慢的加载时间而臭名昭著。再次拿起游戏以完成一些较新的抢劫后,我震惊地 (/s) 发现它的加载速度仍然和 7 年前发布的那一天一样慢。
It was time. Time to get to the bottom of this.
是时候了。是时候深入了解这个问题了。
Recon
First I wanted to check if someone had already solved this problem. Most of the results I found pointed towards anecdata about
that it needs to load so long, stories on how the
is rubbish (not saying that it isn’t), some elaborate ways of
and a couple of mods that allowed skipping the startup R* logo video. Some more reading told me we could save a whopping 10-30 seconds with these combined!
首先,我想检查是否有人已经解决了这个问题。我发现的大多数结果都指向关于游戏如何如此复杂以至于需要加载如此之长时间的轶事数据,关于 p2p 网络架构如何垃圾的故事(并不是说它不是),一些精心设计的加载到故事模式和之后的单独会话的方法,以及一些允许跳过启动 R* 标志视频的模组。更多的阅读告诉我,我们可以用这些结合起来节省高达 10-30 秒的时间!
Meanwhile on my PC… 同时在我的电脑上…
Benchmark
Story mode load time: ~1m 10s
Online mode load time: ~6m flat
Startup menu disabled, time from R* logo until in-game (social club login time isn’t counted).
Old but decent CPU: AMD FX-8350
Cheap-o SSD: KINGSTON SA400S37120G
We have to have RAM: 2x Kingston 8192 MB (DDR3-1337) 99U5471
Good-ish GPU: NVIDIA GeForce GTX 1070
I know my setup is dated but what on
earth
could take 6x longer to load into online mode? I couldn’t measure any difference using the story-to-online loading technique
. Even if it did work the results would be down in the noise.
我知道我的设置已经过时了,但到底什么可能需要 6 倍的时间才能加载到在线模式?我无法像其他人在我之前发现的那样,使用故事到在线加载技术来衡量任何差异。即使它确实有效,结果也会在噪音中下降。
I Am (Not) Alone
If
is to be trusted then the issue is widespread enough to mildly annoy more than 80% of the player base. It’s been 7 years R*!
如果这项民意调查是可信的,那么这个问题就足够普遍,足以轻微地惹恼超过80%的玩家群。已经 7 年了 R*!
Looking around a bit to find who are the lucky ~20% that get sub 3 minute load times I came across
with high-end gaming PCs and an online mode load time of about 2 minutes. I would
kill
hack
for a 2 minute load time! It does seem to be hardware-dependent but something doesn’t add up here…
环顾四周,找出谁是幸运的 ~20% 的加载时间低于 3 分钟,我遇到了一些高端游戏 PC 的基准测试,在线模式加载时间约为 2 分钟。我会在 2 分钟的加载时间内杀死 hack!它似乎确实依赖于硬件,但这里没有加起来…
How come their story mode still takes near a minute to load? (The M.2 one didn’t count the startup logos btw.) Also, loading story to online takes them only a minute more while I’m getting about five more. I know that their hardware specs are a lot better but surely not 5x better.
为什么他们的故事模式仍然需要将近一分钟才能加载?(顺便说一句,M.2 没有计算启动徽标。此外,将故事加载到网上只需要多一分钟,而我还有大约五分钟。我知道他们的硬件规格要好得多,但肯定不是 5 倍好。
Highly accurate measurements
Armed with such powerful tools as
the Task Manager
I began to investigate what resources could be the bottleneck.
有了任务管理器等强大的工具,我开始调查哪些资源可能是瓶颈。
After taking a minute to load the common resources used for both story and online modes (which is near on par with high-end PCs) GTA decides to max out a single core on my machine for four minutes and do nothing else.
在花了一分钟加载用于故事和在线模式的常用资源(这与高端 PC 几乎不相上下)之后,GTA 决定将我的机器上的单个内核最大化四分钟,而不做任何其他事情。
Disk usage? None! Network usage? There’s a bit, but it drops basically to zero after a few seconds (apart from loading the rotating info banners). GPU usage? Zero. Memory usage? Completely flat…
磁盘使用情况?没有!网络使用情况?有一点,但几秒钟后它基本上下降到零(除了加载旋转信息横幅)。GPU 使用情况?零。内存使用情况?完全平坦…
What, is it mining crypto or something? I smell code.
Really bad code
.
什么,是挖加密货币还是什么?我闻到代码的味道。真的糟糕的代码。
Single thread-bound
While my old AMD CPU has 8 cores and it does pack a punch, it was made in the olden days. Back when AMD’s
was
way
behind Intel’s. This might not explain all of the load time differences but it should explain most of it.
虽然我的旧 AMD CPU 有 8 个核心,它确实很有冲击力,但它是在过去制造的。当AMD的单线程性能远远落后于英特尔时。这可能无法解释所有的加载时间差异,但应该可以解释大部分时间差异。
What’s odd is that it’s using up
just
the CPU. I was expecting vast amounts of disk reads loading up resources or loads of network requests trying to negotiate a session in the p2p network. But this? This is probably a bug.
奇怪的是,它只占用了CPU。我预计会进行大量的磁盘读取,从而加载资源或尝试在 p2p 网络中协商会话的网络请求负载。但是这个?这可能是一个错误。
Profiling
Profilers are a great way of finding CPU bottlenecks. There’s only one problem - most of them rely on instrumenting the source code to get a perfect picture of what’s happening in the process. And I don’t have the source code. Nor do I need microsecond-perfect readings - I have 4 minutes’ worth of a bottleneck.
分析器是查找 CPU 瓶颈的好方法。只有一个问题 - 他们中的大多数都依赖于检测源代码来完美地了解过程中发生的情况。而且我没有源代码。我也不需要微秒级的完美读数 - 我有 4 分钟的瓶颈。
Enter stack sampling: for closed source applications there’s only one option. Dump the running process’ stack and current instruction pointer’s location to build a calling tree in set intervals. Then add them up to get statistics on what’s going on. There’s only one profiler that I know of (might be ignorant here) that can do this on Windows. And it hasn’t been updated in over 10 years. It’s ! Someone, please give this project some love
版权声明:本文标题:GTA Online新手上路:揭秘70%加载速度提升技巧 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://www.betaflare.com/biancheng/1772590905a3275488.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
更多相关文章
Office2016 Pro Plus 64位免费版,迅雷链接即刻下载
转: 下载地址:ed2k:|file|SW_DVD5_Office_Professional_Plus_2016_64Bit_ChnSimp_MLF_X20-42426.ISO|1123452928|31087A00FF6
Office 2016的正确安装姿势,避免常见坑点
** 视频教程地址 ** 下载Microsoft Office 你可以去微软官网下载,这种下载会麻烦点,也会慢点。所以,我们有更好的地址去下载。这是一个搜集Microsof
不用花钱,即刻拥有Office 2016 Pro Plus 64位,迅雷加速下载
转: 下载地址:ed2k:|file|SW_DVD5_Office_Professional_Plus_2016_64Bit_ChnSimp_MLF_X20-42426.ISO|1123452928|31087A00FF6
Office 2016 简体中文批量授权版镜像,官方正版资源,轻松获取!
Office 2016 简体中文批量授权版镜像下载(含Visio、Project)此处整理了office2016 VOL大客户批量授权版下载资源,包含了office2016 32位+64位版本、project2016 32
Win10用户必学:一键切换IE为默认浏览器的操作步骤
Win10如何设置IE为默认浏览器?很多朋友可能还不知道,下面2345软件大全小编给你分享下解决办法。 Win10如何设置IE为默认浏览器 第一步:首先打开Win10控制面板,然后再点击进入“程序”,如图所示。
不懂代码也能学会,Win7中将IE设为默认浏览器的简易指南
在win7系统中,自带有ie浏览器,但是有些用户可能会安装其他浏览器,这样原先默认IE浏览器就会被篡改,习惯了使用IE浏览器的用户们就不喜欢了,那么要如何设置IE为默认浏览器呢,具体步骤如下。 1、首先从开始菜单或者打开“计算
IE浏览器权限升级秘籍:轻松转为管理员模式
提示:文章写完后,目录可以自动生成,如何生成可参考右边的帮助文档前言提示:这里可以添加本文要记录的大概内容:现在仍然有少数老旧系统需要使用IE浏览器才能打开,有些甚至要右键以管理员身份运行才能启动
让IE浏览器成为你的默认选择:操作指南
如何将IE浏览器设置为默认浏览器电脑上什么浏览器最好用如何将IE浏览器设置为默认浏览器现在的互联网各种多,那么我们如何将自己喜欢用的浏览器设置为默认的浏览器呢? 所用到的工具:电脑IE浏览器 第一步:打开IE浏览器
一步到位!Win7中快速设置IE为默认浏览器
在win7系统中,自带有ie浏览器,但是有些用户可能会安装其他浏览器,这样原先默认IE浏览器就会被篡改,习惯了使用IE浏览器的用户们就不喜欢了,那么要如何设置IE为默认浏览器呢,具体步骤如下。 1、首先从开始菜单或者打开“计算
一招搞定IE10设置!轻松锁定文档模式,告别Adobe Flash Player的兼容性困扰!
知识点 1.vue 只兼容ie8以上版本;2.IE 不兼容 axios的promise对象;3.IE 不兼容es6语法; 问题描述 工程使用的 vue2.X,而且
Windows 用户的心痛:默认浏览器设置为何一不小心就‘换回’IE?
今天开始打开项目时,突然间发现我的浏览器被改成了IE打开。奇怪了,并没有设置过默认浏览器为IE! 随后,当然是修改默认浏览器了,如下常规操作: 控制面板》程序》默认程序》设置默认程序》web浏览器》点击并选着你要设置的
摆脱电脑束缚,用手机轻松管理TP-LINK路由器
用手机设置TP-LINK路由器的时候,怎么才能进入TP-LINK路由器的登录入口? 为什么我操作老是失败,总是进不去设置页面,是我的路由器坏掉了吗? 答:手机设置tplink路由器的时候,如果手机无法进入到tp
手机操作TP-LINK路由器,从此上网无忧!
用手机设置TP-LINK路由器的时候,怎么才能进入TP-LINK路由器的登录入口? 为什么我操作老是失败,总是进不去设置页面,是我的路由器坏掉了吗? 答:手机设置tplink路由器的时候,如果手机无法进入到tp
SWF解禁利器:让你的Flash中心火力全开,网速飙升
经常在找资源的时候发现很多资源都在度盘里,虽然稳定性有保证,但最头疼的问题就是:限速,且大点的文件还需要安装百度网盘客户端,一个网盘下载工具硬是给做到了300多MB,这绝对不能忍~ 之前找的PanDown被和谐了,一直没有发现
5分钟内搞定网速,Flash中心优化指南,让Adobe Flash Player流畅无阻!
XPWIN7系统都会默认限制20%的网速,我们可以很轻松地解除这个限制,使你的上网速度达到100%,真正地体验冲浪的感觉.方法如下:开始菜单-运行-输入"gpedit.msc”-确定-计算机配置-管理模板-网络-qos数据包计
初学者指南:MuJoCo XLA(MJX)与人形机器人四足机器人的强化学习
系列文章目录目录前言 本笔记本提供 MuJoCo XLA (MJX) 的入门教程,MJX 是 MuJoCo 基于 JAX 的实现,适用于 RL 训练工作负载。 需要使用具有 GPU 加速功能的
从SWF到TPU V4:科技演变中的十年磨一剑
论文阅读----Ten Lessons From Three Generations Shaped Google’s TPU V4i 1, 论文常见缩写 1) Domain Specific Architecture
深度学习加速新纪元:张量引擎TBE与深度学习编译器,加速你的训练与推理
深度学习框架 人工智能操作系统 训练&前向推理 深度学习框架发展到今天,目前在架构上大体已经基本上成熟并且逐渐趋同。无论是国外的Tensorflow、PyTorch,亦或是国内最近开源的MegEngine、MindSpore
现代计算的新篇章:把FEMCFD求解器封装为PyTorch或JAX函数
将传统有限元(FEM)或计算流体力学(CFD)求解器封装为深度学习框架(PyTorchJAX)的可调用模块,是实现物理约束生成式模型、逆向设计优化和多物理场联合建模的核心技术。以下从 框架选择、
Excel宏数量爆炸,开机慢如乌龟?轻松破解攻略!
Excel 2003 今天下午,想琢磨以下Excel加载宏里的那些工具,把所有的宏都给选上了.这下可好,关掉Excel再打开,Excel就动静了,连续好几次都不行 开始还不知道是加载了过多宏的问题,还以为自


发表评论