Announcement

Collapse
No announcement yet.

ไมโครซอฟท์ถึงปิด L2 Cach ใน Windows Vista จริงหรือป่าว? มาดูคำตอบกัน

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • ไมโครซอฟท์ถึงปิด L2 Cach ใน Windows Vista จริงหรือป่าว? มาดูคำตอบกัน

    นี่คือข้อความจากไมโครซอฟท์ MCSA

    This is a myth.
    The default value for this setting is 0, which tells Windows to auto-detect the correct value. Many settings in the registry work this way. The setting is only needed for ery old CPU’s, prior to the Pentium II. In no event will Windows set the detected value in the registry, it will remain at 0.
    Windows only uses this value to optimize some low level memory allocations. The performance penalty for getting it wrong is very low, usually less than 2%. Windows does not use the cache, it is used only by the processor which will always use the full size.
    Bottom line: Unless you are using a CPU more than 10 years old this setting will do nothing.

    Larry Miller
    Microsoft MCSA


    มันเป็นความลึกลับ
    ค่าปริยายสำหรับการตั้งค่า (L2 Cache) คือ 0, ซึ่งเป็นค่าที่บอก Windows ให้หาค่าที่ถูกต้องโดยอัตโนมัติ, การตั้งค่าส่วนมากใน registry ทำงานในรูปแบบเดียวกัน การตั้งค่า (L2 Cache) จำเป็นเมื่อใช้ CPU รุ่นเก่ามากๆ, ก่อนที่ Pentium II จะออกวางจำหน่าย. ถ้าไม่มีอะไรผิดปกติ Windows จะถูกตั้งค่าให้หาค่า L2 Cache ที่ถูกต้องใน registry, ค่าจึงเป็น 0
    ...

    (ใครที่ภาษาอังกฤษแข็งแรงอ่านต่อเองนะคับ)


    สรุปคือ Windows Vista ไม่ได้ปิดการใช้ Cache ระดับ 2 ที่ตั้งค่าเป็น 0 เพื่อให้ Windows หาค่าที่ถูกต้องเอง

  • #2
    Oh...! มาแปลก แล้ว จะรู้ไหมเนี่ย? ถ้าไม่สนใจ

    Comment


    • #3
      อ่ะ แล้วตัวนี้ล่ะ LargeSystemCache Default เป็น 0 นะ แปลว่าไร
      จะบอกว่า จะเปิดให้ อัตโนมัติเหรอ เหอะๆ

      Comment


      • #4
        กำ

        Comment


        • #5
          คำว่า L2 cache มันอยู่ตรงไหนหว่า แปลมั่วมั๊กๆ

          Comment


          • #6
            Originally posted by Ake500 View Post
            คำว่า L2 cache มันอยู่ตรงไหนหว่า แปลมั่วมั๊กๆ
            +1

            Comment


            • #7
              นี้ เป็น ตำนาน.
              ค่า เริ่ม ต้น การ ตั้ง ค่า นี้ เป็น 0 ซึ่ง บอก Windows ให้ อัตโนมัติ ตรวจ สอบ ค่า ที่ ถูก ต้อง. การ ตั้ง ค่า จำนวน มาก ใน รีจิสทรี ทำงาน ทาง นี้. ตั้ง อยู่ ที่ จำเป็น สำหรับ ery เก่า CPU ของ ก่อน Pentium II. ใน กรณี ที่ ไม่มี Windows จะ ตั้ง ค่า ที่ ตรวจ พบ ใน รีจิสทรี จะ อยู่ ที่ 0.
              Windows เพียง ใช้ ค่า นี้ เพื่อ เพิ่ม ประสิทธิภาพ ใน การ จัดสรร หน่วย ความ จำ บาง ระดับ ต่ำ. โทษ ประสิทธิภาพ สำหรับ การ เป็น ธรรม มาก น้อย มัก จะ น้อย กว่า 2%. Windows ไม่ ใช้ แคช จะ ถูก ใช้ เพียง โดย ประมวล ผล ที่ คุณ จะ ใช้ ขนาด เต็ม.
              สรุป: หาก คุณ ใช้ CPU มากกว่า 10 ปี การ ตั้ง ค่า นี้ จะ ทำ อะไร.

              เจ้าของ โรง โม่ Larry
              MCSA Microsoft

              แปลจากกูเกิ้ล

              Comment


              • #8
                ของผมi5เลยไปปรับในregedit ปรับเป็น1024 ตามCPUครับ

                Comment


                • #9
                  คำว่า L2 cache มันอยู่ตรงไหนหว่า แปลมั่วมั๊กๆ
                  เอามาจากการตอนคำถามเรื่อง L2 Cache คับผม แต่ที่ว่าก็ถูกไม่มีคำว่า L2 Cache เลย มีคำว่า Cache คำเดียว แต่รับประกันได้คับว่าเป็นการตอนคำถามเรื่อง L2 Cache จริงๆ

                  ส่วนอันนี้เป็นเอกสารอ้างอิงการตอบคำถามดังกล่าวของ Larry Miller
                  Detailed Explanation of SecondLevelDataCache
                  ข้อความนี้มาจากเอกสารข้างบน
                  "
                  SecondLevelDataCache records the size of the processor cache, also known as the secondary or L2 cache. If the value of this entry is 0, the system attempts to retrieve the L2 cache size from the Hardware Abstraction Layer (HAL) for the platform. If it fails, it uses a default L2 cache size of 256 KB. If the value of this entry is not 0, it uses this value as the L2 cache size. This entry is designed as a secondary source of cache size information for computers on which the HAL cannot detect the L2 cache. "
                  Last edited by c.k.; 12 Jan 2010, 14:12:40.

                  Comment


                  • #10
                    ปิดมาตั้งแต่ XP แล้วครับถ้าจะใช้ต้องไปเปิดเอาใน Registry ครับ
                    วิธีทำ
                    รัน regedit ในช่อง Run ครับ
                    จากนั้นให้ไปที่
                    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\
                    Memory Management]
                    จะเห็น SecondLevelDataCache มันเซตเป็น 0 อยู่ครับให้ Double click แล้วใส่ค่าCache ของ CPU
                    เราไปครับหน่วยเป็น Kb นะครับถ้าไม่มั่นใจว่ามี Cache เท่าไรก็ใช้ CPUZ ดูเอาเน้อ

                    Comment


                    • #11
                      Originally posted by kadaeko View Post
                      ปิดมาตั้งแต่ XP แล้วครับถ้าจะใช้ต้องไปเปิดเอาใน Registry ครับ
                      วิธีทำ
                      รัน regedit ในช่อง Run ครับ
                      จากนั้นให้ไปที่
                      [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\
                      Memory Management]
                      จะเห็น SecondLevelDataCache มันเซตเป็น 0 อยู่ครับให้ Double click แล้วใส่ค่าCache ของ CPU
                      เราไปครับหน่วยเป็น Kb นะครับถ้าไม่มั่นใจว่ามี Cache เท่าไรก็ใช้ CPUZ ดูเอาเน้อ
                      อยากจะย้ำว่าไม่ได้ปิดคับ แต่ถ้าจะตั้งค่าเองก็ไม่มีปัญหาอะไร เพราะมันจะใช้ค่าเหล่านี้ก็ต่อเมื่อ HAL (Hardware Abstraction Layer) ทำงานผิดพลาด โดยเมื่อ HAL ทำงานผิดพลาด windows จะใช้ค่า L2 Cache ที่ 256kb นั่นเอง (ซึ่งค่า 0 ใน registry ส่วนมากทำงานตามที่ Larry Miller กล่าวไว้)

                      ปล. ถ้าใส่ค่าต่ำกว่าหรือสูงกว่าค่าที่เป็นจริงของ L2 Cache กรณีตั้งค่าเอง จะทำให้ประสิทธิภาพของ OS ลดลง 0.4 เปอร์เซ็นต์ (ซึ่งหาก HAL ทำงานผิดพลาดก็เป็นเช่นเดียวกัน)

                      Comment

                      Working...
                      X