Subject: Re: slow disk access with large cpg values
To: <>
From: David Laight <david@l8s.co.uk>
List: netbsd-users
Date: 04/22/2004 21:32:14
> i created the filesystem again (but this time with bsize=16k. this 
> increases cpg value to 42760; newfs reports 92 cylinder groups of 
> 211.52MB... is this correct? david mentioned something around 55mb for 
> 8kb blocks being the largest 'cg' size... i have 16block, i.e. i'd 
> expect 'cg' to be 110mb...

Yes, you double the number of bits in the allocation map (1 block) and
double the amount that each bit refers to (1 fragment each).

Oh, mkfs sets 'pp->p_cpg = sblock.fs_fpg;' (aka fragments per group)
which can exceed the 16bits available.

	David

-- 
David Laight: david@l8s.co.uk