|
|
ru.linux- RU.LINUX --------------------------------------------------------------------- From : Kirill Frolov 2:5030/827.2 30 Apr 2004 15:10:35 To : Peter Irich Subject : Re: HDD activity 2 -------------------------------------------------------------------------------- On Tue, 27 Apr 04 21:00:44 +0400, Peter Irich wrote: SK>> Памяти (RAM) добавь. PI> Этo явление - пoмеха oт кoмпьютеpа - имеет местo и в кoнсoли с тестoвoй PI> пpoгpаммoй, а не тoлькo в X-ах с pабoчей, хoтя и pеже, чем в X-ах, так PI> чтo, навеpнoе, делo не тoлькo в памяти. Скopее всё же в диске, т.к. на PI> негo пеpиoдически дoлжен сбpасываться кэш, нo ведь 1 pаз в 5 секунд, PI> а не в 2? Hу подкрути что-ли... Вот мои настройки: nfract 40 ndirty 0 nrefill 0 nref_dirt 0 dummy 500 age_buffer 3000 age_super 60 dummy 0 dummy 0 Соответственно echo "40 0 0 0 500 3000 60 0 0" > /proc/sys/vm/bdflush $ cat $docs/kernel-doc-2.4.18/Documentation/filesystems/proc.txt 2.4 /proc/sys/vm - The virtual memory subsystem ----------------------------------------------- The files in this directory can be used to tune the operation of the virtual memory (VM) subsystem of the Linux kernel. In addition, one of the files (bdflush) has some influence on disk usage. bdflush ------- This file controls the operation of the bdflush kernel daemon. It currently contains nine integer values, six of which are actually used by the kernel. They are listed in table 2-2. Table 2-2: Parameters in /proc/sys/vm/bdflush .............................................................................. Value Meaning nfract Percentage of buffer cache dirty to activate bdflush ndirty Maximum number of dirty blocks to write out per wake-cycle nrefill Number of clean buffers to try to obtain each time we call refill nref_dirt buffer threshold for activating bdflush when trying to refill buffers. dummy Unused age_buffer Time for normal buffer to age before we flush it age_super Time for superblock to age before we flush it dummy Unused dummy Unused .............................................................................. --- [ZX] * Origin: 0D00 1E54 41D1 9753 3F41 40F7 4BBA 050B 30E8 0E4E (2:5030/827.2) Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.linux/38337ac896a5.html, оценка из 5, голосов 10
|