I know that maybe this was discussed in other topics but i want to understand the role that swappiness has.
I noticed yesterday that running my apps (pidgin, skype and firefox) plus a game (a.k.a Regnum) i was using 1,5Gb RAM from 2Gb available and 100Mb of swap. I know that /proc/sys/vm/swappiness is set to 60. Do you think i should adjust the value from 60 to lower or higher? Personally i don
t understand why, since 1,5 Gb RAM are used and 500Mb are still free, the swap was already used for those 100Mb.
On 08/09/2011 08:16 AM, creatura85 wrote:
>
> i don`t understand why, since 1,5 Gb RAM are used and 500Mb are still
> free, the swap was already used for those 100Mb
100 MB is ‘nothing’…the system will sometimes ‘decide’ that
‘something’ needs to be in swap…my best advice is to let the kernel
decide, especially if it is stuffing only 100M into a 2,000M space
you might wanna read some from here: http://tinyurl.com/3bwdocm
the first four hits looks like they might be enlightening…if not keep
reading…
–
DD
openSUSE®, the “German Engineered Automobiles” of operating systems!
Maximum swap space ever used was 500Mb, due to Virtual box being active along side with Firefox.
I was curios about it and after google-ing i found that someone set the value of swappiness to 100; i just did that too and i see no difference at the moment. I wonder if i will see something when starting Regnum with eats a lot of RAM.
DenverD’ i have read the first 4 links in that google search; they helped in way to see the good and the bad of adjusting swappiness. As i said earlier i have set swappiness to 100 and i see no difference at all. I will revert the change if i “smell” that my chameleon is getting lazy
I’ve read somewhere that the default swappiness setting in openSUSE is somewhat biased towards server settings. Have reduced mine (can’t remember to what setting, can’t even remember where it is stored) and find that my swap file hasn’t been bothered since, even with a couple of VMs running for days on end. Mind you, I do have 8Mb RAM.
On 08/09/2011 11:56 AM, creatura85 wrote:
>
> i have set swappiness to 100 and i see no difference at all.
i’ve been using Linux since about '98 and i’ve never adjusted my
swappiness…so . . .
now, when i last used Microsoft’s finest, i was always trying to hunt
down magic tricks to speed it up…but, then i moved to OS/2 (in 1995)
haven’t wasted many hours at all trying to find shocking speed bumps…
ymmv
–
DD
openSUSE®, the “German Engineered Automobiles” of operating systems!
What is this suppose to mean?
gminnerup: i have only 2 Gb of RAM
On 08/09/2011 02:26 PM, creatura85 wrote:
>> ymmv
> What is this suppose to mean?
Literally, “Your Mileage May Vary,” coming from the small print in
(American?) automobile commercials in the 70’s and 80’s. It has come to
mean an acknowledgment that the opinion of the poster may not be shared
by everyone. cite: http://www.urbandictionary.com/define.php?term=ymmv
–
DD
openSUSE®, the “German Engineered Automobiles” of operating systems!
DenverD wrote:
> On 08/09/2011 02:26 PM, creatura85 wrote:
>>> ymmv
>> What is this suppose to mean?
>
>
> Literally, “Your Mileage May Vary,” coming from the small print in
> (American?) automobile commercials in the 70’s and 80’s. It has come to
> mean an acknowledgment that the opinion of the poster may not be shared
> by everyone. cite: http://www.urbandictionary.com/define.php?term=ymmv
>
For your entertainment Where I work, that URL produces:
"The URL you requested has been blocked. URL =
www.urbandictionary.com/define.php?term=ymmv
If you feel this is an error please contact the IT Dept
Your IP address has been logged."
But don’t worry; I know what YMMV means. I’ll just wait to see if the
thought police come to arrest me.
On 08/09/2011 03:10 PM, Dave Howorth wrote:
> For your entertainment Where I work, that URL produces:
> "The URL you requested has been blocked. URL =
>
> I’ll just wait to see if the
> thought police come to arrest me.
thanks for that, it would be entertaining except for silly misplaced
need of some do-gooders to ‘protect’ me/you…
i would ‘hate’ to work for an organization who is afraid of some
arrangements of the symbols we call letters…
especially when those very same people allow arrangements of letters
like: @$$H0L3 (or even WTF which are in these fora daily) to sail
through their Righteous filters…
sticks and stones.
–
DD
openSUSE®, the “German Engineered Automobiles” of operating systems!
After a day of having swappiness set to 100 i see no major difference. The one difference i`ve noticed is that now the swap gets used after 1,8 Gb of Ram is used by applications(swappiness value is 100) instead of 1,5 or 1,6 Gb of RAM (swappiness value 60). Games feel the same no change here.