Re2: file weirdness / vnlru process issues

Pawel Biernacki kaktus at dragonflybsd.pl
Mon Oct 18 16:31:53 PDT 2004


On 2004-10-18, Matthew Dillon <dillon at xxxxxxxxxxxxxxxxxxxx> wrote:
>     Here is a new patch set.  I missed a case in cache_nlookup().  The other
>     patch will work but might still result in unnecessary vnlru process
>     wakeups.
>
>     The hysteresis is designed such that in a heavily loaded system only 1
>     out of 10 calls to the namecache will eat cpu cycles cleaning up negative
>     cache entries.

ok, i've tested it. looks like the problem with vnlru is resolved. i see
a lot of fun HL/LH like

Oct 19 01:05:36 apocalypse kernel: HLHLH
Oct 19 01:05:36 apocalypse kernel: LHLHL
Oct 19 01:05:37 apocalypse kernel: HL
Oct 19 01:05:45 apocalypse kernel: HLHLHL
Oct 19 01:05:46 apocalypse kernel: HL
Oct 19 01:05:46 apocalypse kernel: HLHL
Oct 19 01:05:46 apocalypse kernel: HL

and one

Oct 19 01:13:40 apocalypse kernel: HLX

but cvsup eats too much cpu, while updating - 75%-85%, but while fetching
only new files only 5% of cpu.

-- 






More information about the Bugs mailing list