确定推荐的系统要求
我们最近更改了一个轻量级应用程序的一些系统要求(它本质上是一个瘦 GUI 客户端,连接到运行 IBM UniVerse 的“大型机”)。 我们根本没有更改最低要求,但更改了建议要求以匹配 Windows 7 和 Vista 的要求(因为我们在这些计算机上运行)。
一些系统要求相当容易确定(即:网卡、硬盘空间等)。 但 CPU 和 RAM 更难确定。
我们当前的 CPU 和 RAM 最低要求列表均规定您必须满足操作系统的最低要求。 这对我们来说似乎相当合理,因为我们的应用程序仅使用 15MB 或活动内存和很少的 CPU(在本例中是一个简单的 GUI),因此可以工作。 这看起来很好,没有人抱怨这一点。
不过,当谈到推荐要求时,我们在确定具体细节时遇到了麻烦,尤其是现在,当您开始谈论多核处理器、原子处理器等时,说最低 1.6 GHz(或类似)可能意味着任何事情……瘦客户端开始做更密集的事情(例如,它现在包含一个嵌入式 Web 浏览器,以帮助显示更多用户友好的 html 页面)。
- 确定 CPU 和 RAM 的推荐值的好方法是什么?
- 您是否采用推荐的操作系统并在顶部添加您的使用值(那么我们是否会说 Vista 机器为 1GB?)?
- 有更好的方法吗?
(注意:这本质上与服务器问题此处,但来自应用程序库)
We recently changed some of our system requirements on a light weight application (it is essentially a thin gui client that connects to a "mainframe" that runs IBM UniVerse). We didn't change our minimum requirements at all, but changed our recommended requirements to match those of Windows 7 and Vista (since we run on those machines).
Some system requirements are fairly easy to determine (ie: network card, hard drive space, etc...). But CPU and RAM are harder to nail down.
Our current list of minimum requirements for CPU and RAM both state that you have to meet the minimum's for your operating system. That seems fairly reasonable to us, since our app uses only 15MB or active memory and very little CPU (it's a simple GUI, in this case), so that works. This seems fine, no one complains about that.
When it comes to recommended requirements though, we've run into trouble nailing down specifics, especially nowadays, when saying minimum 1.6 gHz (or similar) can mean anything when you start talking about multi-core processors, atom processors, etc... The thin client is starting to do more intensive stuff (it now contains an embedded web browser to help display more user friendly html pages, for example).
- What would be a good way to go about determining recommended values for CPU and RAM?
- Do you take the recommended for an O/S and add your usage values on top (so do we then say 1GB for Vista machines?)?
- Is there a better way to do so?
(Note: this is similar in nature to the server question here, but from an application base instead)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
让我们从另一个角度尝试一下。
首先,在最低配置的机器上测试您的应用程序。 如果存在的话,有哪些瓶颈?
通常来说,如果应用程序在使用操作系统的最低配置时运行良好; 那么您的“推荐”配置应该与操作系统推荐的配置相同。
归根结底,您可能需要手头有几台机器来进行分析。 在这种情况下,虚拟机不是一个好的选择。 根据定义,VM 和主机操作系统都会产生影响。 此外,仅仅因为您可以限制某个处理器的运行速度,并不意味着它的运行级别与通常为该级别构建的处理器相似。
例如,双核 1.8 GHz 处理器被限制为仅使用一个核心,但与 P4 1.8 GHz 处理器仍然是一种非常不同的野兽。 存在架构差异以及 L2 和 L3 缓存更改。
同样,配备 P4 处理器的机器使用的 RAM 类型与配备双核的机器不同(DDR 与 DDR2)。 RAM 速度确实有影响。
因此,请尝试坚持操作系统的建议,因为它们已经为您完成了困难的部分。
Let's try this from another perspective.
First, test your application on a minimum configuration machine. What bottlenecks if any exist?
Typically speaking, if the app works fine when using a minimum configuration for the OS; then your "recommended" configuration should be identical to the OS's recommended.
At the end of the day, you probably need to have a couple of machines on hand to profile. Virtual machines are NOT a good option in this case. By definition, the VM and the host OS will have an impact. Further, just because you can throttle a certain processor down doesn't mean that it is running at a similar level to a processor normally built for that level.
For example, a Dual Core 1.8 GHz processor throttled to only use one core is still a very different beast than a P4 1.8 GHz processor. There are architectural differences as well as L2 and L3 cache changes.
By the same token, a machine with a P4 processor uses a different type of RAM than one with a dual core (DDR vs DDR2). RAM speeds do have an impact.
So, try to stick to the OS recommendations as they've already done the hard part for you.
提出一些与响应延迟、吞吐量和启动时间等相关的具体非功能性需求,然后在几台不同的机器上对它们进行基准测试。 尝试推断哪些硬件可以让典型用户获得符合您要求的体验。
Come up with some concrete non-functional requirements relating to things like latency of response, throughput, and startup time, and then benchmark them on a few varied machines. The attempt to extrapolate to what hardware will allow a typical user to have an experience that matches your requirements.
要确定 CPU 和 RAM,您可以尝试使用 Microsoft Virtual PC,它允许您设置 CPU 和 RAM 设置。 然后,您可以测试一些不同的设置,看看哪些设置对于普通用户来说足够了。
至于推荐的要求,将它们添加到基本操作系统要求之上可能是安全的选择。
For determining the CPU and RAM you could try using Microsoft Virtual PC which allows you to set your CPU and RAM settings. You can then test a few different setups to see what would be sufficient for a regular user.
As for the recommended requirements, adding them on top of the basic OS requirements would probably be the safe bet.
微软在Vista中引入了Windows体验指数来解决这个问题。
更新更多信息
它考虑了整个系统。 请记住,他们可能有一个最低级别的处理器,但如果他们有一个垃圾显卡,那么大量的处理器时间将花在绘制窗口上......如果你选择一个像 3.0 这样的不错的体验指数数字,那么你可以合理地保证他们会对您的申请有良好的体验。 如果您需要更多马力,请将要求提高到 4.0。
我用来打字的戴尔就是一个例子。 这是一台已有 2 年历史的机器,但体验指数仍为 4.2。 大多数商务舱机器应该能够注册至少 3; 对于您描述的应用程序来说,这应该有足够的马力。
顺便说一句,我用了 5 年的笔记本电脑注册为 2.0,在我购买时处于中等水平。
Microsoft introduced the Windows Experience Index in Vista to solve this exact problem.
UPDATE FOR MORE INFO
It takes into consideration the entire system. Bear in mind that they may have a minimum level processor, but if they have a crap video card then a lot of processor time is going to be spent just drawing the windows... If you pick a decent experience index number like 3.0 then you can be reasonably assured that they will have a good experience with your application. If you require more horsepower, bump up the requirements to 4.0.
One example is the Dell I'm using to type this on. It's a 2 year old machine but still registers 4.2 on the experience index. Most business class machines should be able to register at least a 3; which should be enough horsepower for the app you described.
Incidentally, my 5 year old laptop registers as a 2.0 and it was mid level at the time I purchased it.