Subject: Re: bufq: readprio vs priocscan dbench results
To: None <tech-kern@netbsd.org>
From: Juan RP <juan@xtrarom.org>
List: tech-kern
Date: 10/11/2005 10:26:17
On Mon, 10 Oct 2005 13:15:08 +0200
Juan RP <juan@xtrarom.org> wrote:

> 
> Hi,
> 
> I've been running dbench to benchmark our current bufq
> strategies and here are the results:

More results, this time with softdep enabled/disabled:

DEFAULT VALUES
==============

softdep disabled: 

priocscan: Throughput 17.6074 MB/sec 45 procs
readprio: Throughput 12.6694 MB/sec 45 procs
disksort: Throughput 10.6391 MB/sec 45 procs
fcfs: Throughput 9.65181 MB/sec 45 procs

softdep enabled:

priocscan: Throughput 41.394 MB/sec 45 procs
readprio: Throughput 37.881 MB/sec 45 procs

MODIFYING BUFFER QUEUE STRATEGY VALUES
======================================

priocscan
--------------

priocscan_burst[] = { 1024, 128, 16 };

softdep disabled: Throughput 27.7054 MB/sec 45 procs
softdep enabled: Throughput 42.0418 MB/sec 45 procs

priocscan_burst[] = { 1024, 256, 8 };

softdep disabled: Throughput 28.8652 MB/sec 45 procs
softdep enabled: Throughput 41.6657 MB/sec 45 procs

priocscan_burst[] = { 512, 64, 16 }; 

softdep disabled: Throughput 28.7396 MB/sec 45 procs
softdep enabled: Throughput 42.6492 MB/sec 45 procs

priocscan_burst[] = { 256, 128, 64 };

softdep disabled: Throughput 23.4687 MB/sec 45 procs
softdep enabled: Throughput 41.5332 MB/sec 45 procs

priocscan_burst[] = { 8, 256, 1024 };

softdep disabled: Throughput 15.7752 MB/sec 45 procs
softdep enabled: Throughput 37.9499 MB/sec 45 procs

priocscan_burst[] = { 4, 16, 64 };

softdep disabled: Throughput 13.7372 MB/sec 45 procs
softdep enabled: Throughput 38.7421 MB/sec 45 procs

priocscan_burst[] = { 512, 128, 32 };

softdep disabled: Throughput 27.5453 MB/sec 45 procs
softdep enabled: Throughput 43.3854 MB/sec 45 procs

readprio
------------

PRIO_READ_BURST 96
PRIO_WRITE_REQ  32

softdep disabled: Throughput 17.8292 MB/sec 45 procs
softdep enabled: Throughput 38.6031 MB/sec 45 procs

PRIO_READ_BURST 128
PRIO_WRITE_REQ  8

softdep disabled: Throughput 17.5328 MB/sec 45 procs
softdep enabled: Throughput 43.1017 MB/sec 45 procs

PRIO_READ_BURST 16
PRIO_WRITE_REQ  32

softdep disabled: Throughput 17.1995 MB/sec 45 procs
softdep enabled: Throughput 40.3187 MB/sec 45 procs

PRIO_READ_BURST 64
PRIO_WRITE_REQ  64

softdep disabled: Throughput 16.6528 MB/sec 45 procs
softdep enabled: Throughput 42.9541 MB/sec 45 procs

PRIO_READ_BURST 128
PRIO_WRITE_REQ  16

softdep disabled: Throughput 17.7309 MB/sec 45 procs
softdep enabled: Throughput 46.3109 MB/sec 45 procs

---

PRIO_READ_BURST 128 shows the maximum Throughput 
in all tests with softdep enabled.

priocscan_burst[] = { 512, 128, 32 } are the best values
for BUFQ_PRIOCSCAN with softdep enabled/disabled.