User Tools

Site Tools


doc:appunti:hardware:raspberrypi_nas_kodi

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
doc:appunti:hardware:raspberrypi_nas_kodi [2022/08/10 09:44] – [RaspiOS 11 Bullseye] niccolodoc:appunti:hardware:raspberrypi_nas_kodi [2022/08/10 09:49] – [Swap file] niccolo
Line 33: Line 33:
  
 ==== Swap file ==== ==== Swap file ====
 +
 +The default RaspiOS installation will enable a swap file to support system memory. Using the **free** command you can see that a 100 Mb swap file was enabled:
 +
 +<code>
 +               total        used        free      shared  buff/cache   available
 +Mem:         3931052      274392       55828      105748     3600832     3397328
 +Swap:         102396      102396           0
 +</code>
 +
 +The swap file is **/var/swap** and unfortunately it is on the very slow **SD card**. Having 4 Gb of RAM it is preferable to disable the swap at all, just using the systemd **dphys-swapfile** service:
 +
 +<code>
 +systemctl stop dphys-swapfile.service
 +systemctl disable dphys-swapfile.service
 +</code>
  
 ==== Web References ==== ==== Web References ====
doc/appunti/hardware/raspberrypi_nas_kodi.txt · Last modified: 2023/06/10 17:24 by niccolo