[DiscordArchive] Does `swapon --show` show 4 GB too?
[DiscordArchive] Does `swapon --show` show 4 GB too?
Archived author: Revision • Posted: 2024-02-16T01:30:42.202000+00:00
Original source
```
cat /proc/sys/vm/swappiness
```
Check that one. Usually it's 60% by default and if it is, it's odd. It's odd regardless but even more so if that is 60%. Even though my ubuntu machines don't need swap they're still using 1MB of it
Archived author: Mopheus • Posted: 2024-02-16T01:31:30.494000+00:00
Original source
60
Archived author: Revision • Posted: 2024-02-16T01:32:10.043000+00:00
Original source
I'm confused
Archived author: Revision • Posted: 2024-02-16T01:32:46.152000+00:00
Original source
I don't know then, I've never had issues with it flat out refusing to use swap.
Archived author: Mopheus • Posted: 2024-02-16T01:33:47.904000+00:00
Original source
It is weird... maybe my drive is running out of space or the vm drive size... I'll need to check just in case
Archived author: Rymercyble • Posted: 2024-02-16T01:34:17.281000+00:00
Original source
swap is so slow it wouldnt help anyway even if u got m2 ssd
Archived author: Revision • Posted: 2024-02-16T01:34:20.762000+00:00
Original source
```
df -h
```
Archived author: Revision • Posted: 2024-02-16T01:34:39.122000+00:00
Original source
Swap is slow but worst case scenario
Archived author: Mopheus • Posted: 2024-02-16T01:34:43.030000+00:00
Original source
Filesystem Size Used Avail Use% Mounted on
tmpfs 392M 720K 391M 1% /run
/dev/sda2 30G 18G 11G 64% /
tmpfs 2.0G 0 2.0G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 392M 4.0K 392M 1% /run/user/1000
Archived author: Revision • Posted: 2024-02-16T01:35:20.114000+00:00
Original source
I've run mysql (for azerothcore) on 1GB RAM + 1GB swap - of course it was just to see what would happen but it didn't suffer for it, the startup was a bit slower but not noticable in-game.