タグ

linuxとswapに関するklkkamiのブックマーク (3)

  • Linux Add a Swap File Tutorial

    Procedure To Add a Swap File Under Linux You need to use the dd command to create swap file. The mkswap command is used to set up a Linux swap area on a device or in a file. Step 1 – Login as the Root User Open a terminal window (select Applications > Accessories > Terminal) or login to remote server using the ssh client. Switch to the root user by typing su - (or sudo -s) and entering the root pa

    Linux Add a Swap File Tutorial
  • swapファイルを追加する

    swap領域は物理メモリ容量の不足を補う仮想メモリとして利用されます。また、ハイバネートする際の作業中データもswap領域に保存され、次回起動時にswap領域に保存されたデータから作業中の状態が復元されます。 swap領域専用のパーティションがLinuxのインストール時に作成されますが、インストール時に手動でパーティショニングしてswapパーティションを作らなかったり、物理メモリ容量よりも小さなswapパーティションを作成した場合、物理メモリ容量が不足した際の動作に支障が起こる可能性があります。 swap領域はパーティション方式の他にファイル方式でも利用することができます。swapパーティションを作成していない場合や物理メモリ容量よりも小さなswap領域で支障が起こっている場合はシステムにswapファイルを追加するとよいでしょう。 swapファイル作成 ddコマンドで適当なサイズのファイル

    swapファイルを追加する
  • Swapfiles by default in Ubuntu

    By default, in Ubuntu, we usually create a swap partition. Back in the day of 4MB RAM cards this made total sense, as the ration of RAM to disk space, was still very low. Things have changed since. Server, desktop, embedded systems have migrated to newer generations of both RAM and persistent storage. On the high performance side of things we see machines with faster storage in the form of NVMe an

    Swapfiles by default in Ubuntu
  • 1