what is the meaning of "optimization changed from TIME to SPACE"

Nikola Lečić nikola.lecic at anthesphoria.net
Tue Feb 19 20:40:30 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

On Tue, 19 Feb 2008 10:21:18 -0500
Bill Moran <wmoran at potentialtech.com> wrote:
 
[...]
> > ivan dimitrov wrote:
> > > After upgrading from freebsd-5.5-R to 6.3-R, I get the following
> > > message in dmesg:
> > >
> > > "/storage/pub/www/ram: optimization changed from TIME to SPACE"
[...] 
> UFS normally optimizes file placement for performance.  Unfortunately,
> in order to do this it has to write files in such a way that it
> sometimes wastes some space.  When the partition gets close to full,
> FreeBSD automatically switches to "space optimization" which doesn't
> waste any space, but doesn't perform as well.
> 
> The short answer is, "This is happening because your partition is too
> close to full.  It's not an error, but you should clean up some files
> or add space."
> 
> It also has nothing to do with the difference between 5.5 and 6.3.

It seems that man pages (such as newfs(8) and tunefs(8)) don't have a
lot of details about this matter. OP can also read this very informative
post regarding disk fragmentation and time/space optimisation:

  http://lists.freebsd.org/pipermail/freebsd-stable/2007-April/034711.html

Regards.
- -- 
Nikola Lečić = Никола Лечић
fingerprint : FEF3 66AF C90E EDC3 D878  7CDC 956D F4AB A377 1C9B
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iQCVAwUBR7s+0fzDP9K2CKGYAQP7FQQAyrGPKIlbUCNPlasIpQJNAiJXYG7soOlG
aj7ZpeL+Cnq/5EKT50TF9kc7tXvAOv9IrNsu6xg8QBe6gQVJJ/b56cKcZ48eC77y
Pd+RXi/d1lweNZ9PSPqNpcsLvTrl/xnx4KOW7/E1jwFvufD01mgAsYDdVwa7KGrz
Ky3Lv5ZlOLA=
=5Thf
-----END PGP SIGNATURE-----


More information about the freebsd-questions mailing list