From the course: Linux: Storage Systems
Unlock this course with a free trial
Join today to access over 24,900 courses taught by industry experts.
Configure and manage swap space - Linux Tutorial
From the course: Linux: Storage Systems
Configure and manage swap space
- [Instructor] Linux swapping, a desperate act. Hopefully you're not going to have swapping on your system, but sometimes better than the alternatives. A system that's swapping is over-committed and performance can drop dramatically. Orders of magnitude's slower, so it's a really big deal. Having swapped space gives the kernel some space to take things out of RAM to make room for other things that are running, so hopefully they can run better. The things being swapped don't get to run, and swapping, doing all the disk IO, can be slow. Sometimes it's preferable to not have swap space and have the kernel panic because it can't find memory and reboot. If you have a high availability system, you have a failover server, then instead of having one swap and be slow, it can be better to failover to the other one and reboot the first one. So if you want to have swapping though, you got to allocate it. So like we said, if you don't have swap space and there's not enough available RAM, the…
Contents
-
-
-
-
-
-
(Locked)
Configure and manage swap space5m 31s
-
(Locked)
Configure remote block-storage devices1m 33s
-
(Locked)
Use targetcli4m 59s
-
(Locked)
Backup and recovery strategies2m 6s
-
(Locked)
Use backup tools1m 53s
-
(Locked)
Assemble RAID devices5m 44s
-
(Locked)
Challenge: Swap space, rsync, and RAID1m 3s
-
(Locked)
Solution: Swap space, rsync, and RAID4m 32s
-
(Locked)
-
-