Memory tuning

Выбор и настройка HardWare

Модератор: Модераторы разделов

Каменьщик
Сообщения: 189

Memory tuning

Сообщение Каменьщик »

RAM = 256 Mb

Короче, дефолтом шло следующее
swappiness=60
vfs_cache_pressure=100

Свопило это дело по страшному - вынужден был пользовать не более 60% памяти.

По распространённым советам, переправил на
swappiness=10
vfs_cache_pressure=1000
Но после этого приложения частенько начали валиться с memory out, от чегобы?
От swappiness=10 или vfs_cache_pressure=1000 ?
Поправил swappiness на 15, всё стало нормально, но, блин, жаба душит, что более 15% памяти не используется.

Что vfs_cache_pressure делает?
читал
("Al Tobey <albert tobey priority-health com>") писал(а):vfs_cache_pressure
------------------

Controls the tendency of the kernel to reclaim the memory which is used for
caching of directory and inode objects.

At the default value of vfs_cache_pressure=100 the kernel will attempt to
reclaim dentries and inodes at a "fair" rate with respect to pagecache and
swapcache reclaim. Decreasing vfs_cache_pressure causes the kernel to prefer
to retain dentry and inode caches. Increasing vfs_cache_pressure beyond 100
causes the kernel to prefer to reclaim dentries and inodes.


Но ничего не понял, можете это на могучий правильно перевести?
Каково оптимальные значения swappiness и vfs_cache_pressure для высокопроизводительной работы?

Gentoo 2005.1 2.6.12-gentoo-r10
AMD Athlon XP, 1800 MHz (13.5 x 133) 2200+
Gigabyte GA-7VA (VIA VT8377 Apollo KT400; Realtek ALC650 @ VIA AC'97 Enhanced Audio Controller)
NVIDIA Geforce4 MX 440 AGP8X NV18 Chip Rev A2

Да, я именно Каменьщик, ибо нас каменщиков много.
{23.04.06: аккаунт покинут создателем и не используется более}
Спасибо сказали: