Steam telepítése
belépés
|
nyelv
简体中文 (egyszerűsített kínai)
繁體中文 (hagyományos kínai)
日本語 (japán)
한국어 (koreai)
ไทย (thai)
Български (bolgár)
Čeština (cseh)
Dansk (dán)
Deutsch (német)
English (angol)
Español - España (spanyolországi spanyol)
Español - Latinoamérica (latin-amerikai spanyol)
Ελληνικά (görög)
Français (francia)
Italiano (olasz)
Bahasa Indonesia (indonéz)
Nederlands (holland)
Norsk (norvég)
Polski (lengyel)
Português (portugáliai portugál)
Português - Brasil (brazíliai portugál)
Română (román)
Русский (orosz)
Suomi (finn)
Svenska (svéd)
Türkçe (török)
Tiếng Việt (vietnámi)
Українська (ukrán)
Fordítási probléma jelentése
you can do it by 1st creating the file
sudo dd if=/dev/zero of=/home/deck/swapfile bs=1M count=4096
-- this will create a 4gb file
sudo chmod 600 /home/deck/swapfile
-- you must change the permissions so only root can read it
sudo mkswap /home/deck/swapfile
-- then format the file from data to swap
sudo swapon /home/deck/swapfile
-- and finally turn on the swaps usage
sudo swapon --show
-- you can then check to see if its active
sudo swapoff /home/deck/swapfile
-- this will turn its usage off if need be
obviously would be good to have an built in method but i dont think that many will run into this and the addition/change is very simple.
you can also then add the file to /etc/fstab to retain its usage after reboot
This is actually not true. Read up on the "swappiness" value which determines the aggressiveness of swapping. The default is 60 and the Steam Deck appears to be at 100 (as aggressive as it gets). It will swap long before running out of system memory. During normal usage you will be using both system memory and swap. If you were to disable swap, it would actually severely impact system performance negatively. This is actually a bit more complicated than a lot of people think, everyone seems to have that moment where they think they'll disable swap or lower their swappiness value, just to find everything is worse than before. I would advise never disabling swap or changing the swappiness value (or at least not lowering it), and usually I'd have at least half as much swap as I do RAM. The old common advice was to create twice as much swap as RAM, but as common RAM amounts went up it seemed a bit ridiculous to keep doubling it, so I'll do 8GB swap for 16GB RAM and so on.
I can't say one way or another whether your FPS will improve increasing the swap file size (I'm not sure why it would, but I guess it's possible), but I happened across this thread while looking up where the Deck's swap file was stored and thought I'd chime in.
With SteamOS 3.5 the swappiness value is set to 60 instead of 100, wonder why it was even set to 100 in the first place.
Steam decks are SSD. The storage is fast enough for 100 swappiness to not be an issue.
https://lwn.net/Articles/690079/
Kernel devs have talked about increasing the swappiness for fast SSD to 200. However, I believe Valve made the right decision to decrease to 60 because they also release eMMC steam decks. eMMC might be slower than HDD.