Hi,
some time ago I read on the forum somewhere* that a FreeNAS box should not be using its swap space.
Could anybody clarify why that is? I don't really see why the system should not make use of the swap space which is part of its virtual memory after all.
Also is this statement to be considered absolute ("It will never use it. If it does, something is wrong.") or is it more like a rule-of-thumb ("Ideally it would never use it, but it could happen.").
So what I'm tying to find out is basically
However, once I did revert back I could still see small amounts of swap being used from time to time. Now I'm not sure how to treat swap usage and whether it is normal or not.
The purpose of this thread is to get some clarification about how swap space is supposed to be used as well as to ask around if/how you guys see swap usage on your boxes. So feel free to share your thoughts on the matter and/or participate in the poll.
About the poll:
You can lookup your swap usage in the GUI via "Display system processes" or with top from the command line. If your system is making notable use of swap space there will also be given a percentage.
Please only take the poll if your system
*TODO: find reference
some time ago I read on the forum somewhere* that a FreeNAS box should not be using its swap space.
Could anybody clarify why that is? I don't really see why the system should not make use of the swap space which is part of its virtual memory after all.
Also is this statement to be considered absolute ("It will never use it. If it does, something is wrong.") or is it more like a rule-of-thumb ("Ideally it would never use it, but it could happen.").
So what I'm tying to find out is basically
- is it ok to use swap?
- if no
- why is that?
- if yes
- when is it ok?
- how much is ok?
- is there a way to see what was swapped out?
- if no
However, once I did revert back I could still see small amounts of swap being used from time to time. Now I'm not sure how to treat swap usage and whether it is normal or not.
Code:
Mem: 126M Active, 1588M Inact, 28G Wired, 1486M Free ARC: 22G Total, 11G MFU, 9612M MRU, 818K Anon, 744M Header, 1349M Other Swap: 12G Total, 12K Used, 12G Free
The purpose of this thread is to get some clarification about how swap space is supposed to be used as well as to ask around if/how you guys see swap usage on your boxes. So feel free to share your thoughts on the matter and/or participate in the poll.
About the poll:
You can lookup your swap usage in the GUI via "Display system processes" or with top from the command line. If your system is making notable use of swap space there will also be given a percentage.
Please only take the poll if your system
- meets the minimum requirements
- has its ARC filled and
- is kinda busy at the time you look for its swap usage
*TODO: find reference