Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

User:Kir/042stab040 improvements

18 bytes added, 15:50, 9 November 2011
Some VSwap internals: fix pre -> code
by this container" (i.e. physpages).
Second is '''Directory directory entry cache''' (dcache for short) is yet another sort of cache,
and another sort of the kernel memory. Disk contents is a tree of files and directories,
and such a tree is quite tall and wide. In order to read the contents of, say,
<precode>/bin/sh</precode> file, kernel have to read the root (<precode>/</precode>) directory, find '<precode>bin</precode>' entryin it, read <precode>/bin</precode> directory, find '<code>sh</code>' entry in it and finally read it.
Although these operations are not very complex, there is a multitude of those, they take time
and are repeated often for most of the "popular" files. In order to improve performance,