插槽,具名插槽,作用域插槽_在每个插槽中使用不相等的RAM数量会降低性能吗?...

插槽,具名插槽,作用域插槽

插槽,具名插槽,作用域插槽

why-would-using-unequal-amounts-of-ram-in-each-slot-decrease-performance-00

When you are adding RAM to a computer, does it really matter if the sticks have unequal amounts of memory or do you always need them to have equal amounts of memory? Today’s SuperUser Q&A post has the answers to a curious reader’s questions.

当您向计算机添加RAM时,如果存储棒的内存量不相等,还是始终需要它们拥有相同的内存量,这真的很重要吗? 今天的“超级用户问答”帖子回答了好奇的读者的问题。

Today’s Question & Answer session comes to us courtesy of SuperUser—a subdivision of Stack Exchange, a community-driven grouping of Q&A web sites.

今天的“问答”环节由SuperUser提供,它是Stack Exchange的一个分支,该社区是由社区驱动的Q&A网站分组。

Photo courtesy of redjar (Flickr).

照片由redjar(Flickr)提供

问题 (The Question)

SuperUser reader LanceLafontaine wants to know if using unequal amounts of RAM really does decrease performance:

超级用户读者LanceLafontaine想知道使用不相等数量的RAM是否确实会降低性能:

This page describes the RAM specifications for many of the MacBook laptops. In the section for my laptop (13″ Pro, Late 2011), it says:

本页介绍了许多MacBook笔记本电脑的RAM规格。 在我的笔记本电脑部分(2011年末推出的13英寸专业版)中,它说:

  • Additional Notes: For best performance, fill both memory slots, installing an equal memory module in each slot.

    附加说明:为了获得最佳性能,请同时填充两个内存插槽,并在每个插槽中安装相等的内存模块。

This is not the first time that I have heard of this phenomenon, and it is definitely not specific to Apple. Why is this the case? Other than the obvious decrease in available memory, why would it be worse to run with 6 GB (1*4 GB plus 1*2 GB) than with 8 GB (2*4 GB)?

这不是我第一次听说这种现象,而且绝对不是苹果公司特有的。 为什么会这样呢? 除了可用内存明显减少之外,为什么使用6 GB(1 * 4 GB加1 * 2 GB)要比使用8 GB(2 * 4 GB)更糟?

Does using unequal amounts of RAM cause a decrease in performance or is it just a myth?

使用不相等数量的RAM是否会导致性能下降,或者仅仅是神话?

答案 (The Answer)

SuperUser contributors David Schwartz and x have the answer for us. First up, David Schwartz:

超级用户贡献者David Schwartz和x为我们提供了答案。 首先,David Schwartz:

With equal amounts of memory in both slots, memory can be interleaved so that successive chunks of memory alternate slots. That way, memory access gets distributed to both slots almost perfectly evenly, allowing their bandwidth to combine.

在两个插槽中都有相等数量的内存时,可以交错存储,以便连续的内存块替换插槽。 这样,内存访问几乎均匀地分配到两个插槽,从而允许它们的带宽组合在一起。

With uneven amounts, memory cannot be interleaved and has to be mapped first to one stick and then the other. A program that is accessing a large contiguous chunk of memory will find almost all of its access going to one stick and there will be no bandwidth combination.

如果数量不均匀,则无法交错存储,必须先将其映射到一个棍子,然后再映射到另一个棍子。 正在访问大量连续内存的程序将发现几乎所有访问都归于一根棍子,并且不会有带宽组合。

Followed by the answer from mVincent:

随后是mVincent的回答:

  • Additional Notes: For best performance, fill both memory slots, installing an equal memory module in each slot.

    附加说明:为了获得最佳性能,请同时填充两个内存插槽,并在每个插槽中安装相等的内存模块。

The likely technical explanation here is that your MacBook (motherboard) supports dual-channel architecture and thus requires two identical memory modules. Benchmarks suggests that it gives a 5-10 percent performance boost.

此处可能的技术解释是您的MacBook(主板)支持双通道架构,因此需要两个相同的内存模块。 基准测试表明,它可以将性能提高5-10%。

  • Why is this the case? Other than the obvious decrease in available memory, why would it be worse to run with 6 GB (1*4 GB plus 1*2 GB) than with 8 GB (2*4 GB)?

    为什么会这样呢? 除了可用内存明显减少之外,为什么使用6 GB(1 * 4 GB加1 * 2 GB)要比使用8 GB(2 * 4 GB)更糟?

When two non-identical memory modules are used, the motherboard will run the memory modules at the speed of slowest module.

当使用两个不同的内存模块时,主板将以最慢的模块速度运行内存模块。



Have something to add to the explanation? Sound off in the comments. Want to read more answers from other tech-savvy Stack Exchange users? Check out the full discussion thread here.

有什么补充说明吗? 在评论中听起来不错。 是否想从其他精通Stack Exchange的用户那里获得更多答案? 在此处查看完整的讨论线程

翻译自: https://www.howtogeek.com/199070/would-using-unequal-amounts-of-ram-in-each-slot-decrease-performance/

插槽,具名插槽,作用域插槽

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值