Difference between revisions of "Swap"

m
changed "speed of the disk is higher on the inside tracks" to "speed of the disk is higher on the outside tracks"
(removed dead link)
m (changed "speed of the disk is higher on the inside tracks" to "speed of the disk is higher on the outside tracks")
Tags: Mobile web edit Mobile edit
(One intermediate revision by one other user not shown)
Line 90: Line 90:
     read -n 1 -s -r -p "Press any key to continue"
     read -n 1 -s -r -p "Press any key to continue"
   else
   else
     echo "[warning] zwap not active. Continuing"
     echo "[warning] zswap not active. Continuing"
   fi
   fi
  else
  else
Line 99: Line 99:
  done | sort --key 2 --numeric --reverse | more
  done | sort --key 2 --numeric --reverse | more
<translate>
<translate>
=Using a Swap Partition= <!--T:32-->
=Using a Swap Partition= <!--T:32-->


Line 121: Line 122:


{{note|<translate><!--T:97--> Be sure to replace /dev/sda3 in the above commands with your actual swap partition.</translate>}}
{{note|<translate><!--T:97--> Be sure to replace /dev/sda3 in the above commands with your actual swap partition.</translate>}}
{{tip|<translate><!--T:98--> ''If you're using a HDD'' (spinning rust) put the swap partition *at the beginning of the disk* as the speed of the disk is higher on the inside tracks. On an SSD this doesn't matter.</translate>}}
{{tip|<translate><!--T:98--> ''If you're using a HDD'' (spinning rust) put the swap partition *at the beginning of the disk* as the speed of the disk is higher on the outside tracks. On an SSD this doesn't matter.</translate>}}
<translate>
<translate>


1

edit