[HELP!] 記憶體! 軟體與硬體的愛恨交割??:cry: [論壇 - 新手村]


正在瀏覽:   1 名遊客


 到底部   前一個主題   下一個主題  [無發表權] 請登錄或者註冊



[HELP!] 記憶體! 軟體與硬體的愛恨交割??:cry:
會員一級
註冊日期:
2012/9/18 15:21
所屬群組:
已註冊使用者
等級: 2
HP : 0 / 43
MP : 5 / 1365
EXP: 74
離線
I’m a newbie!

I’m a newbie!

很重要所以說3次,就我google後理解不知對錯與否,請前輩先進指點:

2的32次方就是4G了....
32位元CPU只能使用32位元的作業系統,而64位元CPU則可以使用32/64位元的作業系統.基本上需要64 bit CPU+ 64 bit OS才能完整支援4G以上的記憶體定址.但可以將主機板中Memory Remap Feature設為Enable才能完整抓到4G以上的記憶體。所以,依此例來看。不管是32bit(PAE),還是64bit則需將Bios裏的Memory Remap Feature設為Enable。或是使用 32bit OS 時,需重新編譯核心linux-kernel!




舉例:
Dell Latitude D510

ubuntu@ubuntu-D510:~$
lshw


WARNING: you should run this program as super-user.

ubuntu-d510

description: Computer

width: 32 bits

*-core

description: Motherboard

physical id: 0

*-memory

description: System memory

physical id: 1

size: 2006MiB

*-cpu

product: Intel(R) Pentium(R) M processor 1.73GHz

vendor: Intel Corp.

physical id: 2

bus info: cpu@0

version: 6.13.8

size: 1733MHz

capacity: 1733MHz

width: 32 bits

capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov clflush dts acpi mmx fxsr sse sse2 ss tm pbe nx bts est tm2 cpufreq

*-pci

description: Host bridge

product: Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller

vendor: Intel Corporation

physical id: 100

bus info: pci@0000:00:00.0

version: 03

width: 32 bits

clock: 33MHz

configuration: driver=agpgart-intel

resources: irq:0

ubuntu@ubuntu-D510:~$ lscpu

Architecture: i686

CPU 作業模式: 32-bit

Byte Order: Little Endian

CPU(s): 1

On-line CPU(s) list: 0

每核心執行緒數:1

每通訊端核心數:1

Socket(s): 1

供應商識別號: GenuineIntel

CPU 家族: 6

型號: 13

製程: 8

CPU MHz: 800.000

BogoMIPS: 1596.45

ubuntu@ubuntu-D510:~$
sudo dmidecode -t processor


# dmidecode 2.12

SMBIOS 2.3 present.

Handle 0x0400, DMI type 4, 32 bytes

Processor Information

Socket Designation: Microprocessor

Type: Central Processor

Family: Pentium M

Manufacturer: Intel

ID:

Signature: Type 0, Family 6, Model 13, Stepping 8

Flags:

FPU (Floating-point unit on-chip)

VME (Virtual mode extension)

DE (Debugging extension)

PSE (Page size extension)

TSC (Time stamp counter)

MSR (Model specific registers)

PAE (Physical address extension)

MCE (Machine check exception)

CX8 (CMPXCHG8 instruction supported)

APIC (On-chip APIC hardware supported)

SEP (Fast system call)

MTRR (Memory type range registers)

PGE (Page global enable)

MCA (Machine check architecture)

CMOV (Conditional move instruction supported)

PAT (Page attribute table)

CLFSH (CLFLUSH instruction supported)

DS (Debug store)

ACPI (ACPI supported)

MMX (MMX technology supported)

FXSR (FXSAVE and FXSTOR instructions supported)

SSE (Streaming SIMD extensions)

SSE2 (Streaming SIMD extensions 2)

SS (Self-snoop)

TM (Thermal monitor supported)

PBE (Pending break enabled)

Version: Not Specified

Voltage: 3.3 V

External Clock: 133 MHz

Max Speed: 1800 MHz

Current Speed: 1733 MHz

Status: Populated, Enabled

Upgrade: None

L1 Cache Handle: 0x0700

L2 Cache Handle: 0x0701

L3 Cache Handle: Not Provided

ubuntu@ubuntu-D510:~$
cat /proc/cpuinfo


processor: 0

vendor_id: GenuineIntel

cpu family: 6

model: 13

model name: Intel(R) Pentium(R) M processor 1.73GHz

stepping: 8

microcode: 0x20

cpu MHz: 1067.000

cache size: 2048 KB

physical id: 0

siblings: 1

core id: 0

cpu cores: 1

apicid: 0

initial apicid: 0

fdiv_bug: no

f00f_bug: no

coma_bug: no

fpu: yes

fpu_exception: yes

cpuid level: 2

wp: yes

flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov clflush dts acpi mmx fxsr sse sse2 ss tm pbe nx bts est tm2

bugs: cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass

bogomips: 2129.27

clflush size: 64

cache_alignment: 64

address sizes: 32 bits physical, 32 bits virtual

power management:

ubuntu@ubuntu-D510:~$
cat /proc/version


Linux version 4.4.0-128-generic (buildd@lcy01-amd64-029) (gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.4) ) #154~14.04.1-Ubuntu SMP Fri May 25 14:56:13 UTC 2018

ubuntu@ubuntu-D510:~$
uname -a


Linux ubuntu-D510 4.4.0-128-generic #154~14.04.1-Ubuntu SMP Fri May 25 14:56:13 UTC 2018 i686 i686 i686 GNU/Linux






Processor Type :Intel® Pentium® M Processor 730 (1.60GHz), 740 (1.73GHz)
Chipset 915GM – Pentium M processor bases
Memory Min: 256MB DDR2 shared1; 400MHz or 533MHz
[b][size=large]Max:2GB DDR2 shared1; 533MHz[/size][/b]
Operating Systems Microsoft® Windows® XP Pro SP2



所以OS只能選擇32?
還是enable MB remapping(dell日文客服尚未回覆,我也不知客服回函系統會轉給日本)
亦或是重新編譯核心?


再次重申:I’m a newbie!

2018/6/29 23:54
應用擴展 工具箱
回覆: [HELP!] 記憶體! 軟體與硬體的愛恨交割??:cry:
會員三級
註冊日期:
2009/1/10 10:33
所屬群組:
已註冊使用者
等級: 14
HP : 0 / 340
MP : 81 / 14309
EXP: 60
離線
理論上來說,CPU 的位元大小與它的記憶體定址空間沒有必然關係,
端看硬體設計者的想法,與硬體製作成本考量。
例如古早的 8位元電腦,記憶體大小可能小至2K 也可能大到 64K
但不會是 只有 256( 2^8 = 256)

至於現在還是使用中的電腦記憶體大小與作業系統實際上可以用到的空間,
則是硬體廠商與作業系統開發者之間的合作關係問題,

Intel x86 與 x86_64 的硬體世代交替過程
記憶體使用 限於 2G 4G 或者 大於4G
屬於產品個案討論範圍,不是觀念概論問題。

你提出硬體的產品型號去問微軟或者Linux開發者,就應該會得到答案。

希望有回答到你的問題,
與你相反,我是電腦LKK! :-)

2018/7/1 20:54
應用擴展 工具箱
回覆: [HELP!] 記憶體! 軟體與硬體的愛恨交割??:cry:
會員三級
註冊日期:
2009/1/10 10:33
所屬群組:
已註冊使用者
等級: 14
HP : 0 / 340
MP : 81 / 14309
EXP: 60
離線
補充:

你提的例子: Dell Latitude D510
依據 Dell官網資料 記憶體最大空間只達 2G
CPU Pentium M 屬於 x86 32 位元系列

所以 應該只能跑 32位元 作業系統

2018/7/1 21:20
應用擴展 工具箱


 [無發表權] 請登錄或者註冊


可以查看帖子.
不可發帖.
不可回覆.
不可編輯自己的帖子.
不可刪除自己的帖子.
不可發起投票調查.
不可在投票調查中投票.
不可上傳附件.
不可不經審核直接發帖.