How many of swap space for Linux system

Posted In System - By Tum. On Sunday, December 21st, 2008 With 0 Comments

มีหลายคนสงสัยเกี่ยวกับการสร้าง swap ในขั้นตอนการ Install ว่าควรจะมีขนาดเท่าไหร่ โดยมาตราฐานแล้วควรที่จะมี swap space อย่างน้อย 2 เท่าของ ram แต่ถ้าระบบเรามี ram มากละจะต้องเพิ่มเป็น 2 เท่า อย่างงี้จริงหรือ แล้วไม่เสียเนื้อที่โดยไม่จำเป็นหรือ ในบทความนี้จะมาแก้ข้อสงสัยตรงนี้ให้กระจ่างว่าเราควรมี swap space เท่าไหร่กันดี

ข้อแนะนำสำหรับ swap space



  • ถ้าระบบมี ram 0 – 1GB จะต้องมี swap ขนาดอย่างน้อย 2 เท่าของ ram
  • ถ้าระบบมี ram 4GB หรือน้อยกว่า จะต้องมี swap ขนาดอย่างน้อย 2GB
  • ถ้าระบบมี ram 4GB – 16GB จะต้องมี swap ขนาดอย่างน้อย 4GB
  • ถ้าระบบมี ram 16GB – 64GB จะต้องมี swap ขนาดอย่างน้อย 8GB
  • ถ้าระบบมี ram 64GB – 256GB จะต้องมี swap ขนาดอย่างน้อย 16GB
คำค้นยอดนิยม: swap linux
Tags: ,

Leave a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">

*