Computer >> บทช่วยสอนคอมพิวเตอร์ >  >> ระบบ >> Windows 8

การเข้าถึง RAM มากกว่า 4GB บน 32-bit Windows 8 (x86)

ในบทความนี้เราจะสำรวจวิธี Override 4GB Memory Limitation บน 32-bit Windows 8 (และ Windows 8.1) และ Activate RAM ทั้งหมดที่มีอยู่บน PC

ส่วนใหญ่ของ Windows Users เชื่อว่า Microsoft 32-bit Operating Systems ไม่รองรับ Memory มากกว่า 4GB ดังนั้น Maximum Available Memory ใน Windows 8/8.1 คือ 4 GB โปรดทราบว่า Windows จองส่วนหนึ่งของ Memory สำหรับความต้องการของตัวเองและ Peripheral Devices (บ่อยที่สุดคือ Video Card) End User ปกติจะได้ประมาณ 3-3.5 GB ของ Memory

PAE คืออะไร และทำไมเราต้องการมัน

PAE (Physical Address Extension) – เป็น x86 Processor Option ที่ช่วยให้เข้าถึง Physical Memory มากกว่า 4 GB ได้ เราจะไม่ลึกลงไปใน Technical Specifications ของ PAE Technology แค่บอกว่า Technology นี้ได้รับการ Support จาก CPU ทุกตัวและ Windows OS โดยเฉพาะมานานแล้ว

ตัวอย่างเช่น 32-bit Windows Server Version ที่รันบน x86 Processor สามารถใช้ PAE เพื่อเข้าถึง System Memory ทั้งหมด (สูงสุด 64 GB หรือ 128 GB ขึ้นอยู่กับ Processor Generation)

การรองรับ PAE Mode ใน Windows Kernel พร้อมใช้งานตั้งแต่ Windows XP อย่างไรก็ตาม PAE พร้อมใช้งานโดย Default เฉพาะใน Server Versions ของ OS ใน Client Windows OS มี Mode นี้แต่ Disabled By Default

Note: PAE สามารถใช้ได้เฉพาะ 32-bit Windows Versions ที่รันบน x86 Processors ที่เข้ากันได้กับ Mode นี้

PAE Limitations

  1. PAE ไม่ขยาย Virtual Addressing Space ของแต่ละ Process ทุก Process ที่รันบน 32-bit System จำกัดโดย 4 GB Addressing Space เดียวกัน Tip PAE ไม่สามารถขยาย Memory ที่พร้อมใช้งานสำหรับ Resource-intensive Application (เช่น Graphic หรือ Video Editor) หากมีความจำเป็นอย่างนั้น עדיף ใช้ 64-bit Windows OS
  2. โปรดทราบว่าหากใช้ PAE อาจมีการลด System Productivity นิดหน่อยเนื่องจาก Memory Access Speed ลดลง ซึ่งเกี่ยวข้องกับ Overhead ที่เกิดจาก Switching ของ Pages ใน Memory
  3. Drivers ของบาง Devices อาจทำงานไม่ถูกต้องใน 36-bit Addressing Space

ดังนั้น สรุปได้ว่าขีดจำกัดบนสุดของ Available Physical Memory ใน 32-bit Windows Versions ถูกจำกัดโดย Program ที่ OS Kernel Level และหากมี Program Limit หมายความว่ามัน Overcomable! มาพูดถึงวิธี Enable PAE Mode บน 32-bit Windows 8.1 และ Activate RAM ทั้งหมดสำหรับการใช้งาน

การเข้าถึง RAM มากกว่า 4GB บน 32-bit Windows 8 (x86)

Patch สำหรับ Enable PAE ซึ่งอนุญาตให้ Activate ทั้ง Memory บน Windows 8.1 x86

เป็นไปไม่ได้ที่จะ Enable PAE Mode ใน Windows 8.1 (Windows 8) โดยใช้ Built-in Tools (เพื่อทำเช่นนี้คุณควร Edit htoskrnl.exe File ใน HEX Editor และ Re-sign) ดีกว่าคือใช้ PatchPae2 Patch สำเร็จรูปซึ่งเขียนโดย Wen Jia Liu Enthusiast คุณสามารถ Download Patch ได้ที่นี่ (ใน Archive นี้คุณจะหา PatchPae2.exe เองและ Source Code พร้อม Instructions ที่จำเป็น)

Patch นำเสนอโดย Small Command Line Utility ที่อนุญาตให้ Modify Kernel Files ของ 32-bit Windows Version เพื่อเปิดใช้งาน PAE Mode และอนุญาตให้ใช้ Memory มากกว่า 4 GB (สูงสุด 128 GB)

PatchPae2 รองรับ OS ต่อไปนี้:

  • Windows Vista SP2
  • Windows 7 / Windows 7 SP1
  • Windows 8 / Windows 8.1

