Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Dec 2005 02:37:16 +0100 (CET)
From:      Wojciech Puchar <wojtek@tensor.3miasto.net>
To:        freebsd-questions@freebsd.org
Subject:   bumping MAXPHYS - success
Message-ID:  <20051202023025.T84280@chylonia.3miasto.net>

next in thread | raw e-mail | index | archive | help
bumped to 1024*1024=1MB in /usr/src/sys/sys/param.h and recompiled kernel.

all test performed on filesystem on which right newfs options were used so 
FFS were able to use it.

effects:

single process - almost no gain, bonnie++ showed about 5% worse speeds on 
linear read and linear write, about 2% better at rewrite, same with seek.

multiple process and heavy disk load - HUGE gain. copying large files does 
not slow down so much when doing
find / >/dev/null
in the same time, multiple large file operations performs smooth, much 
less seeks etc.


i will keep this setting.

tried to manipulate with vfs.{hi,lo}runningspace - defaults are OK, where 
hirunningspace=1MB=MAXPHYS. after enlarging performance was not better, 
while delays (average service time) much worse. so defaults are OK.

settings more than 1MB probably doesn't make sense.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051202023025.T84280>