Mejorar el rendimiento de la swap

21 noviembre 2008 – 15:54 pm

Si tenemos varias particiones swap y no nos preocupamos de laprioridad de uso, se usa la priemra partición yc uando necesita smas, se usa la segunda y asi sucesivamente. Sin embargo espreferible usar todas a la par, esto en general mejora ligeramente el rendimiento.

Para hacerlo debemos editar el archivo /etc/fstab y donde hay algo asi:

LABEL=SWAP-sde1 swap swap defaults 0 0
LABEL=SWAP-sdd1 swap swap defaults 0 0
LABEL=SWAP-sdc1 swap swap defaults 0 0
LABEL=SWAP-sdb1 swap swap defaults 0 0

Deberemos actualziarlo a algo parecido a esto:

LABEL=SWAP-sde1 swap swap pri=0 0 0
LABEL=SWAP-sdd1 swap swap pri=0 0 0
LABEL=SWAP-sdc1 swap swap pri=0 0 0
LABEL=SWAP-sdb1 swap swap pri=0 0 0

Compartelo/share-it:
  • Print
  • Facebook
  • Google Bookmarks
  • Add to favorites
  • email
  • LinkedIn
  • PDF
  • RSS
  • Twitter

Post a Comment