Note: ก่อนการติดตั้ง Patch ที่จำเป็น เพื่อหลีกเลี่ยง Conflicts ที่เป็นไปได้ แนะนำให้ Disable Optimizers และ Operative Memory Drivers พวกเขาสามารถ Activate ได้หลังจาก Patch Applied และ System Load ใน PAE Mode

การติดตั้ง PAE Patch ใน Windows 8 / 8.1

Attention: Instruction นี้สามารถใช้ได้เฉพาะ 32-bit (x86) Windows 8 และ Windows 8.1 Versions สำหรับ Microsoft OS Versions ก่อนหน้านี้ Process จะแตกต่างออกไปเล็กน้อย! ระวัง!

  1. Unpack Archive และ Copy PatchPae2.exe ไปที่ %Windir%\system32 Folder (ปกติอยู่บน C:\ Drive)
  2. Run Command Line ด้วย Administrator Privilege
  3. สร้าง Modified Windows 8 Kernel Copy รองรับ Memory สูงสุด 128 GB:
    1 
    PatchPae2.exe -type kernel -o ntoskrnx.exe ntoskrnl.exe
  4. สร้าง Modified Bootloader ใหม่ที่อนุญาตให้ Disable Kernel Digital Signature Verification ระหว่าง Boot:
    1 
    PatchPae2.exe -type loader -o winloadp.exe winload.exe

Note: ในกรณีที่คำสั่งก่อนหน้าสำเร็จทุกคำสั่ง ข้อความ "Patched" ควรปรากฏ

  1. จากนั้นเราควรสร้าง Windows 8 / 8.1 Boot Mode พร้อม Modified Kernel ใหม่โดยเพิ่มเข้า Boot Menu Tip ในขั้นตอนนี้คุณสามารถสร้าง Reserve Copy ของ BCD Configuration ได้เผื่อไว้
  2. สร้าง Boot Option ใหม่โดย Copy Current Configuration และทำ Comment "Windows (PAE Patched)" (หรือ Comment อื่นๆ):
    1 
    bcdedit /copy {current} /d "Windows (PAE Patched)"

การเข้าถึง RAM มากกว่า 4GB บน 32-bit Windows 8 (x86)

  1. จากนั้นจำเป็นต้อง Copy Unique {Boot ID} ที่ได้รับ – {054309ef-97b4-11d3-aef9-955524eb4043} (ในกรณีของคุณจะต่างออกไป) และทำคำสั่งต่อไปนี้ตามลำดับ (จำเป็นต้องใช้ Identifier ที่คุณจะได้รับเป็น Boot ID):
    เลือก Loaded Kernel:
    1 
    bcdedit /set {boot_ID} kernel ntoskrnx.exe

    ตั้งค่า Loader ใหม่:
    1 
    bcdedit /set {boot_ID} path \Windows\system32\winloadp.exe

    ยกเลิก Bootloader Signature Validation:
    1 
    bcdedit /set {boot_ID} nointegritychecks 1

    ใช้ Modified Kernel เป็น Default Boot Option:
    1 
    bcdedit /set {bootmgr} default {boot_ID}

    ตั้งค่า Load Timeout (Boot Menu Display Time) เช่น 10 วินาที:
    1 
    bcdedit /set {bootmgr} timeout 10

    Tip สองคำสั่งสุดท้ายทำได้ทาง Option

    การเข้าถึง RAM มากกว่า 4GB บน 32-bit Windows 8 (x86)

  2. สุดท้ายแค่ Reboot PC และหากคุณทำทุกอย่างถูกต้อง จะมี Screen แบบนี้ปรากฏ เลือก Windows (PAE Patched) และหลังจากนั้น Windows 8.1 x86 ควร Load ใน Mode ที่รองรับ Operative Memory มากกว่า 4 GB

Note User สามารถ Switch จาก PAE ไป Standard Mode และในทางกลับกันได้โดย Reboot PC ทุกเมื่อ Important! จำเป็นต้องระมัดระวังเป็นพิเศษระหว่างการติดตั้ง Windows Security Updates หลังจาก Patch Installation เนื่องจากบาง Windows Updates มี Updates สำหรับ Kernel และหลังจากติดตั้งพวกมัน จำเป็นต้อง Update PAE Kernel ด้วย:

1 
PatchPae2.exe -type kernel -o ntoskrnx.exe ntoskrnl.exe

การลบ PAE Patch

เพื่อลบ PAE Patch จากระบบ จำเป็นต้อง:

  1. Delete Corresponding Record จาก Boot Menu (วิธีที่ง่ายที่สุดคือใช้ msconfig)
  2. Delete ntoskrnx.exe และ winloadp.exe ใน %Windir%\System32 Folder

Patch ไม่ทำ System Changes อื่นๆ