Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Swap it's using or not ?
Swap it's using or not ?
Please i have Little understanding issue, iam not shure if me 4Gb Swap are in Use or not, please can give me here anybody Little help for this?
Application - top
KiB Swap: 3993596 total, 0 used, 3993596 free.
Application - Free -m
Swap: 3899 0 3899
cat /etc/fstab
UUID=e25a8f8d-649f-4734-8c7a-da109d7005ed none swap sw 0 0
iam thinking that me Swap Partition are not being in use, from the System.
regards for possible help
Regards
M
Application - top
KiB Swap: 3993596 total, 0 used, 3993596 free.
Application - Free -m
Swap: 3899 0 3899
cat /etc/fstab
UUID=e25a8f8d-649f-4734-8c7a-da109d7005ed none swap sw 0 0
iam thinking that me Swap Partition are not being in use, from the System.
regards for possible help
Regards
M
- dilberts_left_nut
- Administrator
- Posts: 5346
- Joined: 2009-10-05 07:54
- Location: enzed
- Has thanked: 12 times
- Been thanked: 66 times
Re: Swap it's using or not ?
Yes, your swap is not currently being used.
AdrianTM wrote:There's no hacker in my grandma...
- dilberts_left_nut
- Administrator
- Posts: 5346
- Joined: 2009-10-05 07:54
- Location: enzed
- Has thanked: 12 times
- Been thanked: 66 times
Re: Swap it's using or not ?
Use up your RAM, then it will start to use your swap....
AdrianTM wrote:There's no hacker in my grandma...
Re: Swap it's using or not ?
i don't can give to this machine more "Memory" RAM, it's a pakage and i can't give more.
i was thinking that if RAM space are gone, this will automaticaly cosider the Swap space.
i'ts no other way to forcing to use the Swap space ?
i was thinking that if RAM space are gone, this will automaticaly cosider the Swap space.
i'ts no other way to forcing to use the Swap space ?
- dilberts_left_nut
- Administrator
- Posts: 5346
- Joined: 2009-10-05 07:54
- Location: enzed
- Has thanked: 12 times
- Been thanked: 66 times
-
- Posts: 38
- Joined: 2017-04-21 09:38
Re: Swap it's using or not ?
You do realize that virtual memory is way slower than your RAM, why do you want to force use swap if you have enough memory?
ⵉⵎⴰⵣⵉⵖⴻⵏ / imaZighen
-
- Global Moderator
- Posts: 3049
- Joined: 2017-09-17 07:12
- Has thanked: 5 times
- Been thanked: 132 times
Re: Swap it's using or not ?
There may be a misunderstanding about the meaning of "used".
The swap is activated and available, but the system does not need to swap out data to it for now. So 0 swap space is used.
If you want your system to swap out data, you must use more memory, run more programs, read more files...
You can also increase its tendency to swap by increasing the value in /proc/sys/vm/swappiness.
Also, swap can be in RAM (see zram and zswap).
The swap is activated and available, but the system does not need to swap out data to it for now. So 0 swap space is used.
If you want your system to swap out data, you must use more memory, run more programs, read more files...
You can also increase its tendency to swap by increasing the value in /proc/sys/vm/swappiness.
Virtual memory is virtual, and as such has no intrinsic speed. RAM is a part of virtual memory.imazighen-thamzgha wrote:virtual memory is way slower than your RAM
Also, swap can be in RAM (see zram and zswap).
Re: Swap it's using or not ?
Hello p.H
And thank you for your answer !!
yes i know that the Ram are mutch faster then the Physical Swap space, i have here Virtual machine provided with 2 GB RAM, and i cant add more.
so i mentoined that if this are Limit arrived the Disk Swappines will be start. Also if not the quickest, are not the Probleme, but it will be help .....
Possible only for short time
root@mail:/proc/sys/vm# cat swappiness
60
that are telling me ? no man i have found about man swappiness.
But yes you are true, and thanks for your more detailed help!
Regards
M
And thank you for your answer !!
yes i know that the Ram are mutch faster then the Physical Swap space, i have here Virtual machine provided with 2 GB RAM, and i cant add more.
so i mentoined that if this are Limit arrived the Disk Swappines will be start. Also if not the quickest, are not the Probleme, but it will be help .....
Possible only for short time
root@mail:/proc/sys/vm# cat swappiness
60
that are telling me ? no man i have found about man swappiness.
But yes you are true, and thanks for your more detailed help!
Regards
M
-
- Posts: 38
- Joined: 2017-04-21 09:38
Re: Swap it's using or not ?
Any form of virtual memory is slower than physical memory, either by using compression or pagingp.H wrote:Virtual memory is virtual, and as such has no intrinsic speed. RAM is a part of virtual memory.imazighen-thamzgha wrote:virtual memory is way slower than your RAM
Also, swap can be in RAM (see zram and zswap).
I was more referring to swapping
ⵉⵎⴰⵣⵉⵖⴻⵏ / imaZighen
-
- Global Moderator
- Posts: 3049
- Joined: 2017-09-17 07:12
- Has thanked: 5 times
- Been thanked: 132 times
Re: Swap it's using or not ?
Yes, but not "way slower" when the page is in RAM.imazighen-thamzgha wrote:Any form of virtual memory is slower than physical memory, either by using compression or paging
-
- Posts: 38
- Joined: 2017-04-21 09:38
Re: Swap it's using or not ?
compression and decompression in RAM takes time and is only used in case of memory limits, it is slow :)))
ⵉⵎⴰⵣⵉⵖⴻⵏ / imaZighen