- 論壇徽章:
- 0
|
原帖由 drowndog 于 2010-1-7 09:30 發(fā)表 ![]()
SMP的服務(wù)器,一般在每個核心內(nèi)部,都會集成一個內(nèi)存控制器,因此,訪問內(nèi)存的帶寬遠(yuǎn)遠(yuǎn)大于單個CPU時的帶寬。
另外,你說的緩存也是一個因素,但更重要的是二級緩存。一級緩存的容量太。ㄖ噶罹彺婧蛿(shù)據(jù)緩存一 ...
按照ULK的說法,SMP環(huán)境下的內(nèi)存訪問也是嚴(yán)格串行的:
In multiprocessor systems, all CPUs usually share the same memory; this
means that RAM chips may be accessed concurrently by independent CPUs.
Because read or write operations on a RAM chip must be performed serially,
a hardware circuit called a memory arbiter is inserted between the bus and
every RAM chip. Its role is to grant access to a CPU if the chip is free
and to delay it if the chip is busy servicing a request by another processor.
... ...
----from《Understanding the Linux Kernel, 3rd Edition》:2.1. Memory Addresses |
|