Birmingham mumbai



Download 15,21 Mb.
Pdf ko'rish
bet263/482
Sana13.01.2022
Hajmi15,21 Mb.
#355107
1   ...   259   260   261   262   263   264   265   266   ...   482
Bog'liq
Mastering Ubuntu Server Gain expertise in the art of deploying, configuring, managing, and troubleshooting Ubuntu Server by Jay LaCroix (z-lib.org)

[
 201 
]
To change this value on the fly, you can execute the following command:
sudo sysctl vm.swappiness=30 
This method doesn't set 
swappiness
 permanently, however. When you execute that 
command, 
swappiness
 will immediately be set to the new value and your server will 
act accordingly. Once you reboot, though, the 
swappiness
 value will revert back to 
the default. To make the change permanent, open the following file with your text 
editor:
/etc/sysctl.conf 
A line in that file corresponding to 
swappiness
 will typically not be included by 
default, but you can add it manually. To do so, add a line such as the following to the 
end of the file and save it:
vm.swappiness = 30 
Changing this value is one of many techniques within the realm of performance 
tuning. While the default value of 
60
 is probably fine for most, there may be a 
situation where you're running a performance-minded application and can't afford 
to have it swap any more than it absolutely has to. In such a situation, you would 
try different values for 
swappiness
 and use whichever one works best during your 
performance tests.
In the next section, we'll take a look at another important metric to keep an eye on: 
load average. The load average gives us an idea of how busy the CPU(s) might be, so 
we can better understand how to tell when our server is overwhelmed and we may 
need to take action.

Download 15,21 Mb.

Do'stlaringiz bilan baham:
1   ...   259   260   261   262   263   264   265   266   ...   482




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish