zvetseni gmirroru a optimalizace newfs

Miroslav Lachman 000.fbsd at quip.cz
Wed Apr 20 14:22:51 CEST 2016


Miroslav Lachman wrote on 04/19/2016 10:27:

> Kdyby tam bylo vetsi mnozstvi souboru vetsich nez stovky
> kilobytu, pak by se to asi vyplatilo vic.

Tak ani se soubory o velikostech v radech jednotek az desitek MB neni 
prilis znatelny rozdil v rychlosti fsck pro 32/4 a 64/8 kB bloky/fragmenty.


FSCK pro 32k/4k UFS
451282 files, 108712546 used, 824167979 free (60435 frags, 103013443 
blocks, 0.0% fragmentation)

***** FILE SYSTEM IS CLEAN *****
       939.55 real         9.75 user         3.22 sys

# df /dev/mirror/gm1p8
Filesystem         1K-blocks      Used      Avail  Capacity
/dev/mirror/gm1p8 3731522100 434850184 2998150148    13%


FSCK pro 64k/8k UFS
451282 files, 55468786 used, 424184929 free (49209 frags, 53016965 
blocks, 0.0% fragmentation)

***** FILE SYSTEM IS CLEAN *****
       920.54 real         8.21 user         3.52 sys

# df /dev/mirror/gm1p8
Filesystem    1K-blocks           Used      Avail  Capacity
/dev/mirror/gm1p8 3837229720 443750288 3086501056    13%

Mirek



More information about the Users-l mailing list