eka@Ekade-MacBook-Pro ~ ssh eka@0.0.0.0 Linux eric 6.6.31+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.31-1+rpt1 (2024-05-29) aarch64
The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Fri Sep 6 15:58:11 2024 from 0.0.0.0 eka@eric:~ $ free -m total used free shared buff/cache available Mem: 907 267 55 0 643 640 Swap: 7381 205 7176 eka@eric:~ $
SWAP v.s. RAM
速度: RAM 勝
用途: RAM不夠用SWAP延伸
揮發性: SWAP在硬碟/記憶卡, 數據會保留
容量: SWAP可以設置較大
成本: RAM較高
1 2 3 4
eka@eric:~ $ free -m total used free shared buff/cache available Mem: 907 265 68 0 632 641 Swap: 7381 205 7176