Durable messages will be everytime (much) slower to process than transient, as disk I/O operations are much slower than keeping the message just in memory.
I would rather attempt to improve general I/O performance of the filesystem/disk you use for journals. I.e. older versions of ext4 filesystems provided poor performance for direct AIO unaligned operations the store module performs. (newer versions should be fine, afaik). Apart from that, on qpidd level, you can try tuning one broker option: --wcache-page-size N (32) Size of the pages in the write page cache in KiB. Allowable values - powers of 2: 1, 2, 4, ... , 128. Lower values decrease latency at the expense of throughput. Kind regards, Pavel ----- Original Message ----- > From: "smartdog" <jwjjj1...@gmail.com> > To: users@qpid.apache.org > Sent: Tuesday, June 17, 2014 11:35:22 PM > Subject: Re: Why performance of sending durable messages to qpid queue is > really bad? > > It is the qpid c++ broker. The BDB store is used. Is there a way to improve > the performance while preserving the persistence? > > qpidd.conf > data-dir=/var/spool/qpid > mgmt-enable=yes > load-module=/usr/local/phonefactor/bin/legacystore.so > load-module=/usr/local/phonefactor/bin/qpid/store/store.so > > From logs: > [Store] info > Default files per journal: 8 > [Store] info > Default journal file size: 24 (wpgs) > [Store] info > Default write cache page size: 32 (KiB) > [Store] info > Default number of write cache pages: 32 > [Store] info > TPL files per journal: 8 > [Store] info > TPL journal file size: 24 (wpgs) > [Store] info > TPL write cache page size: 4 (KiB) > [Store] info > TPL number of write cache pages: 64 > > > > > > > -- > View this message in context: > http://qpid.2158936.n2.nabble.com/Why-performance-of-sending-durable-messages-to-qpid-queue-is-really-bad-tp7609368p7609374.html > Sent from the Apache Qpid users mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org > For additional commands, e-mail: users-h...@qpid.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@qpid.apache.org For additional commands, e-mail: users-h...@qpid.apache.org