UFS: optimization changed

Oleg Gritsak go at sib-ecometall.ru
Thu Apr 26 04:02:01 UTC 2007


Hello, dear sirs! 

I'm just curious about some possible mismatch in between 
documentation and reallife OS behaviour... Noticed this thing for 
more than two years ago in 4.X and now seing this in 6.2...

It is said in "man newfs" and "man tunefs" that threshhold for online optimization 
(space or time) is 8 percent. But actually, FreeBSD switches to 
SPACE far more earlier (or at least reports to system message buffer).

Does it have any sense? As also noted in "man newfs", the performance
while optimizing for space fragmentation is reduced. So, why FreeBSD does
this when file system is for example 50% empty and has 4-5GBs of free space?


-- 
системный администратор ООО "Сиб-ЭкоМеталл"
тел. (3912) 609942 (144)


More information about the freebsd-stable mailing list