Edgar Fuß <[email protected]> wrote: > > 35685270 bytes/sec > That's OK. > > > Note I removed -o log > Shouldn't make a difference, I think.
I re-enabled -o log and did the dd test again on NetBSD 6.0 with the patch you posted and vfs.wapbl.verbose_commit=2 # dd if=/dev/zero bs=64k of=out count=10000 10000+0 records in 10000+0 records out 655360000 bytes transferred in 17.331 secs (37814321 bytes/sec) kernel log: wapbl_flush: 1379547406.828798896 this transaction = 168960 bytes wapbl_cache_sync: 1: dev 0x1208 0.141346518 wapbl_cache_sync: 2: dev 0x1208 0.052974853 / 168960 bytes 0.468 secs 0.361 MB/sec wapbl_flush: 1379547409.299850220 this transaction = 323072 bytes wapbl_cache_sync: 1: dev 0x120c 0.253761121 wapbl_cache_sync: 2: dev 0x120c 0.022943043 /home 323072 bytes 0.719 secs 0.449 MB/sec wapbl_flush: 1379547417.023140298 this transaction = 136192 bytes wapbl_cache_sync: 1: dev 0x1208 0.239226048 wapbl_cache_sync: 2: dev 0x1208 0.058130346 / 136192 bytes 0.480 secs 0.283 MB/sec wapbl_flush: 1379547420.514618291 this transaction = 338944 bytes wapbl_cache_sync: 1: dev 0x120c 0.207321357 wapbl_cache_sync: 2: dev 0x120c 0.022987705 /home 338944 bytes 0.563 secs 0.602 MB/sec Running my stress test, which drives load to insane values: wapbl_flush: 1379547625.571507421 this transaction = 373760 bytes wapbl_cache_sync: 1: dev 0x120c 0.099539954 wapbl_cache_sync: 2: dev 0x120c 0.009327683 /home 373760 bytes 0.132 secs 2.831 MB/sec wapbl_flush: 1379547625.741582309 this transaction = 341504 bytes wapbl_cache_sync: 1: dev 0x120c 0.136495561 wapbl_cache_sync: 2: dev 0x120c 0.009992682 /home 341504 bytes 0.168 secs 2.032 MB/sec wapbl_flush: 1379547625.921656139 this transaction = 273408 bytes wapbl_cache_sync: 1: dev 0x120c 0.147418701 wapbl_cache_sync: 2: dev 0x120c 0.010158968 /home 273408 bytes 0.178 secs 1.536 MB/sec wapbl_flush: 1379547626.111737705 this transaction = 375808 bytes wapbl_cache_sync: 1: dev 0x120c 0.116060286 wapbl_cache_sync: 2: dev 0x120c 0.006006430 /home 375808 bytes 0.159 secs 2.363 MB/sec -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz [email protected]
