linux swap ?

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
kidflash

linux swap ?

Post by kidflash »

new to the linux world but i have a quick question what does the "linux swap" mean under system monitor

:D
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
markcynt

Re: linux swap ?

Post by markcynt »

Aging Technogeek

Re: linux swap ?

Post by Aging Technogeek »

In Linux, swap space is similar to the page file in Windows, it is a small (usually not more than twice the size of the installed ram) section of the hard drive that the OS can use to store data temporarily if needed to free up ram space for current operations.

Swap has a second function as temporary storage when the system is put into hibernation. When the system hibernates, all running programs and all data in use are stored in the swap space. That is why, on computers that need to hibernate (usually laptops) swap space must equal or exceed the size of the installed ram.

On a modern desktop with several GB of ram, swap space is almost never used so it can be left out or kept minimal (512 MB- 1 GB).
fixrman
Level 3
Level 3
Posts: 111
Joined: Fri Apr 20, 2007 11:25 pm
Location: Pennsylvania

Re: linux swap ?

Post by fixrman »

When I installed Isa, I didn't know how big the swap should be and made it 5G, or 5x my RAM. What will it do?
bennachie
Level 2
Level 2
Posts: 89
Joined: Sat May 09, 2009 6:01 am

Re: linux swap ?

Post by bennachie »

If you have more than 2.5GB of RAM, it will be smaller than the usual guideline (but you wouldn't need more than the actual amount of RAM to provide for hibernation and, in any case, you would be unlikely to run short of physical RAM while running Mint). If you have less than 2.5GB of RAM, apart from taking up a little more space than necessary, it will work just fine. Unless hard disk space is at a premium, 5GB sounds like a pretty sensible allocation for the swap space.
vincent

Re: linux swap ?

Post by vincent »

Having too much swap space isn't going to affect your system, it's just a waste of hard drive space.
fixrman
Level 3
Level 3
Posts: 111
Joined: Fri Apr 20, 2007 11:25 pm
Location: Pennsylvania

Re: linux swap ?

Post by fixrman »

Great, thanks.
Locked

Return to “Beginner Questions”